2023-06-06 10:51 AM
Hello Team I am using STVD IDE with cosmic compiler for development on STM8S207 series controller.
I have two configurations in project called release and debug.
whenever I try to debug code in debug configuration, following attached error appears when I run and stop code. i verified option byte settings quite few times and those looks Ok to me. Could someone help us out on this issue??
2023-06-06 11:45 AM
You can't abort when CPU is in halt and wfi, but this should not be a problem since usually CPU is not in this state. Also you can press board reset button to leave this state.
2023-06-06 08:56 PM
Ok but board reset will end my current debug session..I need to find out why CPU is going in halt, wfi or protected code execution state
2023-06-07 04:53 AM
If you don't use halt or wfi in your code, maybe the problem is ROP active.