Closed aryadas98 closed 2 years ago
On a side note, my project mainly requires network comms and preferably OTA update. I am willing to switch to some other board or architecture, if it would be easier. So any suggestions are welcome.
AT2 has a very bad performance and is unable to make larger transports in or out. Please use AT 1.7.5 from SDK 3.0.5
Thank you, it fixed the problem. OTA upload now works reliably.
I have been trying to use this library for OTA upload to Arduino Mega using an attached ESP8266. For the ESP I am using a NodeMCU board. My hardware connection is as follows:
I have flashed the Optiboot bootloader from the my_boards package onto the Mega. After this, USB upload with Optiboot works. I have also flashed AT 2 firmware onto the NodeMCU. After this, the WiFiESPAT sketches work. I can connect to the internet and send and receive data. So next, I flashed the example SerialWiFiOTA sketch to the Mega using USB. A network port showed up. I tried flashing the same sketch again, but this time using OTA. Sometimes it works, sometimes it doesn't. The error is usually:
Sometimes it is: