So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Maverik
#60661 Hi,
I'm new with ESP8266, I wanna to flash ESP-12 with nodemcu fw.
I'm on Mac OSx 10.10.5, I correctly installed CP2012 driver and esptool.py but when I launch the command
Code: Select allsudo esptool.py --baud 115200 --port /dev/tty.SLAB_USBtoUART flash_id
to test connection with ESP it returnet me this error
Code: Select allA fatal error occurred: Failed to connect to ESP8266
.
I have this CP2102
Code: Select allhttps://www.amazon.it/gp/product/B01J5CE3GU/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1
and this ESP-12
Code: Select allhttps://it.aliexpress.com/item/Esp8266-WiFi-series-of-model-ESP-12-ESP-12F-esp12F-esp12-authenticity-guaranteed/32639524010.html?spm=2114.13010608.0.0.aKMajr
[attached images] and this connections:

ESP12 - CP2102
VCC + CH_PD --> 3.3 V
GND + GPIO15 + GPIO0 --> GND
TXD0 --> RXD
RXD0 --> TXD

I tried also to connect GPIO2 to 3.3 V and no result.
Then I connect GPIO2 to GND, in this case the ESP-12 led was on (blu).
But in all case I have
Code: Select allA fatal error occurred: Failed to connect to ESP8266
.

P.S.: If i connect GPIO0 and GPIO2 to 3.3 V I find new wifi network called Al-Thinker

Please help me!
You do not have the required permissions to view the files attached to this post.
User avatar
By ruben_ramos
#60707 You are sure about baud rate? Have you tried 9600? In mine ESP8266 from Amica, the first flash i used a 9600 (only first flash).

sudo esptool.py --baud 9600 --port /dev/tty.SLAB_USBtoUART flash_id
User avatar
By Maverik
#60744
ruben_ramos wrote:You are sure about baud rate? Have you tried 9600? In mine ESP8266 from Amica, the first flash i used a 9600 (only first flash).

sudo esptool.py --baud 9600 --port /dev/tty.SLAB_USBtoUART flash_id

Yes I tried, but same result :(