Bootloading from SD card STM32F4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 7:17 PM
I'm facing difficulties bootloading or upgrading firmware on an STM32F405 MCU from an SD card.
Could anyone recommend a library or resource for achieving this? I've already tried a few methods but haven't had any success. Any help would be greatly appreciated.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 8:20 PM
Which aspect do you fail at?
Do you have the SDCard working on your platform?
STM32Cube_FW_F4_V1.27.1\Projects\STM324xG_EVAL\Applications\FatFs\FatFs_uSD
STM32Cube_FW_F4_V1.27.1\Projects\STM32F412G-Discovery\Applications\FatFs\FatFs_uSD
STM32Cube_FW_F4_V1.27.1\Projects\STM324xG_EVAL\Applications\USB_Host\FWupgrade_Standalone
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-03-25 8:20 PM
Which aspect do you fail at?
Do you have the SDCard working on your platform?
STM32Cube_FW_F4_V1.27.1\Projects\STM324xG_EVAL\Applications\FatFs\FatFs_uSD
STM32Cube_FW_F4_V1.27.1\Projects\STM32F412G-Discovery\Applications\FatFs\FatFs_uSD
STM32Cube_FW_F4_V1.27.1\Projects\STM324xG_EVAL\Applications\USB_Host\FWupgrade_Standalone
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-03-26 2:03 AM - edited ‎2024-03-26 4:17 AM
The SD Card is functioning properly, as I can successfully read the firmware file from it. However, when it comes to the bootloading steps, I seem to have no clue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-26 7:16 AM
So comparing the current firmware in FLASH, vs the .BIN or .HEX on the card?
Erasing the FLASH pages and writing the new content?
Probably want the app software to reside at 0x08010000 or 0x08020000 depending on how large your loader is.
Perhaps review IAP examples, and the FWupgrade mechanics. Replace the transfer of data from serial or USB with files from the card.
Up vote any posts that you find helpful, it shows what's working..
