STM32 Blue Pill Jumper boot0 nota work

Discussions about the STM32generic core
Post Reply
Samuele97
Posts: 1
Joined: Fri Oct 18, 2019 12:00 pm
OS: Windows
IDE: Arduino
Board: Bluepill

STM32 Blue Pill Jumper boot0 nota work

Post by Samuele97 » Fri Oct 18, 2019 12:09 pm

Hello everyone !

I bought 8 STM32 cards BluePill.

I use Roger Clark Melbourne's STM32duino support https://github.com/rogerclarkmelbourne/Arduino_STM32

I can not program them with the FTDI module.

The problem is on Jumper BOOT 0.

When I put the Jumper BOOT 0 from 0 to 1 and press the reset button the program continues to work!

the LED connected to pin PC13 always flashes even if BOOT 0 is set to 1.

I tried to program the card with the ST LINK module and it works for me.

I had to add the RST thread because BOOT 0 is not going.

I noticed that programming the card with this method presents many problems on the Arduino IDE environment.

There are many functions that are programmed via FTDI that work fine and programmed with ST LINK do not work.

So it is possible to operate the BOOT 0?

I realized that it is not a hardware setting but a software one.

Does anyone know how to fix it?

I really need it :(

User avatar
Vassilis
Posts: 165
Joined: Wed Feb 27, 2019 5:09 pm
Answers: 2
Location: Thessaloniki, Greece
OS: Linux, Win10, MacOS
IDE: Arduino 1.8.9
Core: Roger, STM official
Board: Bluepill, Maple mini, STM32F4xx
Contact:

Re: STM32 Blue Pill Jumper boot0 nota work

Post by Vassilis » Fri Oct 18, 2019 2:07 pm

Flash programming through a Serial dongle on BluePill is recommended for installing a bootloader. There is not (yet) any Serial dongle auto-programming process through Arduino IDE. You have to connect BOOT-0 to 1 and reset the device to put it in programming mode.

You can install the stm32duino or HID Bootloader instead.

Burn the bootloader file (BIN file) to BluePill through the Serial dongle. After that, further programming can be done through the BluePill USB port.
-Vassilis Serasidis

mrburnette
Posts: 94
Joined: Fri Mar 29, 2019 2:22 am
Answers: 1
OS: Linux
IDE: Arduino
Core: Any
Board: Blue, MM, Black

Re: STM32 Blue Pill Jumper boot0 nota work

Post by mrburnette » Sun Oct 20, 2019 11:50 am

Vassilis wrote:
Fri Oct 18, 2019 2:07 pm
...
Burn the bootloader file (BIN file) to BluePill through the Serial dongle. After that, further programming can be done through the BluePill USB port.
With the caveat that the BluePill has the correct USB resistor value:
https://github.com/rogerclarkmelbourne/ ... ill-Boards
https://hackaday.io/project/24907-bicyc ... annoyances
http://amitesh-singh.github.io/stm32/20 ... -pill.html

hobbya
Posts: 1
Joined: Tue Mar 05, 2019 2:00 pm

Re: STM32 Blue Pill Jumper boot0 nota work

Post by hobbya » Sun Oct 20, 2019 3:45 pm

The symptoms make me think your Boot0 pin is not pulled high when you put on the jumper. Better verify with a multi-meter.

Post Reply