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.

Software runs without debugger, but it does not with debugger

Hello,

I am a new user of CCS with TI emulator debugger.

I am trying to use the CCS debugger with

  1. XDS510 USB Emulator

2. Conqueror:  TMS570LC43xx.

The software runs successfully without the debugger connected. But when I connect the debugger to debug the software the software stops at apoint saying no valid code at 0x000.

Please let me know the reason.

Thanks.

Biswal

  • Hi Biswal,

    Can you attach a screenshot while this error occurs?

    Regards,

    Gautam

     

     

  • Biswal,

    As Gautam mentioned, a screenshot would help. One clarification, though, is that connecting the debugger to a device that already has code running is just part of the debugging process - another important detail is to load symbols from a .out file, so the debugger is able to properly correlate the code on the device with the source code.

    Some interesting insights can be seen at the page below:

    http://processors.wiki.ti.com/index.php/Debugging_Boot_Issues

    Given that address 0x0 is the start position of the Flash memory, it may indicate the device was reset at some point, which may indicate the core detected an invalid access to some registers/memory (via a GEL file) or the device in lock step could have detected an invalid halt to the core - but that one is just a pure guess, as I am not 100% familiar with TMS570 devices.

    Hope this helps,

    Rafael