WeActStudio / WeActStudio.MiniSTM32F4x1

MiniF4-STM32F401CEU6/STM32F411CEU6 Product Literature
685 stars 152 forks source link

How to reflash the black pill V2.0 ? #43

Open eagl1 opened 1 year ago

eagl1 commented 1 year ago

Hi,

I used to program my new black pill with ST link V2 in Arduino IDE.

Then I tried to program it with STM32CubeProgrammer, it got locked first, then I tried the method found in ST forum which is to press on NRST before pressing Connect and it worked.

But then I only now can program it with this method and I can't program it in Arduino anymore.

What's going on ? and how to upload the regular ST bootloaders for the STM32F411CE

I also tried the method in this page: https://docs.zephyrproject.org/3.1.0/boards/arm/blackpill_f411ce/doc/index.html

And installed MSYS2 and tried to get the DFU-util, gone up to the step of generating the file with the MSYS2 MINGW64 but that didn't work. So I couldn't get the binary file. So I thought to find the official one and try to re-flash the board again.