Skip to main content
MSm
Associate II
Jan 2, 2021 3:44 PM UTC
Solved

an IAR message

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

0693W000006HK8DQAW.jpg 

#IAR

This topic has been closed for replies.
TDK
TDKBest answer
Jan 3, 2021 12:23 AM UTC

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."

2 replies

Tesla DeLorean
Guru
Jan 2, 2021 3:51 PM UTC

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.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TDK
TDKBest answer
Jan 3, 2021 12:23 AM UTC

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."