Dear Mr. Rui. I am trying to upload a simple sketch for blinking LED. in ESP8266 Type – 1. I am using FTDI Programmer. I have done all the connection as shown in your tutorial. Board Selected is Generic ESP8266 Module. But while uploading the sketch. error is as below
Build options changed, rebuilding all
Archiving built core (caching) in: C:\Users\APTE\AppData\Local\Temp\arduino_cache_430621\core\core_esp8266_esp8266_generic_CpuFrequency_80,VTable_flash,ResetMethod_ck,CrystalFreq_26,FlashFreq_40,FlashMode_qio,FlashSize_512K0,led_2,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_115200_3ee5ad3c9efaacaced2454c87450e2f8.a
Sketch uses 247960 bytes (49%) of program storage space. Maximum is 499696 bytes.
Global variables use 28032 bytes (34%) of dynamic memory, leaving 53888 bytes for local variables. Maximum is 81920 bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
Kindly Guide me.
Did you read my previous answer in another thread? https://rntlab.com/question/probblem-in-loading-program-in-esp8266/
That error means that your ESP-01 is not in Flashing mode… You need to follow my exact schematics:
- Connect GPIO 0 to GND
- Apply power to your board
- Try to upload the sketch
Does it work? Double-check that the COM port is selected (with the tick symbol).
Note: double-check that you have CH_PD connected to 3.3V and TX/RX well connected.
Mr. Rui Thanks for your answer. I will try as per your suggestion. Please let me know, which programmer is to be selected in Arduino IDE for programming ESP 8266 Type 1 with FTDI programmer. I have selected Generic 8266 module in board option.
You can have “Generic 8266 module” option and it should work with all the default settings.
Let me know your results. Regards,
Rui
Dear Mr. Rui,
I observed that the pin diagram of FDTI programmer shown in your book and that of my actual FDTI programmer is different. After making the connection as per the actual Pin configuration, the problem is resolved. Thanks a lot for your prompt response and strong support