Can we set Boot0 in Software?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 1:47 PM
Hello,
I am working on a project where we have a main board and a header board connected via SPI. We have the ability to update the firmware of the main board over the air but not for the header board. We now have a need to update the firmware of the header board and we are looking at the main board downloading the header board's new firmware over the air and updating the header board's via spi and its built in boot loader. This would mean setting the Header Board's Boot0 pin to high. Unfortunately for us, this was hard wired to ground via a pull down resistor. These boards have been on the field for a few years now and recalling them for a firmware update and/or a hardware re-work would be costly. Is there a way for us to set the Boot0 pin to high via software?
Thank you very much for your help.
Solved! Go to Solution.
- Labels:
-
STM32F0 Series
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-19 1:54 AM
Yes that is correct. Any other way entering the internal bootloader except using the BOOT0 pin on power up will need this implemented in your firmware (or maybe only OTP register changes). If it isn't implemented already, you have to add this feature to your firmware and then get this new firmware on all your header boards (by recalling them or updating out in the field manually).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 4:11 PM
No
Depending on the part you can remap the zero address space, and also transfer control to the code in ROM
Some parts will enter the ROM System Loader if the User FLASH is erased.
If you can spare a few KB you could make your own simple loader with your own protocol.
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
‎2024-04-19 1:28 AM
Hi,
Thank you very much for your response.
If I understand this correctly, I will have to implement this on the header board's firmware, is that correct? If so, then I think the only thing we can do right now is recall them and implement this for future remote header firmware updates?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-19 1:54 AM
Yes that is correct. Any other way entering the internal bootloader except using the BOOT0 pin on power up will need this implemented in your firmware (or maybe only OTP register changes). If it isn't implemented already, you have to add this feature to your firmware and then get this new firmware on all your header boards (by recalling them or updating out in the field manually).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 12:56 PM
Thank you very much.
