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.

CCS/TMS570LS3137: Failure with HERCULES programming

Part Number: TMS570LS3137

Tool/software: Code Composer Studio

Hi !!

I´m trying to work with HERCULES TMS570LS3137 but I have some problems with the programming of the device:

The device is placed on a 144 – pin QFP_dip socket, it is feeded with 1.2 for the CORE, and 3.3 for the IOS. Furthermore I am using a jtag interface throw jlink debugger for programing with the following signals:

VCC, TMS, nreset, TCK, GND,TDO.

The first I can upload a simple program (the program is a blinking led) but is doesn´t run. Due to this I need to restart the TMS570LS3137. The next time that I try to program the device the following error happens.

Apparently the jlink recognized the TMS570LS3137 but the error shown in the above picture appears. I try several times to program the device with not successful.

 

I would appreciate your help.

Greetings.

  • Hello,

    It looks like the code you programmed is making the part enter an exception state repeatedly. This prevents the CPU from entering a debug state, resulting in the behavior you observe. You need to try to erase the part, assert and release nRST to see if the erase command is able to halt the CPU and erase the flash.

    Please try this procedure to let CPU enter a debug state:

    1. Open the target configuration window, and launch the selected the configuration

    2. Switch to debug window

    3. Press the reset (nRST) button and hold it

    4. Click “Connect Target” immediately after you release the nRST button

    5. The board should be connected after couple tries

  • Hi QJ Wang
    You are right, the CPU needs to be halted and this way stablish communication with it.
    Thanks for your help
    Best regards