STM32 SD-Bootloader

Read firmware from sdcard and write to internal flash
Post Reply
darkspr1te
Posts: 26
Joined: Tue Jan 07, 2020 4:22 pm

STM32 SD-Bootloader

Post by darkspr1te »

Hi All,
I have completed a bootloader for stm32f107x devices that supports updating via sdcard
core of system uses platformio/stm32cube and HAL calls so porting to others should be easy.

https://github.com/darkspr1te/stm32f107vc_sd_bootloader

same bootloader but with LCD routines (supports HX and ITFT models)
https://github.com/darkspr1te/mksbootloader

bootloader includes hard fault routines which can be excluded to improve file size (24k non-lcd, 28k-lcd)
debug via UART1
any reset vector from 0x6000 and up
spi eeprom read/write supported for settings/icons/fonts
needs optimizing though.


darkspr1te
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: STM32 SD-Bootloader

Post by fpiSTM »

Thanks for sharing darkspr1te.
I've created a dedicated forum for this.
darkspr1te
Posts: 26
Joined: Tue Jan 07, 2020 4:22 pm

Re: STM32 SD-Bootloader

Post by darkspr1te »

Another bootloader,
https://github.com/darkspr1te/mkstft35_bl_vet_fsmc
for stm32f407 boards

this has support for lcd/touch/spi/sdcard/fatfs
uses adafruit gfx lib so all ada fruit tech demos are usable.
when used on MKS TFT 35 v1 boards frame rate is 140fps via fsmc

this version has make file & platformio build options for those who want to import STM cube into platform io then you can use this as a example.

enjoy, more to come
darkspr1te
Post Reply

Return to “STM32 SD-Bootloader”