Author Topic: ESP32 remove OTA programming ?  (Read 1938 times)

0 Members and 1 Guest are viewing this topic.

Offline LindleyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: gb
ESP32 remove OTA programming ?
« on: November 17, 2022, 06:22:13 pm »
Did a few OTA tests with the ESP32 Dev 32 Module via the Arduino IDE and the Examples etc and it all worked ok.

Now we want to revert to normal Serial/USB programming, though we can seemingly program a new program, it just reverts to the existing OTA program.

Is there a simple way to removed the OTA from the ESP32 ?  -  have looked on the web but not found anything understandable for our basic level.
 

Offline GromBeestje

  • Frequent Contributor
  • **
  • Posts: 310
  • Country: nl
Re: ESP32 remove OTA programming ?
« Reply #1 on: November 18, 2022, 11:09:22 am »
Try to erase it before flashing it again.
I don't know about Arduino, but using esptool.py it can be done like

Code: [Select]
esptool.py erase_flash
 
The following users thanked this post: Lindley

Offline LindleyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: gb
Re: ESP32 remove OTA programming ?
« Reply #2 on: November 18, 2022, 04:22:07 pm »
Thanks,  that seems to have cleared the problem of the old program reappearing when it says the new program compiled and uploaded ok ?!

Don't have python loaded, but came across this ytube where you can use the esptool via the browser, very easy to erase and reload the factory defaults etc.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->