Bootloader, what should I do?

Post here all questions related to LibMaple core if you can't find a relevant section!
Post Reply
myksj1105
Posts: 54
Joined: Sun Jun 18, 2023 11:35 am

Bootloader, what should I do?

Post by myksj1105 »

MCU : STM32F103C8T6

[CORE-1]
- CORE : https://github.com/rogerclarkmelbourne/Arduino_STM32
- BOOT : https://github.com/rogerclarkmelbourne/ ... bootloader
- FILE : generic_boot20_pc13

[CORE-2]
- CORE : https://github.com/rogerclarkmelbourne/Arduino_STM32
- BOOT : ??

--------------------------------------------------------------------------------------------

Hello. Nice to meet you.

1) If you look at the above, you know how to use 'CORE-1'.
2) I would like to test ‘CORE-2’.
How should 'CORE-2' catch 'BOOT'? Please tell us.

I would appreciate it if you could help me.
by ag123 » Thu Mar 14, 2024 3:45 am
for STM32F103 get a st-link v2
https://www.adafruit.com/product/2548
https://www.st.com/en/development-tools/st-link-v2.html
https://www.digikey.sg/en/products/deta ... V2/2214535
https://octopart.com/search?q=st-link+v ... SD&specs=0

or a usb-uart (3.3v) dongle
https://www.aliexpress.com/w/wholesale- ... duart.html

you need one of those 2 to program the chip.

then review the wiki for instructions to get started
https://github.com/stm32duino/Arduino_Core_STM32/wiki
https://github.com/rogerclarkmelbourne/ ... STM32/wiki

custom bootloaders is for more 'advanced' users e.g.
https://github.com/rogerclarkmelbourne/ ... bootloader
and in the same way review the wiki in the core

but that for normal programming normally st-link v2 or a usb-uart dongle is more than good enough.

alternatively get a stm32f401 or stm32f411 board
https://www.aliexpress.com/w/wholesale- ... ard--.html
https://www.st.com/en/evaluation-tools/ ... 401re.html
https://www.st.com/en/evaluation-tools/ ... 411re.html
or a stm32f405
https://www.adafruit.com/product/4382

stm32f4xx can be programmed with simply a usb (phone) cable via DFU.
And those Nucleo boards has the st-link v2 built on board.
requires STM core for its use.
https://github.com/stm32duino/Arduino_Core_STM32

for beginners start at least with stm32f401 or stm32f411, that is *much bettter (faster)* than stm32f103
and most importantly, has a lot more sram and flash
Go to full post
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Bootloader, what should I do?

Post by ag123 »

for STM32F103 get a st-link v2
https://www.adafruit.com/product/2548
https://www.st.com/en/development-tools/st-link-v2.html
https://www.digikey.sg/en/products/deta ... V2/2214535
https://octopart.com/search?q=st-link+v ... SD&specs=0

or a usb-uart (3.3v) dongle
https://www.aliexpress.com/w/wholesale- ... duart.html

you need one of those 2 to program the chip.

then review the wiki for instructions to get started
https://github.com/stm32duino/Arduino_Core_STM32/wiki
https://github.com/rogerclarkmelbourne/ ... STM32/wiki

custom bootloaders is for more 'advanced' users e.g.
https://github.com/rogerclarkmelbourne/ ... bootloader
and in the same way review the wiki in the core

but that for normal programming normally st-link v2 or a usb-uart dongle is more than good enough.

alternatively get a stm32f401 or stm32f411 board
https://www.aliexpress.com/w/wholesale- ... ard--.html
https://www.st.com/en/evaluation-tools/ ... 401re.html
https://www.st.com/en/evaluation-tools/ ... 411re.html
or a stm32f405
https://www.adafruit.com/product/4382

stm32f4xx can be programmed with simply a usb (phone) cable via DFU.
And those Nucleo boards has the st-link v2 built on board.
requires STM core for its use.
https://github.com/stm32duino/Arduino_Core_STM32

for beginners start at least with stm32f401 or stm32f411, that is *much bettter (faster)* than stm32f103
and most importantly, has a lot more sram and flash
myksj1105
Posts: 54
Joined: Sun Jun 18, 2023 11:35 am

Re: Bootloader, what should I do?

Post by myksj1105 »

Thank you for your kind explanation.

thank you so much. You are an angel.
Post Reply

Return to “General discussion”