Skip to main content
Mrohi
Associate III
August 18, 2019
Question

how to erase stm32f030k6t6 ? after I have program ic PA13 and PA14 set as input pin. now I can't erase or debug with stlink swd . please help thanks note : I am using cube mx ide .

  • August 18, 2019
  • 4 replies
  • 1135 views

..

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
August 18, 2019

It isn't necessary to like your own posts.

Strap BOOT0 HIGH so your code doesn't run. May also be options to "connect under reset" if you have NRST wired to your debugger.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Mrohi
MrohiAuthor
Associate III
August 20, 2019

many thanks I will try and tell you result .

Mrohi
MrohiAuthor
Associate III
September 20, 2019

dear sir I have tried but same device not found error . can't program or erase.

note : I am using st cube ide and stlink v2 .and trying to ic program again .

please help me .many thanks.

Tesla DeLorean
Guru
September 21, 2019

Use the ST-LINK Utilities, power-up/reset with BOOT0 HIGH, and then ERASE the device.

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