I'm using IAR Embedded Workbench to debug a Cortex-M0 system interfaced through ST-LINK/V2 SWD. The processor isn't officially supported because it is under development, but the configuration files have been updated with correct data. I'm not sure however if the environment has all the needed info. I am able to set up to 6 breakpoints (2 of which should be traces) but I can't set software breakpoint at all. Could you help me?
Hi,
Thanks for your question. Since this tool is from IAR and not from ARM, may I suggest that you contact IAR for support with your current problem.
Best wishes
Chris
Hi Simon,
Software breakpoints in flash require the ability to reprogram the flash. If you need more than 6 breakpoints, you should consider running the application in RAM or use a debugger that supports flash breakpoints, which might require an add-on package.
Regards,
Steve