Keil Logo

MCBSTM32: Conditional Breakpoints with STM32 Devices


Information in this knowledgebase article applies to:

  • Keil MDK Version 3.05 and later

QUESTION

On my MCBSTM32 board, I want the debugger to break when a variable in my code equals a certain value, so I use the following debug command:

BS Write AD_DbgVal==0x00000041A, 1

But the debugger stops every time the AD_DbgVal value changes. What could be causing this?

ANSWER

STMicroelectronics has acknowledged that earlier versions of their STM32Fxxx devices may exhibit this behavior while debugging. This has been corrected in Rev Z of the STM32F103ZE device.

MORE INFORMATION

  • Refer to BreakSet in the µVision3 User's Guide.

Last Reviewed: Thursday, October 15, 2020


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.