How best to handle firmware updates
Posted: Sun Nov 29, 2020 1:12 pm
I am designing a series of products that will use ESP32 development kits in the prototypes. These will eventually be replaced with separate components in the final product.
I fully expect to have to update the firmware from time to time after the product is release. What would be the best way to do this.
One way that I thought of was to use the USB port on the development kit and to provide a USB port to the ESP32 in the final product. I can provide an "Update Module" that would consist of a microSD card reader and the USB connection to the product. There will be an app that connects to the product via Bluetooth. It will be possible to initiate the firmware update via the app.
My question is, is one the app tells the ESP32 to initiate the update, how do I get the new firmware from the SD card into the product? I am assuming that it isn't possible to do all of that through the Bluetooth connection but I may be wrong.
Thanks for any suggestions.
I fully expect to have to update the firmware from time to time after the product is release. What would be the best way to do this.
One way that I thought of was to use the USB port on the development kit and to provide a USB port to the ESP32 in the final product. I can provide an "Update Module" that would consist of a microSD card reader and the USB connection to the product. There will be an app that connects to the product via Bluetooth. It will be possible to initiate the firmware update via the app.
My question is, is one the app tells the ESP32 to initiate the update, how do I get the new firmware from the SD card into the product? I am assuming that it isn't possible to do all of that through the Bluetooth connection but I may be wrong.
Thanks for any suggestions.