Hi there,
i want to add the possibility of Software Updating but I dont know how to do it and where to start first. I am using the ESP-12F and I design the circuit board by myself.
Requirements for my application:
Since the internal Flash is limited and my programm will grow in the future I wanted a external flash which can handle this easily.
The Software Updates should be send encrypted
There should be the possibility if i as a coder messes something up in the new software update the microcontroller returns to the programm from before so i can access it again
And if Power Issues arise the Ciruit needs to be powered by a battery so it still can flash the software
Thank you very much in advance for any help!
Xentox
First of all sorry for answering so late was busy until now To give some more Information I have a main controller my Raspberry Pi which communicates until now with MQTT Messages with my Microcontrollers and what they should do. Now i want to develope a easy update mechanism which has various features as stated above. I want to do this with a esp-12F connected to an external flash (communication with SPI) where the new update should be first of all stored and the old one for recovery. Then I want to deploy my update on the Raspberry Pi and with a button on my website ( Hosted on Raspberry Pi) i can trigger the software update to all Microcontrollers maybe via FTP. This was my idea at first if you have some better implementations feel free to let me know