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/UCD3138: Disconnect debug probe

Part Number: UCD3138


Tool/software: Code Composer Studio

Currently using the code of this URL.

http://www.tij.co.jp/tool/jp/ucd3138fw-psf

I use XDS110 debug probe. 

I set a breakpoint in the softwear_interrupt() of this code, but the program does not stop at the breakpoint.

Also the debugger is disconnected. What is the cause of this? Is there a way to not disconnect?

  • Hi,

    I can't access the code linked by you, but the common causes for a breakpoint to never be reached or the Debug Probe to become disconnected when code is running is a fault on the code itself. 

    Sometimes the breakpoint can't be reached because the code caused the device/core to reset (it spins in this loop infinitely). Another scenario is that, depending on the device being used, the JTAG pins are disabled by default and multiplexed with other functions of the device; if the device/core is reset, the default will take precedence and disconnect the JTAG. 

    I am in contact with other experts that are more knowledgeable about the device itself to make additional comments. 

    Hope this helps,

    Rafael

  • I addition to the comments by Rafael.

    Are you using software or hardware breakpoint? Hardware breakpoint should be used.

    Also, XDS110 disconnects the power from the target when it halts.

    There should be a control knob in the target configuration of XDS110 that can be configured to leave the power on at all times.

    Regards,

  • Do your breakpoints work elsewhere, meaning if those breakpoints are not in the software interrupt?

    Regards,