2025-03-19 11:07 PM
Hi everyone,
I’m working on two different projects, one using STM32H747IIT6 and the other using STM32H723 series. I want to implement a firmware update mechanism for both. Both of them have webserver LWIP interfaces. I can implement update mechanism to webserver.
One of my projects has an SD card slot, while the other does not. Both designs include external flash memory.
I'm looking for guidance on:
Any insights or references would be highly appreciated. Thanks!
2025-03-19 11:38 PM - edited 2025-03-19 11:38 PM
Hi,
For your use case, a robust and reliable firmware update mechanism can be implemented by following these guidelines:
In your application, implement a dedicated function to securely receive and store the new firmware file in your external flash. This can be efficiently achieved using your existing LWIP webserver interface.
Develop a custom bootloader that:
Best Practices to Ensure Robustness:
By following these tipps, your firmware update process will be both robust and fault-tolerant.
2025-03-20 1:14 AM
Thanks ChatGTP... ;)
Do you also have external RAM?
Check the web for lwIP POST examples, that's how I do the file download, first into external (Hyper-) RAM, then I have time to check the file, then to write it to external flash.