cancel
Showing results for 
Search instead for 
Did you mean: 

hard fault error while debugging UlinkPlus debugger

Iswarya
Associate II

I tried debugging STM32 chip using ULinkPlus debugger. When I try to debug for the first time,

no issues. For the next time, If theDebug configuration is "Erase sectors", When I try to debug STM32 chip with UlinkPlus Debugger, it throws hard fault error.

But the issue disappears if I did full chip erase before start debugging.

What could be the reason?

1 REPLY 1

What "STM32" ?

Perhap start by looking at the information reported by the Hard Fault.

Check what's in the debugger script file, if any.

Check expectations for clocks, GPIOs and memories enabled.

Work with Keil support if it is actually attributable to the ULINK, and something it is doing.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..