r/esp8266•
Wankeejay

Trying to flash a brand new ESP-12F

Hi, so I bought the ESP-12F and now I am trying to flash it for the first time. To connect the board to pc via UART I used a template from the enclosed video. Unfortunately, every time I connect the board, the onboard LED just lights up for a fraction of time. Afterwards, the board does not show up and the serial monitor in Arduino IDE just prints ERROR.

I dont think I burnt it, but I have no idea what could cause the connection error. Any ideas as to what could be wrong? I already checked connections, resistors, tried to play a bit with the IDE but no luck.

https://www.youtube.com/watch?v=R-FDJsuH_eE

Edit: SOLVED!

As u/DEADB33F suggested, the wiring that worked for me was:

ESP to USB_UART

TX---------------RX

RX---------------TX

EN--------------RTS

GPIO-0-------DTR

GPIO-15----GND (solder bridge between the pins works)

​

Another edit:

When I found this explanation from Espressif for `esptool.py` boot mode selection, it was much easier.

https://github.com/espressif/esptool/wiki/ESP8266-Boot-Mode-Selection

I finally understood why so many tutorials gave the instruction to HIGH GPI02, but at the end it is useless, since the pin has default weak HIGH by default and may be counterproductive.

Also, for understanding boot modes printout in IDE, this link was also very helpful:

https://riktronics.wordpress.com/2017/10/02/esp8266-error-messages-and-exceptions-explained/

Thanks for help!

Posted Mar 26, 2021, 7:15 PM UTC · edited

2416
Loading comments…