cancel
Showing results for 
Search instead for 
Did you mean: 

I want to read the bin file from the SD card and update the firmware

Ebun.1
Senior

Thank you for helping.

Device: STM32F769NIH6

It seems that the firmware can be updated using UART etc. Is it possible to read the bin file from the SD card and update the firmware?

If you have samples or guidelines, please post them.

Thank you.

1 REPLY 1

You would need to code a boot-loader to do that, basically the SDIO/SDMMC layer, FATFS, and then code to select a specific file, erase and write flash sectors deeper into the device, perhaps at 0x08010000

You'd build your application code for that address, and the boot-loader would recognize a valid application image before calling, or a button press/setting indicating it should update.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..