Description
Hi guys,
I have a problem uploading code via the Arduino IDE with my normal ESP8266 (ESP-12F, https://github.com/codmpm/esp8266-proto-board) board together with an FTDI adaptor on OSX High Sierra.
Arduino IDE is 1.8.5, as the older versions don't show items in the menu bar. I'm using ESP8266-Arduono-Core, current master from github.
I can use esptool.py 2.0.1
without any problem to upload binaries. But if I use the Arduino IDE (did python get.py
again) I got the following error:
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
Beim Hochladen des Sketches ist ein Fehler aufgetreten
setting board to ck
setting baudrate from 115200 to 115200
setting port from /dev/tty.usbserial to /dev/cu.usbserial-AL009RYR
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
opening port /dev/cu.usbserial-AL009RYR at 115200
tcgetattr
tcsetattr
serial open
opening bootloader
resetting board
trying to connect
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
trying to connect
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
Uploading 243504 bytes from /var/folders/cw/ckgc0g2j0qz6nn7djlc_37qr0000gn/T/arduino_build_979142/Blink.ino.bin to flash at 0x00000000
erasing flash
size: 03b730 address: 000000
first_sector_index: 0
total_sector_count: 60
head_sector_count: 16
adjusted_sector_count: 44
erase_size: 02c000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting timeout 15000
setting timeout 100
espcomm_send_command: receiving 2 bytes of data
writing flash
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: wrong direction/command: 0x01 0x03, expected 0x01 0x04
closing bootloader
error: espcomm_upload_mem failed
("Beim Hochladen des Sketches ist ein Fehler aufgetreten" means "An error occured while uploading the sketch")
I try to upload the standard blink example with the - to me - common settings:
I've also tried the nightly of the arduino IDE but get the same result. Also tripple checked my wiring, but as the upload via esptool.py
works without any flaws I think I'm fine with that.
Python Version is 2.7.10...
Any help or ideas are apreciated.
Thank you!