Skip to main content
Ebun.1
Senior
June 2, 2020
Question

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

  • June 2, 2020
  • 1 reply
  • 983 views

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.

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
June 2, 2020

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..