2019-11-22 8:15 AM
Hello,
Is there a way to detect if debugging session is active (eg. IAR debugger is attached)?
Datasheet says DM and SWIM registers are only accessible from SWIM interface, not from STM8 bus.
Unfortunately IAR doesn't like the WFI instruction during debugging so I want to disable it for the session:
if(debugging_is_not_active)
{
WFI()
}
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.