ESP8266-01 Flash Mode Problem
Posted: Sun Sep 10, 2017 5:40 pm
Hello fellows..
I'm new to esp8266 and arduino and now working on my iot project. I have problem on flashing nodemcu firmware into esp8266-01 wifi module. I use esptool.py to flash but before flashing i tried to get my device id, so i use this command from command line (i use MacOS).
$sudo esptool.py --port /dev/cu.usbmodem1421 flash_id
This command returns
esptool.py v2.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header.
My configuration as follows:
Mac to Arduino using USB cable. I use arduino uno as usb serial ttl (empty sketch).
ESP8266 - Arduino
GND <-> GND (black)
VCC <-> 3.3v (red)
GPIO0 <-> GND (purple)
GPIO2 <-> 3.3v (orange)
CH_PD <-> 3.3v (pink)
TX <-> TX (via logic level shifter) (yellow)
RX <-> RX (green)
The esp module works normally in normal mode (Esp GIPO0 ->3.3v), i can run AT commands and connect to access point. But if change the GPIO0 to GND in flash mode, i get no response in serial terminal and also the esptool.py returns reponse time out.
Is anything wrong with my configuration? sorry i'm new to this, need your help. thank you.
I'm new to esp8266 and arduino and now working on my iot project. I have problem on flashing nodemcu firmware into esp8266-01 wifi module. I use esptool.py to flash but before flashing i tried to get my device id, so i use this command from command line (i use MacOS).
$sudo esptool.py --port /dev/cu.usbmodem1421 flash_id
This command returns
esptool.py v2.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header.
My configuration as follows:
Mac to Arduino using USB cable. I use arduino uno as usb serial ttl (empty sketch).
ESP8266 - Arduino
GND <-> GND (black)
VCC <-> 3.3v (red)
GPIO0 <-> GND (purple)
GPIO2 <-> 3.3v (orange)
CH_PD <-> 3.3v (pink)
TX <-> TX (via logic level shifter) (yellow)
RX <-> RX (green)
The esp module works normally in normal mode (Esp GIPO0 ->3.3v), i can run AT commands and connect to access point. But if change the GPIO0 to GND in flash mode, i get no response in serial terminal and also the esptool.py returns reponse time out.
Is anything wrong with my configuration? sorry i'm new to this, need your help. thank you.