Hello
using ARM DS 2021.2, I am unable to put breakpoints on code running on the Cortex M4 Fast Model 11.15
I did some tricky things with the R52 Fast model by using the debugger command :
add-symbol-file "${workspace_loc:/startup_Cortex-R52/startup_Cortex-R52.axf}" N:0
This allowed me to use breakpoints on code running in EL0 (User) mode.
But what is the equivalent command for enabling breakpoints for M4 C Code running on Privileged or User mode ?
This is described nowhere in the ARM DS documentations.
Best Regards
Frederic HUGUET
Hi FredericSorry that you are still having problems. Here's some things to try/check:1) Please try the startup_Cortex-M4_AC6 example provided in Arm DS. This shows C source-level debug of code running on the Cortex-M4 FVP model.2) Check that your C code is compiled with "-g", which adds debug information into the image.3) There's no need to have "Load symbols from file" and "add-symbol-file". Just having the debug .axf in the "Application on host to download" and the "Load symbols" tick-box next to it ticked should be sufficient.4) I'm puzzled why you have two different versions of Fast Models FVPs (R52 11.16 and M4 11.15). Do you have two versions of Arm DS installed? This won't solve your problem, but I suggest you update to the latest Arm DS 2022.0, which includes FVPs from Fast Models 11.17.Hope this helpsStephen