An error comes when I paused the debugger:
The run request failed. Encountered error(This INTERRUPT operation is not valid while the state is paused.)
PSoC 4 Architecture
Could you please explain the issue in more details and attach the project which you are debugging?
Are you using KitProg or miniprog3?
It is not possible to upload the project I am working on. But I can explain the issue.
I am using Miniprog3 and the controller is CYBLE 214009-00.
- there is a c file (say File.c).
- in this file when I try to insert a break point within any function while debugger is running. The debugger gets stopped. it doesn't show any error message at that time but the execution gets stopped. when I try to pause it displays the same error.
My questions is: Is there any optimization in debugging mode?(because some of the places I can not insert breakpoint.).
I will try to make a test project to reproduce the issue and attach here soon.
There are optimizations in debug mode, set (Creator -> Project -> Build settings -> ARM -> Compiler-> Optimization) to "none".
Did you get the debugger working after setting the compiler optimization to 'None'?
Please let me know if you have any further queries.