Chat freely about anything...

User avatar
By holopaul
#81736
eriksl wrote:The last few versions can be upgraded over the air using "espflash", assuming you're using the OTA image and you have at least 2 Mbyte of flash installed.


Both conditions are met but i have no clue about how "espflash" should be used
User avatar
By SpYd3r Web
#81740
eriksl wrote:I completely forgot to tell that the sequencer uses flash storage that needs to be initialised. That's why you get the error.

Do this once "sec" (sequencer-clear) and you're good to go.

Worked great, thanks much!
User avatar
By eriksl
#81742
holopaul wrote:
eriksl wrote:The last few versions can be upgraded over the air using "espflash", assuming you're using the OTA image and you have at least 2 Mbyte of flash installed.


Both conditions are met but i have no clue about how "espflash" should be used


The zip file comes with a Linux binary "espflash". Just start it and watch the usage notice. I use it like this:
Code: Select allespflash -h esp1 -f espiobridge-rboot-image.bin -W


By default it will, if the image has been uploaded successfully, reboot the esp into the new image. If that succeeds, the new slot will be made permanent, otherwise it will reboot into the old version.