STM32 Custom Bootloader for Stm32VL Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-05 3:15 AM
Hii,
I am new to the topic of Bootloaders, I am currently writing a custom bootloader for stm32 vl discovery via USART, I am searching for the source codes of the factory Programmed bootloader of stm32, are there some source codes which i can download from ST website, I googled a lot but ended up finding IAP sources codes and the app USART protocol used in STM32 Bootloaders, is there some more info regarding the Bootloaders? Thank you, Best, Ravi. #bootloader #stm32- Labels:
-
Bootloader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-05 5:39 AM
The source code is not available, you'd need to disassemble it.
This is a thread from 2010, the forum crashed since then so the attachment is missing, you could email for that.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-11 6:50 AM
Thank You clive, we switched back our task to IAP algorithm by stm32, we have edited the IAP program according to our requirements for stm32vl discovery, I just wanted to know once the IAP program is programmed to flash of the controller can it be possibly erased ?
just once programming the IAP algorithm is enough for several firmware updates? (PS: by setting the application address of the firmware and the NVIC table for every firmware update) Thank you, Best regards, Ravi- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-11 8:37 AM
Well the idea would be to keep you loader and application(s) in different memory spaces, and only erase the one you wanted to replace. If you code the loader effectively you really shouldn't need to keep replacing/updating it. And you'd only need the System Loader if you mass erased the part, or bricked it in some other fashion. Typically one can avoid a lot of those sorts of problems by testing the application code, and checksumming it so the loader can confirm it's complete/intact before jumping to it.
Up vote any posts that you find helpful, it shows what's working..
