cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Bootloader STM32L151x

Arnaud Joubert
Associate II
Posted on February 17, 2017 at 17:17

Hi community,

I would like to know if it's possible to create my own bootloader for STM32L151x.

Where I could find info about it? Some code? Built-in code..?

Thanks in advance.

Regards

#bootloader #stm32l151 #custom
2 REPLIES 2
Posted on February 17, 2017 at 17:28

This is probably the wrong forum, you should post into the STM32 forum rather than the community

As a developer you can code whatever solutions you want, and sub-divide the available flash into loaders and applications at your discretion. The compilers/linkers will do what you instruct them.

Boot loaders are not unique to the STM32, there should be a long history of examples and concepts out there spanning a few decades.

The built-in System Loader and protocol for the STM32 is documented, review those and associated app notes. Commonly described as ISP (In-System Programming)

There are a number of IAP (In-Application Programming) examples for the STM32 family using USART, Ethernet, USB Flash, etc. Avail yourself of those resources and review.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Khouloud GARSI
Lead II
Posted on February 20, 2017 at 10:24

Hello

arnaud

,

I advise you to have a look at

http://www.st.com/content/ccc/resource/technical/document/application_note/group0/a7/3c/23/3b/05/2d/45/73/DM00281415/files/DM002814pdf/jcr:content/translations/en.DM002814pdf

. This application note is provided with a firmware '

http://www.st.com/en/embedded-software/x-cube-extboot.html

' that implements the same protocol of the internal UART bootloader.

This may help you to develop your own bootloader.

Also you should refer to

http://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD001675pdf/files/CD001675pdf/jcr:content/translations/en.CD001675pdf

; whichpresents the general concept of the bootloader on the STM32 devices.

Khouloud.