Page 1 of 1

Sonoff basic OTA firmware update failed - refalshing not working

Posted: 22 Mar 2018, 11:22
by MRTjilie
I attempt an OTA firmware update and it failed on 'fail' version number.

Reflash firware over cable will not work, web-page is not comming up
Was running ESP_Easy_v2.0-20180202_normal_ESP8266.bin

Reflashed several different firmware versions but no web-page comming up.

How can I make the sonoff basic work again

Re: Sonoff basic OTA firmware update failed - refalshing not working

Posted: 22 Mar 2018, 15:37
by Methuselah
Are you attempting to flash a dout build?

Are you flashing the intermediate image first?

You cannot flash a new firmware directly due to its size. You need the megaOTAUploader to do it.

You will likely have to flash directly using the serial interface.

Re: Sonoff basic OTA firmware update failed - refalshing not working

Posted: 22 Mar 2018, 16:37
by MRTjilie
Are you attempting to flash a dout build?

I flashed diferent versions also a dout build

Are you flashing the intermediate image first?

I do not untherstand what you mean

You cannot flash a new firmware directly due to its size. You need the megaOTAUploader to do it.

You will likely have to flash directly using the serial interface.

I flash with a serial cable (FTDI) from a linux laptop

Re: Sonoff basic OTA firmware update failed - refalshing not working

Posted: 22 Mar 2018, 18:12
by grovkillen

Solved: Sonoff basic OTA firmware update failed - refalshing not working Solved

Posted: 22 Mar 2018, 19:14
by MRTjilie
Grovkillen is it like this:
From OTA I select ESPEasyUploaderMega_1024 followed by selecting the latest version of espeasy?

I did the following to solve this issue:

erase flash with command:
sudo python esptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash

and flashed ESP_Easy_v2.0-20180321_normal_ESP8266_1024.bin with command:
sudo python esptool.py -b 115200 --port /dev/ttyUSB0 write_flash 0x0000 ESP_Easy_v2.0-20180321_normal_ESP8266_1024.bin

now everything is working again