cancel
Showing results for 
Search instead for 
Did you mean: 

When the external clock configuration error causes stlink to be unable to find the MCU

fkst
Associate II

In cubeIDE's ioc, the original 16M external clock is configured to 25M. Burn the program and debug it. After the program finishes running SystemClock_Config(), debug automatically exits and the program can no longer be burned. Stlink has been unable to find the MCU device. It is guessed that the chip is locked. How to solve?

fkst_0-1701832986019.png

 

1 REPLY 1

Pull BOOT0 High and restart. Connect and Erase with STM32 Cube Programmer 

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