2017-02-17 08:17 AM
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 #custom2017-02-17 08:28 AM
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.
2017-02-20 01:24 AM
Hello
arnaud
,I advise you to have a look at
. 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 ; whichpresents the general concept of the bootloader on the STM32 devices.Khouloud.