Heyy.. its now working..fly135 wrote:Seems like the post I made above was adequate to indicate to you that your notion of needing to erase the entire flash was wrong. In addition I indicated that the OTA example will erase the regions of flash needed to perform the update. The OTA example will download a new firmware build and reboot with your new firmware in flash. You don't need to erase the flash yourself.burkulesomesh43 wrote:actually problem is that when i want to update the firmware using ota example, i need to erase entire flash. if i cant erase it, the firmware will not update. and if i want to erase flash without connecting esp32 to my system then how can i erase the flash?
John A
actually no need to erase flash as you said.
I had written two ota codes(say A and B). so that code A updates the code B and code B updates code A. this process runs continuously.
thank you very much for your help.
and thank you all.