which bootloader should i use in STM32F103RCT6?

Post here first, or if you can't find a relevant section!
Post Reply
mcykin
Posts: 4
Joined: Sun Nov 27, 2022 11:08 am

which bootloader should i use in STM32F103RCT6?

Post by mcykin »

hi,i bought a STM32F103RCT6 Developed board.

Image

this board don't have any led or board-key except NRST,

so,which kind of bootloader should i use?
can i use generic_boot20_pc13.bin(as same as blue piils) to download?

and also,when i download the bootloader,i'll change boot0 to pin1,use Demonstrator GUI download generic_boot20_pc13.bin,and reboot,is this right?

thanks!
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: which bootloader should i use in STM32F103RCT6?

Post by ag123 »

you need a
- st-link v2
https://www.adafruit.com/product/2548
https://www.st.com/en/development-tools/st-link-v2.html
https://octopart.com/2548-adafruit+industries-68088022
https://octopart.com/st-link%2Fv2-stmic ... s-20057793
https://octopart.com/st-link%2Fv2-isol- ... s-26029478

or a
- usb-uart dongle that does 3.3v uart
https://sites.google.com/view/makeriot2 ... rduino-ide
https://circuitdigest.com/microcontroll ... g-usb-port
- set boot0
- toggle reset
- flash away

or alternatively get a stm32f401 or stm32f4xx board with usb
stm32f4xx chips has the DFU boot loader built in
https://www.sgbotic.com/index.php?dispa ... page_id=49
- set boot0 (press both boot0 and reset)
- toggle reset (release reset, hold boot0, release boot0 1 s later)
- flash away

with the tools, follow the 'getting started' guide in the wiki
https://github.com/stm32duino/wiki/wiki
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 26
Location: Prudnik, Poland

Re: which bootloader should i use in STM32F103RCT6?

Post by GonzoG »

Yes, you need to pull up BOOT0 pin, reset board, use a usb-uart adapter (f103 do not have USB bootloader), flash bootloader.
You can use Demonstrator GUI or STM32QubeProgrammer.
Post Reply

Return to “General discussion”