Page 4 of 6

Re: SONOFF

Posted: Tue May 29, 2018 1:33 pm
by pzygmunt
Try to erase the chip

Re: SONOFF

Posted: Wed May 30, 2018 7:30 am
by gaurav
I flashed 1MB blank.bin from address 0x00000 and then flashed the sonoff socket firmware but the problem was same.

Re: SONOFF

Posted: Wed May 30, 2018 7:40 am
by pzygmunt
gaurav wrote:
Wed May 30, 2018 7:30 am
I flashed 1MB blank.bin from address 0x00000 and then flashed the sonoff socket firmware but the problem was same.
Have you used esp_init_defaults.bin?

Re: SONOFF

Posted: Wed May 30, 2018 8:05 am
by gaurav
Yes, I used it at address 0xfc000 when I flashed firmware.

Re: SONOFF

Posted: Wed May 30, 2018 8:12 am
by gaurav
This problem has arised with "Sonoff Basic R2 Ver1.0 2017-10-11". Earlier boards of sonoff basic get flashed easily

Re: SONOFF

Posted: Wed May 30, 2018 10:27 am
by Zybi
SPI_MODE - DOUT

Re: SONOFF

Posted: Thu May 31, 2018 6:35 am
by gaurav
I am using this configuration

boot file address 0x00000
sonoff socket firmware 0x01000
esp_int 0xFC000
flash size 1 MB
baud rate 115200
SPI speed 40MHz
SPI Mode DOUT.

Re: SONOFF

Posted: Thu May 31, 2018 8:07 am
by Zybi
And

CrystalFreq 26M

Re: SONOFF

Posted: Thu May 31, 2018 9:55 am
by gaurav
no success.

Re: SONOFF

Posted: Thu May 31, 2018 10:04 am
by Zybi
Try flash my firmware from here:

viewtopic.php?f=11&t=2940