ESP8266 - Uploading code error
Posted: Sat Jan 07, 2017 3:24 pm
Hi guys,
I'm a noob and I come here to receive some help ...
I just bought an ESP8266-01 in order to send data to a web serveur. I already have a basic / good configuration with an Arduino Uno and some Groove sensors.
Because I know NOTHING about ESP8266, this is what I did :
- I connected it to my Arduino like that http://rancidbacon.com/images/project/esp8266-doc/ESP8266-Connections_bb-fixed-small.png
- I started the Arduino, and the ESP8266 worked great. Respond to AT commands was OK.
- After that, I tried to upload some sketchs. Each time (on my Mac and my Windows), I had this error :
warning: espcomm_sync failed
error: espcomm_open failed
In order to solve this issue .... I tried lot of things like connect the GPIO0 to the GND.
After doing that, the blue light of the ESP8622 blinked, then stop after 20s with this message :
Since I did this, I still have my previous error (espcomm_sync failed)
And now I have no responses to my AT commands.
I think I delete the firmware of the ESP, right? How can I do to reinstall the native firmware?
EDIT: finally, I succeeded to re-upload the firmware and it responds again to AT command.
Now, I still have an error when I try to upload a code onto the ESP.
I'm a noob and I come here to receive some help ...
I just bought an ESP8266-01 in order to send data to a web serveur. I already have a basic / good configuration with an Arduino Uno and some Groove sensors.
Because I know NOTHING about ESP8266, this is what I did :
- I connected it to my Arduino like that http://rancidbacon.com/images/project/esp8266-doc/ESP8266-Connections_bb-fixed-small.png
- I started the Arduino, and the ESP8266 worked great. Respond to AT commands was OK.
- After that, I tried to upload some sketchs. Each time (on my Mac and my Windows), I had this error :
warning: espcomm_sync failed
error: espcomm_open failed
In order to solve this issue .... I tried lot of things like connect the GPIO0 to the GND.
After doing that, the blue light of the ESP8622 blinked, then stop after 20s with this message :
Since I did this, I still have my previous error (espcomm_sync failed)
And now I have no responses to my AT commands.
I think I delete the firmware of the ESP, right? How can I do to reinstall the native firmware?
EDIT: finally, I succeeded to re-upload the firmware and it responds again to AT command.
Now, I still have an error when I try to upload a code onto the ESP.
Code: Select all
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed