0

I have uploaded the BasicOTA sketch in Esp8266-12e. I am written one program, when i try to upload it first time in Esp using the OTA port it gets uploaded successfully, but when i try to upload any sketch after that it does not work. The console responds with No Answer.

After searching on internet many people have asked to check the sketch size. To check if size matters or not i tried with blinking sketch, and same issue happens there too.

The sketch only gets uploaded in first time.

Can anyone guide me resolving this issue.

java bee
  • 81
  • 2
  • 12

1 Answers1

2

Things to check:

  1. Partition arrangement selected. You have to make sure to keep the same partition arrangement between uploads.
  2. Partition arrangement selected. You have to make sure that the partition arrangement you have chose supports OTA uploads.
  3. You have to reset the ESP8266 manually after your USB upload. You can only do an OTA update to a sketch that has booted in "run" mode, not "boot" mode.
  4. You have the right IP address / hostname selected? (I don't know how that is handled in the Arduino IDE...)
  5. You must upload an OTA-enabled sketch for OTA to continue working.
Majenko
  • 105,851
  • 5
  • 82
  • 139