[SOLVED] Trouble uploading Blink to ESP-01
Posted: Mon Aug 17, 2015 5:04 pm
Solution: Following the instructions at http://hpclab.blogspot.de/2015/06/esp82 ... -os-x.html, I'm able to upload sketches with esptool.py. Thanks Ivan!
I'm having trouble uploading the blink sketch to my ESP-01. I'm on MacOS 10.10.5, with Arduino 1.6.5 and the stable board manager (http://arduino.esp8266.com/stable/packa ... index.json). I've also tried the staging version, but no difference.
When I upload the sketch, I get this log, and the sketch does not appear to be working. Using themadinventor's esptool.py, I am able to upload the nodecmu image to the very same module. I'm using an PL2303 cable (Adafruit clone).
Any suggstions?
I'm having trouble uploading the blink sketch to my ESP-01. I'm on MacOS 10.10.5, with Arduino 1.6.5 and the stable board manager (http://arduino.esp8266.com/stable/packa ... index.json). I've also tried the staging version, but no difference.
When I upload the sketch, I get this log, and the sketch does not appear to be working. Using themadinventor's esptool.py, I am able to upload the nodecmu image to the very same module. I'm using an PL2303 cable (Adafruit clone).
Any suggstions?
Code: Select all
Der Sketch verwendet 201.090 Bytes (46%) des Programmspeicherplatzes. Das Maximum sind 434.160 Bytes.
Globale Variablen verwenden 44.608 Bytes (54%) des dynamischen Speichers, 37.312 Bytes für lokale Variablen verbleiben. Das Maximum sind 81.920 Bytes.
/Users/stb/Library/Arduino15/packages/esp8266/tools/esptool/0.4.5/esptool -vv -cd ck -cb 115200 -cp /dev/cu.usbserial -ca 0x00000 -cf /var/folders/r9/9t0hn90919jdxnztplqfvcxw0000gp/T/build3191704045558840700.tmp/Blink.cpp.bin
esptool v0.4.5 - (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/r9/9t0hn90919jdxnztplqfvcxw0000gp/T/build3191704045558840700.tmp/Blink.cpp.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
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 205232 bytes from /var/folders/r9/9t0hn90919jdxnztplqfvcxw0000gp/T/build3191704045558840700.tmp/Blink.cpp.bin to flash at 0x00000000
erasing flash
size: 0321b0 address: 000000
first_sector_index: 0
total_sector_count: 51
head_sector_count: 16
adjusted_sector_count: 35
adjusted_size: 023000
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
espcomm_send_command: receiving 14850 bytes of data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
closing bootloader