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.
I get this message "Breakpoint Manager: Error enabling this function: This task cannot be accomplished with the existing AET resources." when I try to set a breakpoint in CCS V6.1.0, and I've never seen it before.
Can anyone tell me what it means and how to get round it ?
Thanks
Hi Guatam,
I'm using the 28069M Launchpad, which is the XDS-100, isn't it ?
What are "AET resources" ?
Thanks,
Geoff
Hi Geoff,
Debugging a flash project requires the use of hardware breakpoints.
RAM projects can be debugged using only software breakpoints.
Hardware breakpoints are done by the MCU itself and therefore there is a maximum amount of them available, whereas software breakpoints are done by the IDE and are more-or-less limitless.
As you've found, current C2000 devices only support 2 hardware breakpoints. As a result, debugging a flash project with breakpoints could require a lot of enabling/disabling breakpoints.
http://processors.wiki.ti.com/index.php/How_Do_Breakpoints_Work#Hardware_vs._Software_Breakpoints
http://processors.wiki.ti.com/index.php/C2000_Flash_Common_Issues/FAQs#Using_Breakpoints_During_Debugging
Thank you,
Brett
Hi Geoff,
Breakpoints can be the most efficient way of debugging certain issues and having only 2 can be a limitation.
In some situations, utilizing the real-time debug capability of the device can remove the need for hardware breakpoints. It is a different approach to debugging, but is sometimes applicable.
Outputting signals via GPIO outputs can also help during debug.
We are investigating and looking to increase the amount of hardware breakpoints available on future C2000 products.
Thank you,
Brett
Hi Brett,
Thanks for the advice.
I have another related problem/question; when I set a breakpoint in my main isr, the program never hits the breakpoint, wherever I put it.
The interrupt is generated by an ADC read from a pwm trigger, and the isr is definitely being entered, so why no breakpoint ?
Regards,
Geoff
Geoff,
Some thoughts:
-Can you toggle a GPIO or change a variable inside the ISR to definitively prove that the CPU is entering the ISR?
-Can you set breakpoints elsewhere? Do they work as expected?
-Have you made code changes, but have not compiled/reloaded your program? (when I run into what you're seeing, this is often my problem)
Thank you,
Brett