I have an question regarding attaching to a running application in the CM core.
I have a debug config where I only select the CM in the main settings. In the program tab: Load symbols only.
Target tab:
-Load options: unchecked everything.
- Auto run options: Only checked auto run to main on a reset.
Other settings are still on default.
When I try to attach, the target halts and when pressing run again, it ends up in a hardfault. While running from flash or even 'normal' debug sessions do no create a hardfault.
I was wondering, is it possible to just attach the CM? And if so, what am I doing wrong. And if not, can I attach CPU1 and CM at the same time?