My customer found that CC2340 Cortex-M0 core supports limited number of hardware breakpoint. For debug purpose they would like to know if CC2340 supports software breakpoints? If yes, how many software breakpoints does it support?
BR,
Shuyang
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.
My customer found that CC2340 Cortex-M0 core supports limited number of hardware breakpoint. For debug purpose they would like to know if CC2340 supports software breakpoints? If yes, how many software breakpoints does it support?
BR,
Shuyang
Hi Shuyang,
Please refer to the Debugging Guide https://dev.ti.com/tirex/content/simplelink_lowpower_f3_sdk_7_40_00_64/docs/ble5stack/ble_user_guide/html/ble-stack-5.x-guide/debugging-index-cc23xx.html#breakpoints
Due to limitation of Cotex-CM0+, the number of breakpoints for CC23xx devices is 4. Check breakpoints limitation of ARM Cortex-CM0+. During programming stage, debugger will use 3. Breakpoints set by application will be ignored if more than one breakpoint is used by the application. It is possible to gain one more breakpoint back by implementing the following steps. Right click on the project, go to Debug As->Debug Configuration->Target, unchecked ‘Enable CIO function use’.
I hope this will help,
Best regards,