OTA alternative

What I read about OTA says that you load half of the memory with the new code and then switch over.

Isn't it possible to install a small loader in the bottom section. When you want to upload new code, switch to the loader and then use the loader to reload the upper section.
All the loader needs is enough to recognize the load request and switch when done.
This would free up a lot more memory for bigger programs.

Is this feasible?

but the loader can't be small. it uses the networking library, which takes the largest part on a small flash.
alternative to storige in flash is SD card

This would free up a lot more memory for bigger programs.

…until something gets corrupted during download.

Two options are to have an API that is permanent, containing the network functions and such, with a smaller application that can be re-loaded, or alternatively to have an interpreter which can load an application - like FORTH.

For any given purpose, there should be no reason you would need to re-load the whole code - assuming you did it properly in the first place. :roll_eyes:

until something gets corrupted during download.

Sounds like OTA doesn't work. Is this true.
I note the arduino ide has problems.

Was that your problem or does OTA frequency corrupt?

Strider222:
Sounds like OTA doesn’t work. Is this true.
I note the arduino ide has problems.
https://forum.arduino.cc/index.php?topic=575560.0
Was that your problem or does OTA frequency corrupt?

the displaying of the network port in IDE has nothing to do with the OTA upload process. it is only a selection of port.