esphttpd-ota
Posted: Wed Apr 08, 2015 5:50 pm
Since I had originally posted this in the mega thread (now locked) and it looks like some folks wanted some help, I'll start this thread to keep it out of the greater OTA discussion.
http://www.esp8266.com/viewtopic.php?f=34&t=376&start=280#p13319
...from the OTA thread:
What do you have ESP_IPADDRESS set to? You can either set it in the Makefile or as an env variable 'export ESP_IPADDRESS=X.X.X.X'. Make sure you can ping that address from the machine you are building on. All the flashing functions do is use curl to post to the IP address specified, so make sure you can reach it. Incidentally, I noticed some old IPs in some of the curl commands, so you may want to grab the latest Makefile from the repo.
Once the application flashes, the flashing will pause and wait for the device to reboot and restore network connection and will then flash the website with no further interaction necessary.
http://www.esp8266.com/viewtopic.php?f=34&t=376&start=280#p13319
...from the OTA thread:
hdrut wrote:Hi,
not sure if this is the right place to post this.
I am trying to run the OTA firmware update but got stuck at Flashing OTA User App...
Any idea what could be going wrong? IP address is default, SoftAP 192.168.4.1, and STA IP is 192.168.0.107.
Webpage loads correctly after serial flashing. I am using SDK 0.9.5 by the way.
Thks in advance for any help.
What do you have ESP_IPADDRESS set to? You can either set it in the Makefile or as an env variable 'export ESP_IPADDRESS=X.X.X.X'. Make sure you can ping that address from the machine you are building on. All the flashing functions do is use curl to post to the IP address specified, so make sure you can reach it. Incidentally, I noticed some old IPs in some of the curl commands, so you may want to grab the latest Makefile from the repo.
Once the application flashes, the flashing will pause and wait for the device to reboot and restore network connection and will then flash the website with no further interaction necessary.