Chat freely about anything...

User avatar
By AlexZ
#27579 I'm using an ESP8266 connected to my computer using a CP2102 and I've been having trouble connecting to and communicating with my ESP12 module.

Flash configuration:
TXD --> RXD
RXD --> TXD
GPIO 0 --> GND
GPIO 2 --> 3.3V
GPIO 15 --> GND
VCC --> 3.3 V
CH_PD --> 3.3 V
GND --> GND

AT configuration:
TXD --> RXD
RXD --> TXD
GPIO 0 --> 3.3 V
GPIO 2 --> 3.3 V
GPIO 15 --> GND
VCC --> 3.3 V
CH_PD --> 3.3 V
GND --> GND

I flash a variation of nodeMCU onto the module. This seems to go fine, thus I believe my flash configuration is fine. When I try and talk to the module with GNU screen or picocom I get nothing or bash hangs or, with picocom, 'FATAL: read from term failed: Device not configured' is thrown and picocom closes.

Any suggestions? Should I be using pull up/down resistors?
User avatar
By Barnabybear
#27581
AlexZ wrote:Any suggestions? Should I be using pull up/down resistors?

Yes - needed on GPIO 0 & 2 - 1k to 10k work. Ok to pull GPIO 0 to ground to flash.
This might not cure the problem but its unlikly to work with direct connections.
User avatar
By charlocatalan
#27814
AlexZ wrote:When I try and talk to the module with GNU screen


Make sure when you use AT commands, you have used a AT firmware. I think your connection is good. But I dont think using the GPIO2 connected to VCC is needed.
User avatar
By martinayotte
#27820
charlocatalan wrote:But I dont think using the GPIO2 connected to VCC is needed.


According to https://github.com/esp8266/esp8266-wiki ... ot-Process, you need to have GPIO2 to HIGH.
Of course leaving pins floating can work, but it is certainly not a good practice, it is better having them pulled-up.