Skip to main content
Iswarya
Associate III
December 11, 2019
Question

hard fault error while debugging UlinkPlus debugger

  • December 11, 2019
  • 1 reply
  • 666 views

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?

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
December 11, 2019

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..