Esp8266 not uploading sketch

Hello there!sorry if i m posting in a wrong session..i just bought two esp8266 modules and this https://www.sparkfun.com/products/9873 ftdi module.i did the wiring like this https://www.youtube.com/watch?v=9QZkCQSHnko the problem is that when i try to upload some code,it says error epcomm_open failed error..tried a lot of things with no luck..any ideas?

Sparkfun has a support forum and may be more considerate of your plight since you purchased from them.

I have multiple ESP8266-ArduinoIDE projects and no issues with a 3.3V Sparkfun Serial-USB.

Ray

I m not sure if its a problem of the ftdi or something with my wiring,or drivers…usb to serial is recognized by the computer…not sure about esp though…

mrburnette: Sparkfun has a support forum and may be more considerate of your plight since you purchased from them.

I have multiple ESP8266-ArduinoIDE projects and no issues with a 3.3V Sparkfun Serial-USB.

Ray

Just looked your projects..awesome work..really amazing..i ll surely try a lot of them!!

ok,i ve tried this tutorial http://rancidbacon.com/files/kiwicon8/ESP8266_WiFi_Module_Quick_Start_Guide_v_1.0.4.pdf and surprisingly,when i hook up the esp (open serial monitor) i get this: ready. but when i try to send AT or AT+RST nothing happens.it just writes the command i ve send in the serial monitor. what could it be??

tried this: http://www.arduinesp.com/blink

that happenned..

Sketch uses 197.452 bytes (37%) of program storage space. Maximum is 524.288 bytes. warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08 warning: espcomm_sync failed error: espcomm_open failed

any ideas??? also the led turns on when i wire everything...is that a problem??

thrylosthyra7: ok,i ve tried this tutorial http://rancidbacon.com/files/kiwicon8/ESP8266_WiFi_Module_Quick_Start_Guide_v_1.0.4.pdf and surprisingly,when i hook up the esp (open serial monitor) i get this: ready. but when i try to send AT or AT+RST nothing happens.it just writes the command i ve send in the serial monitor. what could it be??

There are many modules shipping with a bunch of different firmware. Some default to 9600 BAUD and some default to 115200 BAUD. Some are LUA based, some are AT command and I guess some may be shipped 'blank'. It is a mess out in ESP8266 land. As much as I hate to recommend a product that is more pricey than necessary, you may want to buy just 1 of the Adafruit or Sparkfun products as you know they will come configured properly (or be replaced.)

OR, you can do like I do, just utilize the Arduino add-in from IGRR here. This will overwrite all of the firmware.

Ray

since you are so kind,i may ask!if i update the firmware,will i be able to program it through arduino ide,with the default language?(i think its wiring and many commands like pinmode etc are working).i m not familiar with lua language...

Yes, there is an Arduino core (with some limitations) for the ESP8266.

Information here: https://github.com/esp8266/Arduino

i know this arduino core!i m thinking!if i update my esp,will it continue working with this ide?

When you upload programs from the Arduino IDE using that core, it overwrites any firmware already on the ESP8266.

Hackscribble: When you upload programs from the Arduino IDE using that core, it overwrites any firmware already on the ESP8266.

oh!i see!i thought that somehow it could change and i should use lua language... do you know of any tutorial i should use? does my problem seem like a firmware problem,or something else??i tried this: http://www.arduinesp.com/blink-manual-flash and the thing is that my led turned on when i wired everything..but still cannt communicate with the board...

Did you select the right programmer ? In Tools->programmer select esptool

1.6.5 doesnt have esptool...is this a problem?should i try something else??

First you have to install the Arduino plugin as explained in the link that Hackscribble provided:

https://github.com/esp8266/Arduino

already did!it does show the generic esp8266 and other options on board type,but no esptool on programmer...