I'm currently searching how to read the firmware / sketch / .bin file of ESP8266 programatically.
I'm planning to send the firmware over TCP or WebServer.
On which address is stored the firmware?
How can I read it into RAM (per bytes)
Variants:
- Using a RAM function to read the flash
- Copying the firmware into SPIFFS and serve it as file
- Reading the backup of the firmware
What do you suggest?
I'll be happy if anybody can share a code example with me.
Thanks in advance.