-->
Page 1 of 1

"Failed to write to target Flash" with esptool on linux

PostPosted: Wed Apr 01, 2015 10:23 am
by jacktech24
Hi,
for past two days I am having problem with flashing new firmware to ESP8266 (i tried many binaries) using esptool (i have tried different versions) or even the windows tool for flashing. Here you can see what I am getting:
Code: Select all python esptool.py -p /dev/ttyUSB0 write_flash 0x00000 ../nodemcu_latest.bin
Connecting...
Erasing flash...
Writing at 0x0000b400... (11 %)
Traceback (most recent call last):
  File "esptool.py", line 536, in <module>
    esp.flash_block(block, seq)
  File "esptool.py", line 196, in flash_block
    raise Exception('Failed to write to target Flash')
Exception: Failed to write to target Flash


Sometimes it stops at 11%, sometimes at 7%, ...
Here you can see my connection schema:
Image

Any idea how to fix it?