Which boot should I use on my L476?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-06-10 08:35 AM
- Labels:
-
STM32L4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-06-10 08:44 AM - edited 2024-06-10 08:45 AM
The ROM based loader is minimally aware, it's not designed for exotic behaviour, or RS485 connectivity.
It can check for a valid location/image in either bank, but you've got no particular management of that.
It would be better if you made a small stub-loader (several KB), placed at the front of each bank, that could test which is the most update and valid image and then fork to that and do the bank-switching where necessary.
The UART protocol is well documented (15+ years), and there's several code examples using it.
For your OWN loader, perhaps pick something robust and standard like X-MODEM, where there is Terminal support via app's generally available to technicians, et al.
For best user experiences be able to code on deployment platforms like Windows, Mac, Linux, etc.
Up vote any posts that you find helpful, it shows what's working..