SONOFF

User avatar
pzygmunt
Posts: 6895
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Re: SONOFF

Post by pzygmunt » Tue May 29, 2018 1:33 pm

Try to erase the chip

gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Re: SONOFF

Post by gaurav » 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.

User avatar
pzygmunt
Posts: 6895
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Re: SONOFF

Post by pzygmunt » Wed May 30, 2018 7:40 am

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?

gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Re: SONOFF

Post by gaurav » Wed May 30, 2018 8:05 am

Yes, I used it at address 0xfc000 when I flashed firmware.

gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Re: SONOFF

Post by gaurav » Wed May 30, 2018 8:12 am

This problem has arised with "Sonoff Basic R2 Ver1.0 2017-10-11". Earlier boards of sonoff basic get flashed easily

Zybi
Posts: 1378
Joined: Sun Jun 26, 2016 4:24 pm

Re: SONOFF

Post by Zybi » Wed May 30, 2018 10:27 am

SPI_MODE - DOUT

gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Re: SONOFF

Post by gaurav » Thu May 31, 2018 6:35 am

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.

Zybi
Posts: 1378
Joined: Sun Jun 26, 2016 4:24 pm

Re: SONOFF

Post by Zybi » Thu May 31, 2018 8:07 am

And

CrystalFreq 26M

gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Re: SONOFF

Post by gaurav » Thu May 31, 2018 9:55 am

no success.

Zybi
Posts: 1378
Joined: Sun Jun 26, 2016 4:24 pm

Re: SONOFF

Post by Zybi » Thu May 31, 2018 10:04 am

Try flash my firmware from here:

viewtopic.php?f=11&t=2940

Post Reply