Author Topic: STM32 Bluepill  (Read 491 times)

0 Members and 1 Guest are viewing this topic.

Offline geggi1

  • Frequent Contributor
  • **
  • Posts: 367
STM32 Bluepill
« on: August 14, 2022, 10:53:38 pm »
I got some STM32 Bluepill boards that I'm playing with.
Managed to upload the boot-loader with ST32Cube programmer.
I'm a bit uncertain if i have used the correct boot-loader for the Arduino IDE. Can anybody please advice about what boot-loader to use?
There is also the issue that windows dont recognize the device. I have done the R10 modification and using a 1k8 resistor.

I'm a not certain that it is genuine chip on the board. Have been googling a bit and it seems to have the correct memory size.

Can anybody send me a link with an updated description on how to get the Bluepill running in Arduino IDE?

« Last Edit: August 14, 2022, 11:01:27 pm by geggi1 »

Offline ozcar

  • Frequent Contributor
  • **
  • Posts: 274
  • Country: au
Re: STM32 Bluepill
« Reply #1 on: August 15, 2022, 05:57:47 pm »
I have programmed various blue and black pill boards using Arduino IDE, but have never bothered to try to get a bootloader to work. Instead I have a few cheap STLINK clones (as well as a few "real" STLINKs on Nucleo boards). That will give you a bit more available flash as none of it needs to be taken up by the bootloader.

Using STLINK also leaves the door open for some real serious debugging using an IDE that supports that. 

In any event, you would probably be better off asking here:

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 4921
  • Country: ca
  • Non-expert
Re: STM32 Bluepill
« Reply #2 on: August 15, 2022, 08:47:15 pm »
Read the details here:
Try the file  generic_boot20_pc13.bin, and  gd32f1_generic_boot20_pc13.bin

I'll agree better off using stlink if you can, in combination with visual micro/visualgdb/PlatformIO.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo