VU+ Duo2 JTAG / I2C

Discussion in 'VuPlus Duo2 Hardware troubles and Repair support' started by Hade, Sep 5, 2020.

  1. Aliraza63

    Aliraza63 Active Member

    Messages:
    107
    Likes Received:
    188
    Trophy Points:
    43
    Gender:
    Male
    Because it has not a single 1gb flash . If I am not getting wrong u r must be using windows 8.1 or 10 & have not installed vm manager as well . any way dont interrupt it and let it complete
     
    Johnny B. likes this.
  2. slcopy

    slcopy New Member

    Messages:
    5
    Likes Received:
    4
    Trophy Points:
    3
    Gender:
    Male
    https://picua.org/image/coxFb4

    I can't flash the bootloader either. Once I managed to flash the bootloader and that's it. Then I tried to flash it via USB - it is not flashed. Is my flash not working? I use WINDOWS 7, I tried it on WINDOWS XP too. Maybe a broken XML file? I used several options from the forum.
     
    Last edited: Dec 17, 2020
  3. Aliraza63

    Aliraza63 Active Member

    Messages:
    107
    Likes Received:
    188
    Trophy Points:
    43
    Gender:
    Male
    Why it should work ?
    When u have selected the cfe_auto _bin usb file( as i see in picture) . which is not generated to jtag the box. u r re programming the flash . u need Nand flash backup
    Why u dont look at this great post by Johnny
    Code:
    https://jb8a8f8.com/support/index.php?threads/vu-duo2-k9k8g08u0e-backup-files.519/
     
    raza05 and Johnny B. like this.
  4. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,547
    Likes Received:
    1,316
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    I will test this vuplus duo2 jtag option this weekend to see/check if it all works as it should be.
     
  5. slcopy

    slcopy New Member

    Messages:
    5
    Likes Received:
    4
    Trophy Points:
    3
    Gender:
    Male
    The problem is not that the wrong file was written. The problem is I can't write or read flash memory at all. I saw and downloaded the dump. We are waiting for a response from the distinguished JB. My SAMSUNG K9K8G08U0D.xml variant:
     
  6. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,547
    Likes Received:
    1,316
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    Indeed, just wait until I have tested the whole jtag/i2c process to check if it all works correctly.
    In my case it's not so difficult because I have my duo2 equipped with a nand flash chip socket, thus i'm be able to easy remove the chip, and to test it with new, empty one's.
     
    Aliraza63 likes this.
  7. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,547
    Likes Received:
    1,316
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    I've tested the jtag/i2c but there are some issues with it which I right now not be able to figure it out.

    bbssnap-2.jpg

    It is connecting with the Bcm97425, as also it is be able to connect and flash a file to the nand chip and complete it.
    But it seems to write it to the wrong sectors, or the cfe file (Duo2_CFE_V2) can not be used.
    I think that the bbs Samsung K9K8G08UOD.xml file setting are still incorrect, and therefore it upload the data to the wrong sectors/blocks.
    In any case, it needs more time to figure it all out, but I have it quite buzzy these weeks, therefore it may take some time before I'm be able to find it out.
     
    Aliraza63 and toysoft like this.
  8. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,547
    Likes Received:
    1,316
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    @slcopy
    To come back to your nand chip issue,
    The starting offset is in bad block, The operation has been terminated.

    This could mean that the nand flash chip has some issues and needs to be replaced.
    Or it's wrong programmed due a incorrect xml script.
    When it's caused due a incorrect xml script settings then it may be fixed by erasing the chip, sometimes several times.

    When not succeeded, then the only option is to remove the chip, and to replace it.
    Or is some cases the chip can still work after it has been erased with a nand flash chip programmer, but for that, it still needs to be removed.
    Some more info about this issue you can read here.

    In any case, doing the jtag method it still not usable/advisable because of the incorrect xml script settings, and unclear if the regular cfe file is enough to repair the boot of the box by using it with the jtag method.
     
    Aliraza63, raza05 and toysoft like this.
  9. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,547
    Likes Received:
    1,316
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    Well, I have worked on it this whole day to figure it all out, and with the result that I have been succeeded to solve it as also tested several times to see if it's correct as you can see on this picture snaps.

    Cypress board Jtag(I2c) connection,
    I2c Board connection.jpg

    Bbs nand chip etc connected view,
    DOU2-JTAG-K92G08U0C-BBS.jpg

    Uploading the Duo2_CFE_V2 cfe file to the nand chip,
    DOU2-JTAG-K92G08U0C-BBS-1.jpg

    Uploading done,
    DOU2-JTAG-K92G08U0C-BBS-2.jpg

    When disconnect, or switching off the cypress board, and switching off/on the box I get this,
    DOU2-JTAG-K92G08U0C-BBS-3a.jpg

    And when adding a usb stick with a new image file and switching the box off/on it reads/flashes the box,
    DOU2-JTAG-K92G08U0C-BBS-3.jpg

    After it has been finished, it's done..
    DOU2-JTAG-K92G08U0C-BBS-4.jpg

    The working/correct bbs script for the Samsung K9K8G08UOD is,
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <Flash maker="Samsung" name="Samsung K9K8G08U0D" type="NAND" technology="SLC">
      <Command type="Nand" programmode="Block" maxbyte="2048"/>
      <ID>
       <Maker maxbyte="1" offset="0x00">0xEC</Maker>
       <Device maxbyte="1">
         <DevId offset="0x01">0xD3</DevId>
       </Device>
      </ID>
      <Size unit="gbit">4</Size>
      <Sector uniform="true" secure="false">
       <MaxSector>4096</MaxSector>
       <Size unit="kbyte">128</Size>
      </Sector>
    </Flash>
    
    And the bbs software and cfe file for the Duo2 with the thanks to the member aliraza63 for sharing it, you can find/download here.
    And probably thanks to the member Ednaz for sharing the bbs software for these receiver to the community.

    It's fully tested several times with used/erased and new nand chips to see if it all works by this jtag method, and all without any problems.

    Of course, when you experience, The starting offset is in bad block, The operation has been terminated.
    You must first erase the chip, or replace it for a new one.

    In any case, there is finally now a way to do the jtag method to these receiver to un-brick it.
     
    Aliraza63, toysoft and raza05 like this.
  10. toysoft

    toysoft Well-Known Member Staff Member

    Messages:
    439
    Likes Received:
    541
    Trophy Points:
    93
    Gender:
    Male
    Location:
    Switzerland
    Home Page:
    Well done !!! Congrats,

    TS
     
    Johnny B. and Aliraza63 like this.
  11. Aliraza63

    Aliraza63 Active Member

    Messages:
    107
    Likes Received:
    188
    Trophy Points:
    43
    Gender:
    Male
    Great Man , Great Job
     
    Johnny B. likes this.
  12. slcopy

    slcopy New Member

    Messages:
    5
    Likes Received:
    4
    Trophy Points:
    3
    Gender:
    Male
    And I managed to flash my tuner, I just need to erase the flash memory on the programmer, even a new one.
     
    Johnny B. likes this.
  13. Ednaz

    Ednaz New Member

    Messages:
    2
    Likes Received:
    2
    Trophy Points:
    3
    Gender:
    Male
    Location:
    Ukraine
    @Johnny B.
    Thanks for the detailed instructions.

    @Aliraza63
    Where did you get the files for recovery VU+ Duo2?
     
  14. Aliraza63

    Aliraza63 Active Member

    Messages:
    107
    Likes Received:
    188
    Trophy Points:
    43
    Gender:
    Male
    Mostly the files Johnny has already shared & are here in download section but some of them from various forums but these are tested .
     
    Johnny B. likes this.
  15. Ednaz

    Ednaz New Member

    Messages:
    2
    Likes Received:
    2
    Trophy Points:
    3
    Gender:
    Male
    Location:
    Ukraine
    This is understandable, because all the recovery files for the original VU+ receivers that are posted here are uploaded by me. And what I did not post - it is not. Only a few people can reach these files.

    I didn't just ask - where did you download the files? Because as soon as slcopy indicated the source.

    On our forums, we always indicate the source from the respected Johnny B. and give a link to his support forum.
    I would like to have mutual respect for us.
    We are all doing a common good deed to help users.

    Translated with google translations. Possible translation inaccuracies :)

    Thanks to Johnny B. for a tremendous job!
    Best regards to you Ednaz
     
    Johnny B. and Aliraza63 like this.
  16. andyros

    andyros New Member

    Messages:
    17
    Likes Received:
    21
    Trophy Points:
    3
    Gender:
    Male
    Incredible! Thank you very much for sharing your great work with all of us, greetings.
     
    Aliraza63, Ednaz and Johnny B. like this.