Updating only the user application code in Flash
Posted: Sat Nov 21, 2015 12:37 pm
I'm writing my first programs for ESP8266 and I use esptool to install the binary code into the Flash memory.
Every time I make modifications to my code, esptool erases all the Flash and then rewrites everything.
Since most of all that is rewritten has not been changed in the source code, most of the time spent in the programming process could be avoided.
I'm looking for a way to separate the user application binary code from the sdk library, so that it and can be updated separately. I suppose it would lead to create new sections to hold the user binary code and adapt the linker scripts, but I'm not at ease with such a job yet.
If anyone can help... Thank you!
Every time I make modifications to my code, esptool erases all the Flash and then rewrites everything.
Since most of all that is rewritten has not been changed in the source code, most of the time spent in the programming process could be avoided.
I'm looking for a way to separate the user application binary code from the sdk library, so that it and can be updated separately. I suppose it would lead to create new sections to hold the user binary code and adapt the linker scripts, but I'm not at ease with such a job yet.
If anyone can help... Thank you!