Closed stblassitude closed 9 years ago
This is a known issue with PL2303: https://github.com/igrr/esptool-ck/issues/9 I can reproduce it myself but I can't figure out what is going on. See my comments in the linked issue. Let's move further discussion on to the esptool-ck issue tracker.
Hi,
I am getting following errors while uploading my code to arduino. I am trying to use esp8266 chip and correctly connected all the pins. I can see esp8266 chip is getting powered on properly. But while loading the code, following errors occurs. I tried searching online solutions but there is no luck. Please help me to resolve this issue as soon as possible.
Sketch uses 236,389 bytes (54%) of program storage space. Maximum is 434,160 bytes. Global variables use 32,568 bytes (39%) of dynamic memory, leaving 49,352 bytes for local variables. Maximum is 81,920 bytes. error: failed reading byte warning: espcomm_send_command: cant receive slip payload data error: failed reading byte warning: espcomm_send_command: cant receive slip payload data error: failed reading byte warning: espcomm_send_command: cant receive slip payload data error: failed reading byte warning: espcomm_send_command: cant receive slip payload data error: failed reading byte warning: espcomm_send_command: cant receive slip payload data error: failed reading byte warning: espcomm_send_command: cant receive slip payload data error: failed reading byte warning: espcomm_send_command: cant receive slip payload data error: failed reading byte warning: espcomm_send_command: cant receive slip payload data error: failed reading byte warning: espcomm_send_command: cant receive slip payload data warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed error: espcomm_upload_mem failed
Connect Tx (ESP) - Tx (ARDIUNO or USB_2_TTL ) Rx(ESP) - Rx (ARDIUNO or USB_2_TTL ) Vcc, CH_PD - 3.3v For programing: GPIO0- GND, GPIO2-VCC For Booting from Flash: rst once and GPIO0-VCC, GPIO2-VCC ALSO * rst of (ARDIUNO or USB_2_TTL ) should be connected to GND. SET the baud rate correctly, in my case it was 115200 Seletc bord : Generic ESP8266 IT will work fine.
In the circuit the GPIO0 pin is connected to VCC through a 10 k resistor. The voltage on the reset pin is 1.97V. in normal operation. I removed this resister and connected the GPIO0 pin manually. Normal operation--> GPIO0 to VCC Program mode --> GPIO0 to GND--> switch on VCC --> GPIO0 to VCC.
I tried it with 5 esp8266 modules which all were functioning properly after this modification and did not before.
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).
I've also played around with the various settings (flash mode, speed, etc.), but to no avail.
Any suggestions?