2021-01-02 07:44 AM
hi
I work with IAR application (Ver:8.4) for debugging and programming. Sometimes when I am in debug mode and I try to break and reset micro via iar tool bar, I encounter this message and I am not able to break and I have to reprogram. Could you please tell me whats the reason and how I can prevent this problem. Thanks in advance
#IAR
Solved! Go to Solution.
2021-01-02 04:23 PM
It sounds like this is due to the limited number of hardware breakpoints available. It's on the order of 4, but depends on the particular chip. I would disable all other breakpoints, or enough of them to stay within the hardware limit, and see if the error clears this up.
2021-01-02 07:51 AM
Not really an IAR forum.
Which STM32?
Do you use breakpoints? Can you clear them before restarting?
Use your own breakpoint routines (via BKPT) and diagnostic/telemetry output.
Uncheck "Run to main()", use key input or loops to allow you to stop at known checkpoints.
2021-01-02 04:23 PM
It sounds like this is due to the limited number of hardware breakpoints available. It's on the order of 4, but depends on the particular chip. I would disable all other breakpoints, or enough of them to stay within the hardware limit, and see if the error clears this up.