Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By pidloop
#73842 Hello,

I would like to try OTA updating. I have the http server version working well on a test sketch of about 300 kB. But my real project sketch is currently 840 kB. I understand this will not work because new sketch must be temporarily copied into the first 1MB so there is not enough room remaining.

However I have 4 MB total FLASH and last 3 MB are called SPIFFS so I wonder if that can be used somehow? I am not using the FLASH file system for anything. Thanks for any clues.
User avatar
By pidloop
#73845 Me again :-) It occurs to me I could do this in two steps: the large sketch requests and loads a small sketch which then requests and loads the large sketch. Comments? Suggestions? Thanks much.
User avatar
By Pablo2048
#73848 Why you did not try the simplest approach? Instead of 1/3M division use the 2/2M (I'm using this for months now), so you can upload up to 1MB sketch without any problem? I'm using this on Arduino IDE and on PIO...