Page 2 of 6

Re: SONOFF

Posted: Thu Jul 06, 2017 7:22 am
by gaurav
should I replace the esp_init_data_default.bin with boot.bin?

Re: SONOFF

Posted: Thu Jul 06, 2017 7:47 am
by pzygmunt

Re: SONOFF

Posted: Thu Jul 06, 2017 11:16 am
by gaurav
I flashed the esp_init_data_defalut.bin and then flashed the firmware. Results were same. It did't boots up.

Re: SONOFF

Posted: Thu Jul 06, 2017 1:09 pm
by pzygmunt
Flash parameters ?
Memory address for esp_init_data_default ?

Re: SONOFF

Posted: Fri Jul 07, 2017 12:39 pm
by gaurav
I flashed nodemcu at 0x3fc000.

Re: SONOFF

Posted: Fri Jul 07, 2017 12:40 pm
by pzygmunt
Flash Size ?
SPI mode ?

Re: SONOFF

Posted: Fri Jul 07, 2017 12:51 pm
by gaurav
flash size 4MB and SPI mode QIO.

Re: SONOFF

Posted: Fri Jul 07, 2017 12:55 pm
by pzygmunt
This firmware
https://github.com/zchmielak/ESP8266/bl ... 2.0_p5.rar

is compiled for 1MB flash size so just change your settings to

FLASH SIZE 8 Mbit (1MByte)

and write esp_init_data to 0xfc000

Re: SONOFF

Posted: Thu Jul 13, 2017 10:07 am
by gaurav
It worked. But whenever I flash the firmware I have to flash esp_init_data_default.bin. Is it necessary or I am missing something? Thank you for the help. :)

Re: SONOFF

Posted: Sat May 12, 2018 12:13 pm
by gaurav
I built the sonoff socket firmware from SDK and changed the led port from gpio 13 to gpio 15 and flashed the firmware in nodemcu now the led is glowing continuously instead of blinking in config mode. Why is it so?