Saturday 29 October 2016

Adding OTA capability to my robot sketch

Follow the guide here
If you need to remove an old version of Arduino before installing the required version make sure to restart your pc before using the new version.

Output  from Arduino IDE on request to upload:
Sketch uses 256,387 bytes (24%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 36,264 bytes (44%) of dynamic memory, leaving 45,656 bytes for local variables. Maximum is 81,920 bytes.
python.exe C:\Users\edwin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/espota.py -i 192.168.1.95 -p 8266 --auth= -f C:\Users\edwin\AppData\Local\Temp\arduino_build_442534/esp8266_robot.ino.bin
16:19:05 [ERROR]: No Answer
python.exe C:\Users\edwin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/espota.py -i 192.168.1.95 -p 8266 --auth= -f C:\Users\edwin\AppData\Local\Temp\arduino_build_442534/esp8266_robot.ino.bin
Authenticating...FAIL
16:19:09 [ERROR]: Authentication Failed
python.exe C:\Users\edwin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/espota.py -i 192.168.1.95 -p 8266 --auth=123 -f C:\Users\edwin\AppData\Local\Temp\arduino_build_442534/esp8266_robot.ino.bin
Authenticating...OK
Uploading...................................................................................................................................................................................

Output on com port during upload:
lpls$|nd.......
WiFi connected
Server started
192.168.1.95
Start
Progress: 100%
End
 ets Jan  8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3de0c112
@cp:0
     ld
       .......
WiFi connected
Server started
192.168.1.95

No comments:

Post a Comment