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.

Problem halting the target



Hi,

Often when I start the debugging session CCS fails to halt the device at main(), and debugger doesn't respond to any command. The console doesn't show any errors either. This started to happen after I started using DMA interrupts in my program. Sometimes there are error messages like "target refused to enter debug mode" or "trouble halting the target". CCS version is 4.2.4.00033.

I'm using the usbstk5505.gel file that came with the bsl. I tried debugging with real time mode on but it didn't help. In debugging options I also tried enabling "reset the target on a connect" and "remove remaining debug state at connect", didn't work. Does anyone have an idea what might be happening?

Thanks in advance.

Best regards,

Mike

Edit:

It also says "C55xx: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map. " But I ignored it before because it worked fine before despite this error. I just tried uninstalling/reinstalling emulator drivers from control panel, no change.