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.

TMS570LS0714: Unable to halt device

Part Number: TMS570LS0714

Hello, everyone. Recently, when I used tms570ls0714 chip with spi-dma function, the chip could not be debugged due to the wrong configuration.

The test connection is successful, but an error will be reported when debugging the burning program as following : error connecting to the target: error - 2062 @ 0x0 unable to halt device. It seems that the address  of the buf register of SPI was incorrectly written during DMA configuration. What methods can I use to re-debug the chip or erase the internal programs of the chip?

What's more, it seems that I could not configure the boot pattern as C2000 chip, so that I cannot start my program from the RAM.Thanks.

Best Regards,

LiHua

  • Hi Lihua,

    The problem might be caused by the code you have programmed. The code in the flash makes the CPU enter an exception state repeatedly, and the CPU is not able to enter a debug state.

    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.
  • Thank you very much for your reply. I have tried these steps, and erase my program.

  • Nice to know your issue has been resolved. Thanks