D1 Wifi failed to upload...

Hi All,

I just got the Arduino Compatible Based ESP8266 Wifi Board, which is D1 Wifi. Finally I was able to making the board detected in Windows 8.1. The blue color ON and SCK LEDs were light up and still all the time after the board connected and the Wifi module will blinks once when the rest switch was pressed.

When I was trying to compile and upload sample code to the board, I got these errors... :sob:

Code compile success:
Sketch uses 232,341 bytes (53%) of program storage space. Maximum is 434,160 bytes.
Global variables use 32,404 bytes (39%) of dynamic memory, leaving 49,516 bytes for local variables. Maximum is 81,920 bytes.

Errors reported during upload:
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed

Any idea to troubleshoot these errors?

How to resolve this error?

This might be helpful:

Hi pert,

Thanks for the guidance. This problem solved by changing the board from Generic ESP8266 Module to WeMos D1 (Retired) the sample able to upload to the board and I saw the ESP8266 blue blinking during uploading process. Using Serial Monitor, I saw the returned message from the board.

Hi! I have proble like yours! But there is no answer!
I am using WeMos D1 on ESP8266MOD, choose WeMos D1 (Retired), desired port, installed drivers CH340G!
I have done all that is necessary in order to run this module, but still gives the same error:
Archiving built core (caching) in:

C:\Users\XXX\AppData\Local\Temp\arduino_cache_384839\core\core_esp8266_esp8266_d1_CpuFrequency_80,UploadSpeed_921600,FlashSize_4M3M_a5a908103859d39eb241c3c4e1d2f435.a

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Please help me how to solve this problem :frowning:

Did you thoroughly read:

GAngel:
Hi! I have proble like yours! But there is no answer!
I am using WeMos D1 on ESP8266MOD, choose WeMos D1 (Retired), desired port, installed drivers CH340G!
I have done all that is necessary in order to run this module, but still gives the same error:
Archiving built core (caching) in: C:\Users\XXX\AppData\Local\Temp\arduino_cache_384839\core\core_esp8266_esp8266_d1_CpuFrequency_80,UploadSpeed_921600,FlashSize_4M3M_a5a908103859d39eb241c3c4e1d2f435.a
Скетч использует 219351 байт (21%) памяти устройства. Всего доступно 1044464 байт.

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Please help me how to solve this problem :frowning:

Generally problems can be traced to one of the following:

  1. inadequate 3.3V supply
  2. improper connection of CH_PD, RESET, GPIO0, GPIO2, and GPIO15 pins

I'm sorry, but you are talking in the language you understand, and I'm new. I need more info, would you please explain )))

ieee488:
Generally problems can be traced to one of the following:

  1. inadequate 3.3V supply
  2. improper connection of CH_PD, RESET, GPIO0, GPIO2, and GPIO15 pins

I don't fully understand option №2

GAngel:
I'm sorry, but you are talking in the language you understand, and I'm new. I need more info, would you please explain )))

Which board do you actually have?

ieee488:
Which board do you actually have?

WeMos D1 WiFi on base ESP8266MOD

GAngel:
WeMos D1 WiFi on base ESP8266MOD

You are actually going to have to make an effort and read what pert posted above Arduino/doc/faq/a01-espcomm_sync-failed.rst at master · esp8266/Arduino · GitHub

I don't know what to do with my module
:disappointed_relieved: :disappointed_relieved: :disappointed_relieved:

GAngel:
I don't know what to do with my module
:disappointed_relieved: :disappointed_relieved: :disappointed_relieved:

Nothing we could do for you if you refuse to troubleshoot your module.

Oh, well. Move on.

waheedrafiq reported this topic to the moderators as follows

Hi moderators ; I have found fix for this error it happens to be the pin 0 and pin 2 on the digital side can't be used with WeMos D1 board , I think its due to the TX /RX