Dead Technomate TWIN OE - possible i2s (JTAG) pinouts

Discussion in 'Other satellite receivers.' started by goolash, Apr 15, 2020.

  1. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    Hello All,
    I think this forum is my last resort for seeking of help for the dead STB that I got.
    It is Technomate TM-Twin-OE and the problem is (what I hope) corrupted CFE. After powering up the receiver it constantly flashes "Starting".
    Botting sequence is going down very quickly and log from the RS232 looks like this:
    Code:
    BCM73350010
    012
    Shmoo Version=2.2
    
    MEMC-00000000 RW=0000000D WW=00000047 G=00000001 R=00000006 W=00000015 
    MEMC-00000001 RW=0000000F WW=00000044 G=00000001 R=00000007 W=00000002 #$
    3
    COPY CODE
    COMPARE CODE
    4567
    
    It is BCM97335 based machine so after figuring out how the booting sequence should look like I narrowed my search for corrupted CFE (or damaged CPU).
    There is actually software distributed by manufacture that you can use for some cfe corruption but in my case it will not work (as you can see from above section none of the hardware is actually initialized, STB stays dead).
    So from my understanding it can be either CPU failure or CFE corruption.
    Right now I'm trying to figure out where the i2c ports can be located on the main board. I actually find one place that can be what I'm after - but I'm not sure.

    for now I'm using LPT1 to I2c converet that is suposte to be nativly supportet by BBS3 (no drivers are required ) as I'm waiting for the USB device. I'm having trouble to connect to that board. So it might be to fact that my pins are not actual i2c pins. BBS3 is alwai in Not connected status.

    I'm uploading one photo with the place that I think might be the i2c signals. If necessery I can attach more detailed.

    Johny B. are you able to type the places where the signals can be spotted ?
     

    Attached Files:

    Johnny B. and toysoft like this.
  2. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    That seems indeed the jtag (i2c) pins, also because of the resistors to the Scl/Sda, and the Gnd side is often near the Sda side.
    Sometime it happens that the connection to it will fail.
    First thing you need always to check is that your cypress board is recognized in the hardware list as a broadcom test adapter.
    Note that you must install the Bbs software before you connect the Cypress board, because the drivers for it are in this software package.
    When that is done, you can try several things to get it connected to the bbs software.

    One is,
    Normal way,
    First connect the cypress board to the motherboard, use only the Scl/Sda/Gnd connections.
    The Scl/Sda vDc voltages are often 3.0 to 3.2v while the Vcc pin should be 3.3v which you not use because the cypress board already gets hit power from the usb.
    When connected, connect the usb cable, and switch the cypress board on.
    Start up the Bbs software, en when finished, choose the BCM97335, and switch on the box.
    When it's connected, then do the rest of the process.

    When not,
    Switch off/on the Cypress board and see if it will connect.

    When not,
    Close the Bbs software, and start it again up, leave the box and cypress board on.

    When not,
    On the cypress board there is a very small reset button, press it an see if it's want to connect.

    Still not...
    Most likely a hardware issue, could be the memory, or the cpu.

    Issue, cypress board not recognized into the hardware list while the bbs software were installed, it shows up as a unknown device, the cypress board is connected to the motherboard.
    Disconnect the usb cable of the cypress board, or turn it off, disconnect the scl/sda wires to the motherboard.
    Switch the cypress board on with the usb cable connected and see if it will be recognized.
    Leave it as it is, and connect the scl/sda wires to the motherboard, and start up the bbs software, switch on the box etc.

    LPT thing..
    What to do with it is unknown to me.
    Better easiest way is to use a Cypress board.
     
    Aliraza63, goolash and toysoft like this.
  3. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    OK , thank you for quick reply I'm waiting for my Cypress board patiently than.
    I'm also wondering - on board there is flash spansion S29GL064n, but this memory is not supported by BBS3 (there are other from this series - S29GL064 but not N), could that be the reason why STB is not connecting to BBS3 ?
     
  4. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    No, the nand flash scripts, even when it's not into the bbs listing can not be the cause that the cypress board not make a connection to the receiver.
    It's just a communication between the bbs software, and the choice of the correct cpu package for these cpu, and a working, and good connected cypress board to the motherboard/computer to make a connection.

    For programming/connecting to the nand flash chip it just needs the connecting, and the correct flash script to access the nand flash chip.
    Also, I do not think that the flash script S29GL064 versus S29GL064n make any differences to use for a connection to the nand chip, but of course I cannot be sure without seeing both datasheets from it.

    What's possible is that the jtag(i2c) port only can reach the Hynix nand flash chip instead of the spansion chip, therefore if it failed to connect to the spansion chip while you have the box connected into the bbs software, see what happens if you connect to the hynix chip.

    Further, since I'm not familiar with this box, I do not know why it has two nand flash chips, and which is used/needed to startup the box.
     
    raza05 likes this.
  5. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    I think two nands are for dualboot. I have assumed spansion is the "primary" one and from there it gets decided what system will be loaded but it is just assumption, so I'm not really sure.
    From my understanding first thing to be done is to establish communication between bbs3 and stb. In my case no matter what I do it is always "disconnected". Once the connection is there I can start to reach one of those two chips. I think I've tried all of the option with my LPT1 converter. I also checked about 100 times if my converter is OK, so probably I got either hardware issue on board or LPT is not as straight forward as it was described here :)

    ..hmm if the flash it self can be a issue ? I had somwhere one nand chip i might try to swap the chip, howewer I'm not sure if that do anythig. I think flash chip issue are quite unusual ? I dont know :/
     
    Aliraza63 and Johnny B. like this.
  6. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    Yeah well, I can not say that it should work with the LPT method because normally it's done with the cypress board method which is a I2C data communication, and I may assume that the LPT way is another type of communication.
    But maybe, just out of curiosity I will build these interface on the Saturday to see if it's works with the bbs, nevertheless buying the cypress board will probably be cheaper than to build one.

    And yes, a nand flash chip can become defective, as to many bad sectors, or even create a short circuit.
    I've experienced allot of ways why a nand flash chip failed, even an internal interruption to one of the i/o ports.

    But, I think, just wait until you have the cypress board before thinking of other causes why it not works.
     
    raza05 likes this.
  7. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    well in theory LPT1 should be equal to Cypress as both devices reading SCL/SDA from board.
    Parts for bulding LPT1 converter are actually dirt cheap but on the other hand so is Cypress board.
    For now I put my dead STB back to box and wait for my Cypress arrive (probably in 4 weeks or so)
    Once is there I'll make an update :)
     
    Johnny B. and toysoft like this.
  8. raza05

    raza05 Active Member

    Messages:
    138
    Likes Received:
    217
    Trophy Points:
    43
    Gender:
    Male
    Sorry to enter in discussion I made myself one LPT I2c adapter with 74LS05 but it was designed only to program Laptop batteries .. I am unable to find any other software/program which could able to detect & run this adapter there was some Russian guy made a programming software for 74LS05 by the name "postal2" but it only re-flash 24Cxxx series
     

    Attached Files:

    • i2c.jpg
      i2c.jpg
      File size:
      97.1 KB
      Views:
      387
    Aliraza63, goolash and Johnny B. like this.
  9. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    @raza05
    It would be nice if it were useful with the bbs software, which you may assume it should, but since I could not find the LS chip for it, I have not (yet) build it.
    Nice/clean design btway.
     
    Aliraza63 and raza05 like this.
  10. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    correct same programmer might be use for re flashing battery firmware.
    In BBS3, by default, communication port is set to LPT1 so in theory it should work (maybe some additional port settings needs to be changed??) There are also some user reports that LPT1 and BBS3 indeed cooperating. I found this PDF that also confirm LPT1 can be used under BBS3, so there are some information but still very little.
    Like I mentioned I'm waiting for the USB device to arrive once is here I'll be suere if my STB is dead or might be resurected.
     

    Attached Files:

    Aliraza63 and Johnny B. like this.
  11. raza05

    raza05 Active Member

    Messages:
    138
    Likes Received:
    217
    Trophy Points:
    43
    Gender:
    Male
    yeah I ll try & I ll let you know ..
     
    goolash and Johnny B. like this.
  12. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    after long time waiting I finaly got my cypress board. Unortunatly no luck with connecting. Device is discovered as Broadcom Test Adapter but no matter what I do it is always stays disconnected in BBS3.
    Most likely I got either hardware issue or the pins are not jtag pins (or both :))
    I just noticed nine Cypress is a little bit different it got two jumpers (like on the attached photo), any experience with that board ?
     

    Attached Files:

  13. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    Jumpers question, I think as also I normally do, is to leave the board jumpers just the way they are.

    The board with two jumpers was used to test the FX2LP logic analyzer.
    J1 is to connect or disconnect two LEDs from Vcc; these LEDs are connected to D0 and D1.
    J2 controls the high address bit of EEPROM making it appear at I2C address 0x51 depending on the jumper.
    More about it see here..

    Question about not connecting..
    That it recognize it as the broadcom test adapter is correct and should be stay in the hardware list when the Scl/Sda and ground are connected.
    When it's wrong connected with the Scl/Sda or some sort of issues with these connection, than the broadcom test adapter in the hardware list may disappear, or get some error notice to it.
    Therefore it could be handy to also keep the hardware list on screen to see if it stays recognized.
     
    raza05 likes this.
  14. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    ..hmm not sure if I got this part right:
    In my case, whenever I plug either SDA or SCL,before I plug the USB board, Broadcom adapter vanish from the hardware list and change it status as UNKNOWN DEVICE
    I assumed this is to be expected as this behaviour is described in one of the PDF's in BBS3 (Dongle instalation instruction). It says:
    Make sure the i2c pins is not connected to anything when you plug in the dongle to the PC.

    This is my routine :
    1. Plug the the cypress bord (board is always ON) device gets recognizes in Win XP as Broadcom Test Adapter
    2. Plug SDA/SCL/GND wires to STB(STB is OFF, in PC device stays as Broadcom Test Adapter).
    3. Start BBS3 and wait till it ready
    4. Power ON the STB.
    5. Go to BCM97335

    I tried to swap points 3 and 4 but with no success.

    Should I ignore what was written in the manual and try to wire all the signals befor plugin the USB board ?

    And one more question does BBS3 shows the connection status live ? I mean can I just start the Program and search for alternative JTAGs, so once I find the right spot, status in bbs3will change (to beatifull to be true :))?
     
  15. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    Normally is the SDA pin always next to the Ground pin, thus normally it's not so a difficult job to connect it.
    When it's not connect, or disappear in the hardware list then you could try to reset the cypress board, see the white push button.
    It often also disappears when the box is switched On, try again the reset button on the cypress board.
    Leave the Bbs software standby on the correct cpu drivers to see if it connects.
     
    raza05 likes this.
  16. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    right, so all the signals needs to be wired before plug in the USB board ?
     
  17. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    Indeed,
    Startup the Bbs software, choose the cpu script.
    Connect the cypress board Scl/Sda/Gnd to the motherboard.
    Turn on the receiver.
    Plug the cypress board to the usb port (powering).
    You should see connect.

    If not..
    Startup the Bbs software, choose the cpu script.
    Connect the cypress board Scl/Sda/Gnd to the motherboard.
    Plug the cypress board to the usb port (powering).
    Turn on the receiver.
    You should see connect.

    If not..
    Startup the Bbs software, choose the cpu script.
    Connect the cypress board Scl/Sda/Gnd to the motherboard.
    Plug the cypress board to the usb port (powering).
    Turn on the receiver.
    Press the reset button on the cypress board.
    You should see connect.

    Just to see if the connection keeps working, check it with the hardware overview, check if the Broadcom Test Adapter not disappear in the hardware list.
    Otherwise it can not make a connection to the bbs software.
     
    raza05 likes this.
  18. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    Johnny B. thank you very much for your valuable support, my STB must be dead, none of above brought anything.

    While I was trying different configurations I figured out the pins must be right ones - if I change the pins to anything else, Broadcom test adapter gets immediately recognize in PC (but no connection over BBS3). Looks like configuration from my first post causes the board not to be recognize - so probably this must be "the spot". I know it is a dodgy proof, but still I think it make sense :).

    anyway I don’t think there’s much I can do, I was thinking to change the flash as I got spare HYNIX lying around, maybe I’ll try one day.


    … oh one thing. Actually I didn’t noticed eriler but CPU gets hot ,like it was doing something (not too hot, but very warm). Is that normal ? Can this indicate CPU failure ?
     
  19. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    When a cpu becomes very hot in a short time than it could mean it has a to low voltage delivery, often related to the 3.3 or 5v which could be caused due the cpu (shorted) or a bad dc to dc chip
    Other thing it could be because it's overloaded/stressed due bad software.

    But since you do not get any rs232 data output, and or other connection to the cpu, it's possible that it's caused due the cpu, probably defective or when the voltages are fine, it could be some bad connection to the board.
    In that case a re-balling or re-flow job may help but that's always difficult to determine, and also risky.
     
    raza05 likes this.
  20. goolash

    goolash New Member

    Messages:
    10
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    ok .. so, after over a year (yeay!!) the story got its own happy ending after all.

    as I mentioned before I could not connect the STB via the JTAG pinouts .. but I got a flash/nand programmer and after de-soldering both chips I was able to tell wat was wrong with that STB.

    First of all spansion S29GL064n chip is 8MB flash chip and place where CFE is stored, HY27UF082G2B is 270MB NAND and it stores the actual Enigma2.

    As suspected CFE data was corrupted. I had to flash the right CFE and that was it ( Data came from the CFE file, but the header need to be dropped first).

    I give the JTAG another try while CFE was in place .. but no luck again.

    Anyway it should be enough to desolder only the Spansion chip and flash the CFE. Once that is in place you can program nand using standard STB procedure. Don’t forget to program the MAC address of the network card again ( I leave the program in attachment for that). Flashing new cfe will always erase MAC adress.

    Oh, one more thing, not sure if that will be useful info but I found out that the receiver IQON IOS 100 is the exact clone of Technomate TM-TWIN-OE (or other way around)
     

    Attached Files:

    Johnny B. likes this.