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.

Flashing TMX570LS2135C



I am trying to flash a TMX570LS2135C device with either nowFlash or Flash470.

They both end up picking the wrong device:

They pick, "Device Identification=TMS570LS31xx_3MB.3", where TMX570LS2135C is a 2MB device.

The both read the DEVID register correctly, "Unique ID=0x802AAD1D, Minor Revision 3."

The they appear to select a device form the flash470.cfg or nowflash.cfg file based on "Device ID: 0x802AAD05"

The real question is why are there 5 entries in flash470.cfg and 3 in nowFlash.cfg with "Device ID: 0x802AAD05 " and then how does it decide which one to pick.
If I remove the incorrect Device ID: 0x802AAD05 devices from the flash470.cfg file it says "Error 101 - Could not find device ID 0x015 revision 3 in C:\ti\flash470\v342r3\flash470_jd.cfg file"

How does it gets from Unique ID=0x802AAD1D to 0x015?

The Flash470 documentation is no help it says it uses bits 3 - 11 of the DEVID register then matches the Device Id to find the configuration.

If I try to pick a part number directly in the Flash470 GUI it says "Error 235 - Device name found does not match name specified."

  • Hello James,

    Both the 3MB and 2MB variants of this TMS570LS device have the same Device ID.  To identify which memory variant the DUT is, we have to look and read a value from the TI OTP.  We typically leave this out for the largest memory variant, but apparently I also left this test out of the config for the 2MB variant.

    Please try replacing these lines:

      Register ID: 1
        0xF0080148 0xFFFE1E7F  0xffffffff   ;Big Endian

    with

      Register ID: 2
        0xF0080148 0xFFFE1E7F  0xffffffff   ;Big Endian
        0xF008015C 0x00000800  0x0000ffff   ;2MB

    in the nowFlash.cfg or Flash470.cfg file for the entry that start with

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Config for TMS570LS21xx 2MB only
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; actual device ID is 0x802AAD05<- Rev A,
    ; actual device ID is 0x802AAD15<- Rev B,
    ; actual device ID is 0x802AAD1D<- Rev C,
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  • Hello James,

    After further investigation, the original Register ID should have identified the 2MB part.

    Could you connect to the device and post the 32bit values at addresses 0xF0080148 and 0xF008015C?

  • John,

    Here is the memory view from the DAP:

    0xF0080148       FFFE7FFF FFFFFFFF 001001F8 2D4EA266 000F8303 01510800 77152903
    0xF0080164       00062961 7A180004 00270039 22222A2A 030221A1 02540200 0200F019

    FYI:  Howard H. our TI FAE called me about 3 minutes after I made the original post and he is stopping by later this morning.

    Thanks

  • James,

    Thanks for the info.  Things are now starting to click for me.  The register id test was set for the 2MB QFP package and did not take into account the BGA package.  Instead of making my previous suggested changes to the config file, do the following:

      Register ID: 1
        0xF008015C 0x00000800  0x0000ffff   ;2MB

    This should correct the issue.