esptool v0.4.4-5-g744c44d - (c) 2014 Ch. Klippel <
ck@atelier-klippel.de>
setting board to ck
setting baudrate from 115200 to 115200
setting port from /dev/tty.usbserial to /dev/cu.usbserial
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat /var/folders/4y/m1fs5gps5pj52pzd1dft8c100000gn/T/build1743790168572076861.tmp/DumpInfo.cpp_00000.bin success
opening port /dev/cu.usbserial at 115200
tcgetattr
tcsetattr
serial open
opening bootloader
resetting board
trying to connect
setting character timeout 0
done
setting character timeout 1
done
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 31840 bytes from /var/folders/4y/m1fs5gps5pj52pzd1dft8c100000gn/T/build1743790168572076861.tmp/DumpInfo.cpp_00000.bin to flash at 0x00000000
erasing flash
size: 007c60 address: 000000
first_sector_index: 0
total_sector_count: 8
head_sector_count: 8
adjusted_sector_count: 4
adjusted_size: 004000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting timeout 10000
setting character timeout 100
done
setting timeout 1
setting character timeout 1
done
error: failed reading byte
warning: espcomm_send_command: can't receive command response header
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
closing boot loader
esptool.py тоже пробовал (брал последний с git)
Он начинает шить и через произвольное количество процентов вываливает
Connecting...
Erasing flash...
Writing at 0x00000c00... (12 %)
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