| Files | Size | Format | View |
|---|---|---|---|
|
There are no files associated with this item. |
|||
| URN: | http://URN.fi/URN:NBN:fi:tty-200907106445 |
| Title: | Implementing SCSI-based CD applications for STB |
| Author: | Uola, Juha |
| Publication type: | Diplomityö |
| Issue date: | 1997-04-16 |
| University: | Tampereen teknillinen korkeakoulu |
| Faculty: | Tietotekniikan osasto |
| Department: | Tietoliikennetekniikan laitos |
| Abstract: |
AB3:Työn tarkoituksena oli toteuttaa Mediamasteriin tuki erilaisille SCSI-pohjaisille sovelluksille OpenTV-ympäristössä. Työ oli osa OpenTV-projektia, jossa Mediamasteriin liitettiin Thomson Sun Interactiven OpenTV-sovellusohjelmarajapinta. Koko projektin onnistuminen vaati useiden vanhojen ohjelmamoduulien kirjoittamista kokonaan uudelleen ja uusien moduulien lisäämistä. Lisäksi Mediamasterissa käytettävän Irdeton CAsalausmoduulin ja siihen liittyvän datakäsittelijän ohjelmakoodi saatiin Irdetolta, joten aikaisemmat vanhat ohjelmamoduulit oli korvattava näillä.- Koska nykyisessä OpenTV-sovellusohjelmarajapinnassa ei ollut tukea SCSI-pohjaisille sovelluksille, piti työssä toteuttaa ohjelmistorajapinta, joka tukee AudioCD-, PhotoCD- ja VideoCD-sovelluksia. Rajapinnan tuli liittyä saumattomasti olemassaolevaan OpenTV-sovellusohjelmarajapintaan ja mahdollistaa SCSI-sovellusten toiminta joustavaan tapaan. Tämän lisäksi tuli toteuttaa tuki VideoCD:n käytölle tehdastestauksessa.- Tavoitteiden toteuttaminen vaati ohjelmointityötä sulautetussa reaaliaikajärjestelmässä. Käytännössä ohjelmointi suoritettiin käyttäen C-kieltä ja ristikääntäjää Motorolan 68K-prosessorille. Käännetty ja linkitetty ohjelmakoodi ladattiin sitten kehitysympäristöstä Mediamasterin muistiin käyttäen erityisiä tähän tarkoitukseen suunniteltuja laitteita ja ohjelmistotyökaluja. Olennainen osa kehitystyötä oli myös ohjelman tarkkailu ja virheiden etsintä ohjelman suorituksen aikana, koska kyseessä oli vaikeasti ennustettavissa oleva reaaliaikainen moniajoympäristö. Hieman alemman tason ohjelmoinnista eroavaa kehitystyötä oli tehtävä toteutettaessa varsinaista OpenTV-sovellusta. - Tässä työssä toteutettu sovellus oli graafinen käyttöliittymä VideoCD:lle ja se toteutettiin käyttäen Thomson Sun Interactiven ohjelmistotyökaluja. VideoCD-sovellus laadittiin siten, että sen avulla oli mahdollista verifioida VideoCD:n OpenTV-sovellusohjelmarajapinnan oikea toiminta. Käytännössä sovellus linkitettiin osaksi muuta OpenTV-ohjelmistoa ja ladattiin normaalisti Mediamasteriin, kun se ensin oli onnistuneesti käännetty omassa kehitysympäristössään. The completion of a European Digital Video Broadcasting (DVB) standard offered a chance for digital television technology to advance. At first, digital technology was utilized in satellite transmission, because the benefits from digitizing are greater with satellite transmission than in cable networks. In 1996, MultiChoice started broadcasting digital television on 17 channels in Europe. In addition to digital TV channels, several CD-quality radio channels are also available. In the near future it will also be possible to utilize 'NearVideo-On-Demand' (NVOD), in which the same movie is started at half-hour intervals on different channels, thus offering the viewer a flexible way to see the film.- To receive digital transmissions, an analog TV receiver requires a so-called set-top box (STB) to decode the MPEG-2 transport stream. In addition to MPEG-2 decoding, STBs are capable of various other tasks depending on the internal structure and external interfaces of the box. The receiver that was used in this thesis was Nokia's Mediamaster 9500 S, which is a fully DVB compliant STB. It can also be used along with a CD drive, HiFi-set, video cassette recorder, or computer.- The goal of this thesis was to implement support for VideoCD, PhotoCD, and AudioCD applications in the OpenTV environment. Because OpenTV had no support for SCSI based applications, it was necessary to implement an additional OpenTV application interface. With this interface it is now possible for OpenTV applications to control the CD drive using similar commands as those used with the normal OpenTV API. In addition, support for using VideoCD in factory testing was implemented.- The work required programming code for embedded real-time environment. The programming was done using C language and a cross compiler for a Motorola 68K processor. Specialized hardware and software was then used for loading the code from the development environment into the Mediamaster memory. An essential part of the development process was also monitoring and debugging the code during the program execution due to the unpredictable behaviour of the real-time multitasking running environment. Somewhat different task from the low-level software development was generating an o-code application for OpenTV. Constructed application was a graphical user interface for VideoCD and it was implemented using software tools provided by Thomson Sun Interactive. The VideoCD application was constructed so that correct operation of the implemented VideoCD OpenTV API could be verified. After the application was succesfully compiled, it was linked to the platform and loaded into Mediamaster with the other parts of the code. Thus completing of this work required also some knowledge of OpenTV application programming and development. |