2019-12-11 08:43 AM
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?
2019-12-11 09:48 AM
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.