Solution to burning problem of esp8266 module based on Arduino_ open failed error: espcomm_ upload_ mem failed

introduction

car doing a little boring, maybe temporarily stop for a while. Just picked up trash on Taobao, ESP8266 and other boards arrived. I’m going to try out Arduino, learn a wave of STM32 charging, and follow someone else’s tutorial at Station B (which is known as the place to learn) to experiment with ESP8266 and then start working on a wave of Awtrix-like gadgets. The first day it rolled over, and the blinking example of the car didn’t burn in.

ESP8266

ps: with a micro port and a usb cable, it saves the TTL to usb module and dupont cable. Sweet.

The correct

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

blogger was watching a tutorial, for several mainstream ESP8266 introduction, relevant information can also be found inside the
https://www.bilibili.com/video/BV1kf4y1y7GZ?t=680

the blogger tried to download the Bin file with the official loader provided in the tutorial, but the reset was successful, but the error was reported in the Arduino download.

solution: find the tool in Arduino => Reset Method => Nodemcu
problem solved!

if you buy the D1mini ESP8266 module in a certain treasure, you should switch the Rest Method mode

Remember to install the ESP8266 driver and select the correct serial port

is described in the recommended tutorials for installing drivers and burning using TTL to USB ports.

turn on TTL USB attachment:
UTXD, RXD
URXD – TXD
CH_PD — –
VCC – 3.3 v – 3.3 v
GND – GND
GPIO0 – GND

several online solutions:
reset method set to nodemcu, unsuccessful can try to unplug Vcc and then re-burn.
code burning GPIO2 can not power, GPIO0 connect to low level (download mode) while RST ground release (reset) (using TTL to USB module)
reduce baud rate/download rate, change 115200 to 9600 or other (not tested)

Read More: