-->
Page 5 of 9

Re: OTA Flashing

PostPosted: Thu May 14, 2015 2:35 am
by tve
Fir successful reflash and reboot :-). Takes 4-4.5 seconds to flash a full 236KB and then 1-2 seconds to reboot and reassociate. Pretty sweet! The code is still pretty rouch and lacks sanity checks and finish. Plus instructions...

Re: OTA Flashing

PostPosted: Fri May 15, 2015 2:21 am
by tve
Attached is a final patch that adds a sanity check to verify that the stuff being uploaded actually smells like proper firmware. Sadly there's no good checksum over the whole thing and there's also no easy way to distinguish user1.bin from user2.bin.

The user interface at this point is non-existent. I tested it using commands like:
Code: Select allcurl http://esp8266/flash/next
curl -v --data-binary @firmware/user1.bin http://esp8266/flash/upload
curl http://esp8266/flash/reboot


So far nobody has reacted to any of these patches, so I'll assume there's no interest in further work on this and I'll continue in my private repo.

Re: OTA Flashing

PostPosted: Fri May 15, 2015 4:17 am
by mharizanov
Tve, this will be of incredible value and I am following your progress with eager. I haven't tried it yet as I am waiting for it to reach a more mature state before I jump in redoing my project to support it, but take my word that such functionality is well worth the efforts. Please do keep posting!

Re: OTA Flashing

PostPosted: Fri May 15, 2015 10:32 am
by ArnieO
mharizanov wrote:Tve, this will be of incredible value and I am following your progress with eager. I haven't tried it yet as I am waiting for it to reach a more mature state before I jump in redoing my project to support it, but take my word that such functionality is well worth the efforts. Please do keep posting!

I double that!