Re: OTA Flashing
Posted: Fri May 15, 2015 11:40 am
Thanks for the encouragement! Attached is another patch with a shell script to reflash the esp using curl. It's also added to the Makefile as 'make wiflash' assuming you have set the ESP_HOSTNAME in the makefile (or environment). The shell script takes care of uploading the correct partition and this set-up works quite well for me. I'll probably add a web page to manually upload the firmware, but this may take a few days. I don't really want to do it as long as I can't distinguish between user1.bin and user2.bin in the handler 'cause such as mix-up would be very uncool.
If you want to get started, you will need the SDK 1.0.1 (1.0.0 should also work), flash the boot_v1.3(b3).bin from the SDK's bin directory to 0x00000, flash blank.bin to 0x7E000, flash firmware/user1.bin to 0x01000, then connect to the AP and configure /wifi to hook up to your local AP. After that 'make wiflash' should reflash your puppy...
If you want to get started, you will need the SDK 1.0.1 (1.0.0 should also work), flash the boot_v1.3(b3).bin from the SDK's bin directory to 0x00000, flash blank.bin to 0x7E000, flash firmware/user1.bin to 0x01000, then connect to the AP and configure /wifi to hook up to your local AP. After that 'make wiflash' should reflash your puppy...