Skip to main content
Associate II
December 6, 2023
Question

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

  • December 6, 2023
  • 1 reply
  • 1564 views

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

 

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
December 6, 2023

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

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