Connectivity problems with ESP-01
Posted: Thu Sep 01, 2016 3:23 pm
Just like a lot of other in this forum, I'm also getting the following when I'm trying to upload the Blink sketch from the Arduino IDE.
I have read a lot of other relevant posts and tried everything they suggest but no luck...
- I have used 4 different USB-to-serial converters (including the Arduino board), but all of them give the same error
- I checked the pin connections and everything seems to be correct. I'm connecting GPIO0 to GND before I upload and I also connected RST to GND (pulse) before upload. CH_PD, VCC, GPIO2 are connected to 3.3V.
- when the module isn't in "upload mode" (i.e. GPIO connected to 3.3V) then I can connect to it perfectly using a serial monitor, issue AT commands and get a response.
- I have tried a bunch of different IDE versions, from 1.6.5 to the latest 1.6.11.
- I downloaded and ran the esptool (1.2-dev) and when I try to read the flash ID with this command
I get the error "A fatal error occurred: Failed to connect to ESP8266"
Any ideas? I would say that the I/O of the chip is burnt but since I can issue AT commands, for example, I don't think that's the problem. I must be missing something pretty stupid!
Thanks!
PS: I'm using the ESP-01 chip that is black and has the "Ai cloud inside" printed on it. Also I'm using Debian Linux 8.5.
Code: Select all
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
I have read a lot of other relevant posts and tried everything they suggest but no luck...
- I have used 4 different USB-to-serial converters (including the Arduino board), but all of them give the same error
- I checked the pin connections and everything seems to be correct. I'm connecting GPIO0 to GND before I upload and I also connected RST to GND (pulse) before upload. CH_PD, VCC, GPIO2 are connected to 3.3V.
- when the module isn't in "upload mode" (i.e. GPIO connected to 3.3V) then I can connect to it perfectly using a serial monitor, issue AT commands and get a response.
- I have tried a bunch of different IDE versions, from 1.6.5 to the latest 1.6.11.
- I downloaded and ran the esptool (1.2-dev) and when I try to read the flash ID with this command
Code: Select all
./esptool.py --baud 115200 --port /dev/ttyUSB0 flash_id
I get the error "A fatal error occurred: Failed to connect to ESP8266"
Any ideas? I would say that the I/O of the chip is burnt but since I can issue AT commands, for example, I don't think that's the problem. I must be missing something pretty stupid!
Thanks!
PS: I'm using the ESP-01 chip that is black and has the "Ai cloud inside" printed on it. Also I'm using Debian Linux 8.5.