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.

DSKPlus Debugger Problem

As my name suggests, my question is quite fundamental. I have looked in many places, but can find nothing on my problem:

When in C54X Code Explorer, single stepping through code stops when a return_enable command is reached. Halt, run, and single step commands do not function as expected. Debugging cannot be continued after encountering a return_enable.

I have code, but hesitate to post it unless told that it will be helpful.

Any suggestions on where to look or what to do would be most appreciated.

Thanks.

  • I'm not familiar with the return_enable command.  Can you provide some context for this command (which device, code gen tools, using BIOS?, etc.)

    Thanks

  • TommyG, thanks for the response. I apologize for taking so long to get back to you. I apparently did not use the forum correctly, and tried to respond to the e-mail that the forum software sent to me. 

     

    Anyway, in the meantime, someone showed me the workaround: put breakpoint A just before the return_enable, and breakpoint B just after the start of the interrupt handler. When breakpoint A is reached, hit Run in the debugger instead of single step. When breakpoint B is reached, then you can start to single-step again. 

     

    BTW, I'm using the DSKplus DSP Starter Kit for the TMS320C54x DSP chip. Not using BIOS. Writing in this sort-of assembly code for the DSK.  return_enable causes a return to the wait loop and enables the interrupts.

     

    Thanks again for the response.