esptool.py + blinky example
Posted: Thu Jan 01, 2015 11:30 pm
Hi,
I finished setting up my toolchain on Ubuntu following https://github.com/esp8266/esp8266-wiki/wiki/Toolchain. I compiled the blinky example successfully. Then I grounded GPIO0 following https://github.com/esp8266/esp8266-wiki/wiki/Uploading, reset the ESP8266, and ran
Is my setup wrong, is esptool.py still not stable enough, or is something likely wrong with my board? I've dabbled with other programs to flash the chip with little success.
Any ideas?
I finished setting up my toolchain on Ubuntu following https://github.com/esp8266/esp8266-wiki/wiki/Toolchain. I compiled the blinky example successfully. Then I grounded GPIO0 following https://github.com/esp8266/esp8266-wiki/wiki/Uploading, reset the ESP8266, and ran
Code: Select all
like the instructions say. This called esptool.py which is where the trouble started. esptool.py has been very shaky and unstable for me. It crashes with various errors, gets stuck at some random percentage midway through a flash, or just doesn't connect at all. After trying about 50 times I got it to write successfully all the way 4 or 5 times however only once GPIO2 actually started blinking after it finished flashing and flashing other things has also been spotty.make ESPPORT=/dev/ttyUSB0 flash
Is my setup wrong, is esptool.py still not stable enough, or is something likely wrong with my board? I've dabbled with other programs to flash the chip with little success.
Any ideas?