Problem reflashing SONOFF with ESP Easy

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Chano
New user
Posts: 1
Joined: 05 Jan 2017, 16:26

Problem reflashing SONOFF with ESP Easy

#1 Post by Chano » 05 Jan 2017, 16:43

Hi, I bougth one SONFF device to start testing the ESP devices (it's so cheap, that it's not worth build one by myself!)

I made a mistake using a 5V FTDI adapter instead of a 3.3V adapter, but it worked perfectly. The problem is that I must have blown something because, even it is working, the power regulator gets extremely hot (it have even melted the SonOff case!) so I consider this device lost. Providing it was working, I've ordered 3 new devices and a 3.3V FTDI adapter. But when I try to flash the firmware, if I reflash the first SonOff I bought (the one that heats up), it works, but with the other 3, it doen't work and this is the output of the flash tool.

omport (example 3, 4, ..) :5
Flash Size (example 512, 1024, 4096) :512
Build (example 71, 72, ..) :120
Using com port: 5
Using bin file: ESPEasy_R120_512.bin
esptool v0.4.6 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM5
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat ESPEasy_R120_512.bin success
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_open
Uploading 411264 bytes from ESPEasy_R120_512.bin to flash at 0x00000000
erasing flash
size: 064680 address: 000000
first_sector_index: 0
total_sector_count: 101
head_sector_count: 16
adjusted_sector_count: 85
adjusted_size: 055000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 10000 ms
setting serial port timeouts to 1000 ms
espcomm_send_command: receiving 2 bytes of data
writing flash
read 0, requested 1
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
read 0, requested 1
warning: espcomm_send_command: didn't receive command response
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete

¿Any one can help me how to solve this?

Thx in advance
Chano

Justblair
Normal user
Posts: 63
Joined: 08 Aug 2016, 23:42

Re: Problem reflashing SONOFF with ESP Easy

#2 Post by Justblair » 05 Jan 2017, 17:28

Flash size should be 1024

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 30 guests