Chat freely about anything...

User avatar
By vnarmy
#30864 Hi all,
I'm a newbie with ESP8266.
I try to flash ESP-01 with a example code BLINKY. But I can't flash it with esptool.
The message I got is below:
Code: Select allmake flash
esptool.py --port /dev/ttyUSB0 write_flash 0x00000 firmware/0x00000.bin
Connecting...
Traceback (most recent call last):
  File "/opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/esptool.py", line 532, in <module> esp.connect()
  File "/opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/esptool.py", line 159, in connect raise Exception('Failed to connect')
Exception: Failed to connect
make: *** [flash] Error 1

I flashed using PL2303 USB2COM on Ubuntu 14.04 and this connection
VCC ====> Ext 3v3
GND====> Ext GND, USB2COM GND
CH_PD====>1kR=====>Ext 3v3
GPIO0=====>GND

I can flash successfully with ESP8266Flasher but I don't want using Micro$oft Windows.
Any help would be greatly appreciated.
Thanks!