Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By jarkman
#14381 Doubtless another n00b error here, as I've never made this work before...

With 1.6.1 and esptool, when I try to upload, I get the logging below.

I've confirmed with a logic analyser that there is a serial dialogue going on between FTDI adapter and ESP-01. I've tried power-cycling a bunch of times. I've tried swapping to a different module (but from the same vendor)

Wiring is as here:
http://makezine.com/2015/04/01/installi ... ontroller/
Board, port, and programmer are all set sensibly.

I have the feeling I must be missing something simple. Where should I look next ?

Thanks!


Here's the verbose upload logging:
Sketch uses 196,204 bytes (37%) of program storage space. Maximum is 524,288 bytes.
/Applications/Arduino 161 esp.app/Contents/Java/hardware/tools/esp8266/esptool -vv -cd none -cb 115200 -cp /dev/tty.wchusbserial1410 -ca 0x00000 -cf /var/folders/71/9gbg1bj16jjg0h_7r49pbfv00000gn/T/build5091595574695456475.tmp/WiFiWebServerRPS.cpp_00000.bin -ca 0x40000 -cf /var/folders/71/9gbg1bj16jjg0h_7r49pbfv00000gn/T/build5091595574695456475.tmp/WiFiWebServerRPS.cpp_40000.bin
esptool v0.4.2 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to none
setting baudrate from 115200 to 115200
setting port from /dev/tty.usbserial to /dev/tty.wchusbserial1410
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat /var/folders/71/9gbg1bj16jjg0h_7r49pbfv00000gn/T/build5091595574695456475.tmp/WiFiWebServerRPS.cpp_00000.bin success
opening port /dev/tty.wchusbserial1410 at 115200
tcgetattr
tcsetattr
serial open
opening bootloader
resetting board
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_cmd: sending command header
espcomm_cmd: sending command payload
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_cmd: sending command header
espcomm_cmd: sending command payload
espcomm cmd: receiving 2 bytes of data
setting character timeout 0
done
setting character timeout 1
done
espcomm_open
Uploading 35936 bytes from /var/folders/71/9gbg1bj16jjg0h_7r49pbfv00000gn/T/build5091595574695456475.tmp/WiFiWebServerRPS.cpp_00000.bin to flash at 0x00000000
erasing flash
espcomm_cmd: sending command header
espcomm_cmd: sending command payload
setting timeout 5000
setting character timeout 50
done
setting timeout 1
setting character timeout 1
done
warning: espcomm cmd: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
closing bootloader
User avatar
By tavalin
#14492 Another potential tip...

I've started pulling the power supply to the module, then I upload (CTRL+U) and while I can see the sketch compiling I reconnect the power. Usually the module will just be starting bootloader flash mode as the IDE attempts to upload and I normally see "writing flash....." straight away.