This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 silicon version 1.1 , UBL broke

 

We have got DM368 silicon version 1.1 evaluation board. I am facing an issue with recovering board. I have put ubl build which broke it.

This silicon version has RBL bug, which it seems does not allow to program this board over serial interface (dvflasher, sfh_DM36x.exe etc )

We don’t have XDS560 JTAG emulator but couple of XDS510. I need some help in following.

 a)      Could you please provide us .ccs file (Code Composer studio 3.3.38 compatible) which can work using XDS510 emulator on DM368. Also can this be used to program the board (UBL, UBOOT)

 b)      With RBL bug in ver 1.1, it seems we cannot program this again on serial flasher utility. Is there any work around to program it over UART using serial port utility sfh_DM36x.exe.

  

A help will be highly appreciated.

Thanks

Alok

 

  • Hi,

    First, not sure if the silicon on the EVM is rev 1.1, so can you provide the marking of the DM368 silicon so we can make sure it is?

    a) The XDS510 does not support the DM368 so you would have to get the XDS560 or SDI XDS510USB or SDI XDS510PP+ or XDS100 emulator.

    b) A workaround would be to use a different flasher like the nand flashing via ccs. This RBL issue had been fixed with silicon rev 1.2.  You should contact local support an exchange if the silicon indeed rev 1.1.

    Thanks

    Tai

     

     

     

     

  • I did verify it. It seems rev 1.1  silicon. Here is what is printed on the chip.

    TMX320

    DM368BZCE

    YFA - 9CAGOPW

    GI

    Please confirm.

    We have XDS510USB  JTAG 3V/5V emulator not sure what is meant by SDI XDS510USB. Can it be used by any means (come voltage converter etc to make it work) ?

    Could you please supply .ccs file which can be used on this.

    So effectively it seems it is not possible to make it work with serial flasher (with Code composer Studio as I dont have right JTAG)?

    Thanks

    Alok

  • Hi Alok,

    The silicon you have very likely is a rev 1.2 DM368 silicon. One way to verify it is reading the DEVREV register (0x1C400028). If DEVREV register contains 0x8B83E02F then it is the rev 1.2 silicon. If it is 0x0B83E02F then it is the rev 1.1 silicon.

    So what you have is the Spectrum Digital Inc. (SDI) XDS510 USB emulator. This emulator should work with the DM368. Since the CCS config files for DM368 is not yet available, you should be able to use the CCS files for DM365 to work with the DM368. You can download the CCS Config file for the DM365 from here.

    Thanks,

    Tai Nguyen

  • Hi Tai,

    Thanks for confirming that we can use Spectrum Digital Inc XDS510USB emulator. 

    a) This is why we thought it is rev 1.1 silicon.

    I did have a look on document  http://focus.ti.com/lit/er/sprz316a/sprz316a.pdf  page 6. 

     

    TMX A   1.1 TMX320DM368BZCE

              B  1.2

    Chip print  (YFA - 9CAGOPW) suggest it is rev 1.1. Also baud rate to get serial port "BOOTME" in UART mode is 141800 not 115200.

     

    TMX320

    DM368BZCE

    YFA - 9CAGOPW

    b) I downloaded DM365 .ccs file from spectrum digital website. 

        1. ran sdconfig utility scan/emulator/verify  test and it confirmed that there is JTAG hardware. Connected successfully.

         2. Open setup CCS (3.3.38) and imported DM365 .ccs file. Put the gel file in recommended path.

         3. save and closed.

         4. CCS was auto luanched, but failed to connect to target.

    Error message on pop up window:

    Error connecting to the target:

    Error 0x80002200/-140

    Fatal Error during: OCS, Control, 

    Error generated by SD scan controller module

     Sequence ID: 0

    Error Code: -140

    Error Class: 0x80002200

    I/O Port = 510

     Board Name: EVM_DM365_XDS510USB

    Cpu Name: ARM9

     Abort:              Close Code Composer Studio.

    Retry:              Try to connect to the target again.

    Cancel:                        Remain disconnected from the target

    Diagnostic:      Run diagnostic utility.

     

    Please help. How to get CCS connected to target.

    Thanks,

    Alok

     

     

     



     

     

  • Alok,

    Is this an EVM? Or a custom board?

    If an evm, make sure that the EMU0/1 switch(SW1) is set to the value of 11(high/high).

    You should be able to connect with that CCS version and .ccs driver, especially as you said that the sd config utility is detecting the scan chain path.  Did you try performing an emulator reset with the SD util? what is the result of that?

    regards,

    miguel

  • you can also try changing the SW5 pin 1 to 'high' to avoid the linux booting form the NAND.

    you will have to re-change this pin back to 0 if you want to flash the NAND via CCS afterwards.

    regards,

    miguel

     

  • Hi Miguel,

    I did check EMU0/1 switch(SW1)  they are set to 1 (pulled up). I checked the voltage on pin 13 and 14 , it was 3.26 V (pulled up).

    This is custom board developed by udworks, they have been using XDS560 PCI emulator, which we dont have.  They dont have any info on SPI XDS510USB

    Do you think it might depend on this somehow and we must need to buy the XDS560 PCI emulator first ?

     

    I did realise that my CCS was the not upto date,  I applied patch for 

    SR12_CCS_v3.3_SR_3.3.82.13.exe (service pack 12)  and DM365_CSP_v3.3.3502 which has DM365 related support. Not the latest version is 3.3.82.13. I dont know if this needs to updated further.

    when SD config util emulator reset option was selected, on the bottom window I see message "emulator is reset".

    I changed the switch to 1 for not booting from flash. 

     

    Problem is I am stuck, being rev 1.1 RBL on dm368, I can not use serial flashers (Seems, I tried and failed)

    Thanks

    Alok

     

     

  • Alok,

    There is only one last thing that I can think of that we need to make sure was done correctly.  And this is on the emulator drivers types.

    We have seen other customers having issues when updating the Spec Digital emulation drivers(main generic ones), the one issue we've seen in the past has been that if you will be upgrading the SDI drivers please do the following steps.

    The CCS version that you upgraded to is the correct one required.

    1) from your PC uninstall any older SDI drivers prior to the version 3.03.30.

    2) download the latest USB510 SDI drivers from http://support.spectrumdigital.com/ccs33/Release-30330/Patch_030330_XDS510USB.zip and install them.

    3) down load the .ccs driver that you already downloaded from the evm website

    4) connect the USB cable from emulator (it might ask to install usb related driver, select the automatic install, else go find where th USB510 USB drivers path is at and let it auto find)

    5) try your CCS open and connect

    6) if #5 does not work again, completely close the CCS and try the SD diagnostic utililty

    7) then close the diagnostic utility completely and retry opening CCS.

    please let me know after you've tried that to see if you still have issues.

    regards,

    miguel

     

  • Hey miguel,

    That works !!! Your suggestion was so helpful. Made my day.

    I did uninstall all the spectrum digital drivers and install them again along with the patch.

    Thanks a lot for your help.

    Regards

    Alok