This one arrived in the post today (https://www.aliexpress.com/item/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-by/32699164693.html?spm=2114.13010608.0.0.tPCNjF) and I'm using a standard USB TTL serial (like this one https://www.aliexpress.com/item/Free-shipping-USB-to-TTL-converter-UART-module-CH340G-CH340-3-3V-5V-switch/32378923028.html) to try and program it.
The connections I've done:
GPIO2 to GND
GPIO15 to GND
GND to GND
EN to VCC
VCC to VCC
RX to UART TXD
TC to UART RXD
On the ESP both red and blue lights are on. The same on the USB UART serial.
Using Arduino IDE v1.8.1 and the settings are:
Generic ESP8266 Module
Flash Mode: "DIO"
Flash Frequency: "40MHz"
CPU Frequency: "80MHz"
Flash Size: "4M (1M SPIFFS)"
Debug Port; "Disabled"
Debug level: "None"
Reset Method: "ck"
Upload speed: "115200 // also tried with "57600"
Port: "COMX" - tried switching PC USBs and the COM port changes accordingly
---------------------------------------------
For the life of me, I cannot upload the sketch.
It compiles it and then it dies with the same 4 lines:
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
Please tell me there is a way to make it working. I want to design my piece from the base module and not have to be forced to use a Wemos or a NodeMCU on. Please.