So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Chano
#60138 Hi, I've decided to use SONOFF devices with my personal code (it's cheaoer to buy one of this devices than build it yourself!!)

I bought one of them to test, and everything run smoothly so i bought 3 more, but now I'm stuck with this 3 new devices.

I've repeated exactly the same steps I did with the first one, I'm using ESPEasy flashtool to download the firmware and it erase correctly the flash, but it refuses to upload the new firmware. At the end of the post you can see Espflashtool output. Any clue of what could be happening or how to further debug my problem?

Thx in advance for your help.
Regards
Chano

esptool.exe -vv -cd nodemcu -cb 115200 -cp COM5 -ca 0x00000 -cf:\ESPEasy_R120>esptool.exe -vv -cd nodemcu -cb 115200 -cp COM5 -ca 0x00000 -cf myfirmware.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 myfirmware.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 337760 bytes from myfirmware.bin to flash at 0x00000000
erasing flash
size: 052760 address: 000000
first_sector_index: 0
total_sector_count: 83
head_sector_count: 16
adjusted_sector_count: 67
adjusted_size: 043000
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 myfirmware.bin