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.

TMS570LS3137: programming problem

Part Number: TMS570LS3137
Other Parts Discussed in Thread: UNIFLASH,

Dear e2e,

 

Hi

when i try to program the bo ard the following error shows up.

  • I assume the device and programming were working correctly prior to receiving this message? Can you provide more details on what you were doing with the last programmed image? i.e., what changes were made to the SW prior to the last code that was programmed?

    Also, can you give more details of which board you are using? Is it a customer HW of your own or is it one of our development kits and if so which one?

    One thing you can try, is to hold reset while when initiating the UNIFLASH or CCS connect sequence and release it when the connection is actually done by the tool (very small window which is timing dependent).

    Another option is to disconnect the devices Vccp pin so you remove power from flash. This prevents the code from flash from being loaded and executed. Once you have the connection with the external tool, you can then reconnect VCCP and erase the corrupted image from flash. If you have aboard with the PBGA package on it, this may not be possible.
  • Hi Chuck ,

    Our board working properly before receiving this error while loading the program.

    We are using TMS570LS3137 HDK development board  (http://www.ti.com/tool/tmds570ls31hdk).

    We tried both method to load the program , But we are not able to program the device. 

    I have attached my last loaded image file with this mail. Please find attached code.

    4743.DPRAM.rar

  • Chethan,

    Most likely, what has happened is you code is stuck in some very low level CPU intensive tight loop where it cannot be interrupted or where it is experiencing very fast continuous interrupts where it cannot be accessed. Did you try playing with the resets to see if you can catch it at just the right moment during attempts to program/connect?

    If this doesn't work, can you attempt to disconnect Vccp (may need to locate a trace from the supply rail to the pin, cut it, and install a jumper). If you can do this, then you might be able to power up with the Vccp disconnected preventing the executable from being loaded from flash and thus allowing you to connect and halt the CPU with the IDE. Once you connect, you can then reinstate the Vccp connection and reprogram the device.

    The other alternative would be to order new devices and replace the ones on the board with new devices.

    I'll as around, as well, to see if there are any other suggestions for recovering your board/devices.