This discussion is archived
7 Replies Latest reply: May 31, 2011 12:37 PM by 865713 RSS

ADB development DTT STB Model 2G5C

843851 Newbie
Currently Being Moderated
Hi all,
i'm newbe of this forum then...HELLO ALL.
I've a question about an old model of ADB Set-Top-Box (Model: 2G5C) with DVB-T module. I don't find the technical manual and i want:

1. Update the MHP stack (now it has v. 1.0.2)
2. Upload an MHP application.

Now i can use RS232 only for debug the start-up of the STB.

About the second point....can use a TFTP client for upload an application?

Best Regards
  • 1. Re: ADB development DTT STB Model 2G5C
    843851 Newbie
    Currently Being Moderated
    hi,

    i believe you should find everything here if you are entitled for support and have an account:

    https://store.adbglobal.com/index.php?cPath=2_5

    i really don't believe anyway there's a MHP 1.1.x upgrade for that box.

    on the support web site you should also find the software for uploading MHP apps through the serial port. i believe no one outside ADB is entitled to distribute them.

    BTW i've heard that actually the MHP 1.1.x stack is present only on some friendly Strong SRT5510. maybe you can give a look there..

    bye

    Andrea
  • 2. Re: ADB development DTT STB Model 2G5C
    843851 Newbie
    Currently Being Moderated
    OK i've solved!

    The ADB site is practically useless. I don't find anything, nothing about manuals, nothing about openSource software installed on ADB decoders, nothing al all.
    However i've found all informations, manuals, explanation about tools and tool for use the proprety af ADB set-top-boxes in another site location.

    - To upload Xlets on STB you can find on google: stbupload
    - To create the IP channel twards worstation and STB you can use: stpproxy or to configure STB: stbconfig

    Unfortunately all tools are only for windows OS.

    At the same location you can find manuals, instructions about software tools use, and something about MHP stack.

    Have fun.

    Best Regards
  • 3. Re: ADB development DTT STB Model 2G5C
    843851 Newbie
    Currently Being Moderated
    Hi all,
    about after my first tests on the "ADB STB Dev" with a simple Xlet, i've same messages on log, but i don't understand how read the STB logs.
    Below i explain all steps on how to load an Xlet into ADB STB;

    1. I've run on my windows workstation "stbproxy.exe" with these paramenters: stbproxy.exe -com 1 -log c:\stb.log
    2. Now i've a local proxy server that it listen on tcp port 4444 and forward my traffic on RS232 of my workstation linked to RS232 of my DEV STB;
    3. I've create a simple XLet application (Testzor.jar) and the corrispective Xlet description file (see below):
    #
    # Comments must start with '#' sign
    # Empty lines are ignored
    # Parameter names must start at column 0.
    # 
    #
    
    #The beggining of xlet description
    #app <Application ID> <Organisation ID> - MANDATORY
    app        0x1 0x1
    
    #Name of application preceded by language code
    name       eng "Testzor"
    
    #Parameter of service on which the application should be visible to application manager
    #tsid       0x7
    #onid       0x46
    #svid       0x2bd
    
    #Application control flag: 1=autostart 2=present 3=destroy 4=kill    MANDATORY
    control    2
    
    #service bound flag (0 or 1)    MANDATORY
    bound      0
    
    #other flags
    priority   1
    visibility 2
    
    #Basedir of application (must be relative to /home directory)   MANDATORY
    basedir    "/"
    
    #Classpath extension
    classpath  ""
    
    #Initial class name (fully qualified name)  MANDATORY
    class      "Test"
    4. I've run the uploader tool "stbupload" whit these parameters: stbupload localhost:4444 c:\App\xlets_descr_file.txt c:\App\Xlets
    Below the tool logs:
    uploading files (408101 bytes total):
    ... /home/Testzor.jar
    uploading xlets description...
    5. Now on my STB (Debug mode) i see these messages, but on the list of "Off Air Applications" i don't see my application. Below the debug log:
    [mcu_code 247] [key code 10]
    [1] isExclusiveEventAWT = false
    AUDIO SPDIF ENABLEDVbiTtxt: start ITA page 100
    APPMAN: new service: tsid:0x3 onid:0x13e svid:0xce5 APP
    APPMAN: ait#-1 change: tsid:0x3 onid:0x13e svid:0xce5
    APP: 0x1:0x1 DVBJ (local)
         name: eng Testzor
         ctrl:2 (present)  bound:0  priority:1  visibility:2
         prot_id:0 prot_label:0  tsid:0xffffffff onid:0xffffffff svid:0xffffffff  ctag:0
         basedir: "/"
         cls_ext: ""
         cls_ini: "Test"
         no profiles signalled?
         icon: 0x0000 ""
         no params.
    KEY RELEASED 1, RCUID = 0
    [mcu_code 247] [key code 10]
    
    Demod status = LOCK OK
    [1] Internal: add_service_details_change_listener
    [1] Internal: remove_service_component_change_listener
    [1] Internal: add_service_component_change_listener
    [1] generic.gz[,150,148,420x280,hidden].makeEnabled(true)
    [1] isExclusiveEventAWT = false
    KEY RELEASED 0, RCUID = 0
    [mcu_code 247] [key code 10]
    [1] isExclusiveEventAWT = false
    [1] generic.gz[,150,148,420x280,hidden].makeEnabled(false)
    VbiTtxt: stop
    [1] Internal: add_service_details_change_listener
    APPMAN: terminating "Testzor"... wasn't running.
    [task_10:RCU dis 55AA\still.c 2135] MPEGI_StillPictureDecodeToStill  x_offset=0  y_offset=0
    KEY RELEASED 1, RCUID = 0
    [mcu_code 247] [key code 10]
    [1] isExclusiveEventAWT = false
    GC lock
    GC unlock
    AUDIO SPDIF ENABLEDVbiTtxt: start ITA page 100
    APPMAN: new service: tsid:0x3 onid:0x13e svid:0xce5 APP
    APPMAN: ait#-1 change: tsid:0x3 onid:0x13e svid:0xce5
    APP: 0x1:0x1 DVBJ (local)
         name: eng Testzor
         ctrl:2 (present)  bound:0  priority:1  visibility:2
         prot_id:0 prot_label:0  tsid:0xffffffff onid:0xffffffff svid:0xffffffff  ctag:0
         basedir: "/"
         cls_ext: ""
         cls_ini: "Test"
         no profiles signalled?
         icon: 0x0000 ""
         no params.
    [1] Internal: add_service_details_change_listener
    
    Demod status = LOCK OK
    [1] Internal: remove_service_component_change_listener
    [1] Internal: add_service_component_change_listener
    [1] generic.gz[,150,148,420x280,hidden].makeEnabled(true)
    Where is my error?
    On Xlet descriptor file? A bad configuration of STB?

    Best Regards
  • 4. Re: ADB development DTT STB Model 2G5C
    843851 Newbie
    Currently Being Moderated
    You have to put the path to the Xlet class in the descriptor file:

    class "org.+yourCompany.workspacename.projectname.MainXletClassName+"

    Regards,
    Aitor Peña

    Edited by: apenz on Jul 2, 2009 8:45 AM

    Edited by: apenz on Jul 2, 2009 10:43 AM
  • 5. Re: ADB development DTT STB Model 2G5C
    843851 Newbie
    Currently Being Moderated
    OK apenz ,
    i've change my sample application. Below the code:
    package org.acotel;
    
    import javax.tv.xlet.Xlet;
    import javax.tv.xlet.XletContext;
    import javax.tv.xlet.XletStateChangeException;
    
    public class Acotest implements Xlet{
    
        private XletContext context;
    
        public Acotest() {
        }
    
        public void initXlet(XletContext xletContext) throws XletStateChangeException {
            context = xletContext;
            System.out.println("Dentro initXlet");
        }
    
        public void startXlet() throws XletStateChangeException {
            System.out.println("Dentro startXlet");
        }
    
        public void pauseXlet() {
            System.out.println("Dentro pauseXlet");
        }
    
        public void destroyXlet(boolean flag) throws XletStateChangeException {
            System.out.println("Dentro destroyXlet");
            context.notifyDestroyed();
        }
    }
    ....and below instead my Xlet description file (.txt):
    #
    # Comments must start with '#' sign
    # Empty lines are ignored
    # Parameter names must start at column 0.
    # 
    #
    
    #The beggining of xlet description
    #app <Application ID> <Organisation ID> - MANDATORY
    app        0x41 0x41
    
    #Name of application preceded by language code
    name       eng "Test"
    
    
    #Parameter of service on which the application should be visible to application manager
    #tsid       0x7
    #onid       0x46
    #svid       0x2bd
    
    
    #Application control flag: 1=autostart 2=present 3=destroy 4=kill    MANDATORY
    control    1
    
    #service bound flag (0 or 1)    MANDATORY
    bound      0
    
    #other flags
    priority   1
    visibility 4
    
    #Basedir of application (must be relative to /home directory)   MANDATORY
    basedir    "/"
    
    #Classpath extension
    classpath  ""
    
    #Initial class name (fully qualified name)  MANDATORY
    class      "org.acotel.Acotest"
    Now i've this error on terminal debug from ADB STB:
    APPMAN: new service: tsid:0x3 onid:0x13e svid:0xce5 APP
    APPMAN: ait#-1 change: tsid:0x3 onid:0x13e svid:0xce5
    APP: 0x31:0x31 DVBJ (local)
         name: eng Test
         ctrl:1 (autostart)  bound:0  priority:1  visibility:4
         prot_id:0 prot_label:0  tsid:0xffffffff onid:0xffffffff svid:0xffffffff  ctag:0
         basedir: "/"
         cls_ext: ""
         cls_ini: "org.acotel.Acotest"
         no profiles signalled?
         icon: 0x0000 ""
         no params.
    APPMAN: autostarting "Test"...
    Demod status = LOCK OK
    ok.
    [1] Internal: add_service_details_change_listener
    [1] Internal: remove_service_component_change_listener
    [1] Internal: add_service_component_change_listener
    KEY RELEASED 1, RCUID = 0
    [mcu_code 247] [key code 10]
    [1] generic.gz[,150,148,420x280,hidden].makeEnabled(true)
    [1] isExclusiveEventAWT = false
    APPMAN: process 0#4 created (workdir: /)
    [0#4] XLET: loading...
    [0#4] FileClassLoader: Error reading file for class: org.acotel.Acotest
            [0#4:2] java.lang.ClassNotFoundException: Error reading file for class: org.acotel.Acotest
            [0#4:2]         at com.adb.java.lang.FileClassLoader.loadClass()
            [0#4:2]         at java.lang.ClassLoader.loadClass()
            [0#4:2]         at com.adb.AppManager$XletApp.xletLoad()
            [0#4:2]         at com.adb.AppManager$XletApp.run()
            [0#4:2]         at java.lang.Thread.run()
    Process_SetState() FAILED - pid=0x40000
    [1] removing registered SCC listeners for appID: 262144
    [1] removing registered SDC listeners for appID: 262144
    [1] restoreService(0#4)
    APPMAN: discarding "Test"
    [1] AWT cleaner for 40000 starts.
    I use java 1.4.2. Is is right?

    Regards
  • 6. Re: ADB development DTT STB Model 2G5C
    843851 Newbie
    Currently Being Moderated
    At first I have used jre6 with CDC 1.0/Foundation-1.0 execution enviroment as additional buil library but now I only use this jars.
    dom.jar
    havi_dvb_davic112-1.1.jar
    j2me_xml_ri.jar
    javatv10.jar
    jce.jar
    jsse-cd.jar
    pbp11.jar
    satsa10.jar

    According to the prints of your code I supose that you know spanish, hello from Donostia-San Sebastian! I recomend you a very usefull website of company of Catalunya for downloading MHP stub jars and for this topic tutorials. [http://www.code4tv.com/c/|http://www.code4tv.com/c/]

    The compiler I use is jdk with 1.3 compilance level.
  • 7. Re: ADB development DTT STB Model 2G5C
    865713 Newbie
    Currently Being Moderated
    Hi, thanx a lot for the kind reference to code4tv, just a small remark: the company is from Boadilla del Monte in Madrid.

    Regards
    Enrique