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.

TMS570LS0432: JTAG connectivity and debugging issue

Part Number: TMS570LS0432

Recently facing issues while debugging and loading the software to micro controller(TMS5400432BPZQQ1R). The behavior is erratic in nature. I am using XDS110 debug probe.Randomly and gradually I get errors like - (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.3.0.00032)
2.) (Error -2063 @ 0x0)
3.) (Error -2064 @ 0x0)
4.)(Error -1170 @ 0x0)
On reducing the frequency of TCLK still I face the same issue. But the JTAG connectivity test is successful every time I do it.

On replacing the micro controller it works but after few debugging sessions on code composer studio, the error occurs again. Not able to figure out the source of the issue. How to avoid and solve these errors?

  • Hi Vinay,

    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. 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