ESP-01 reset loop after connecting to AP
Posted: Sat Oct 03, 2015 1:45 pm
I'm trying connect an ESP-01 to an AP and I'm finding that as soon as I initiate the connection, the ESP gets into a continuous reset loop, and I can only recover by re-flashing it.
I have the ESP wired with CH_PD, RST, GPIO0 & GPIO2 pulled up to 3.3V, and Tx/Rx connected to an FTDI board. I have 470uF and 100nF capacitors across 0V and 3.3V. I'm using Veroboard so the connections are mostly soldered and solid.
I can connect and use AT commands. I can put the ESP into station mode and it can see several wireless networks, including my own.
So I do:
AT+CWMODE=1 (station)
AT+CWLAP (lists APs)
Then to connect:
AT+CWJAP="my network name","my passphrase"
As soon as I issue this command, the ESP starts resetting every few seconds. If I try to connect to a non-existent network, it fails after a while but doesn't reset. So it's only when it succeeds (I presume) that I get the problem.
I've got some switches to 0V in the GPIO2 and RST lines so I can get back to the bootloader (?) and re-flash the AT firmware version 0.9.2.2.
I see that others have had this problem but I've tried all of their suggestions without success (e.g. decoupling).
I've got ESPs bought months apart and I have the problem with both, so I don't think it's faulty devices, or a batch problem.
Does anyone have any idea what I've missed?
Thanks.
I have the ESP wired with CH_PD, RST, GPIO0 & GPIO2 pulled up to 3.3V, and Tx/Rx connected to an FTDI board. I have 470uF and 100nF capacitors across 0V and 3.3V. I'm using Veroboard so the connections are mostly soldered and solid.
I can connect and use AT commands. I can put the ESP into station mode and it can see several wireless networks, including my own.
So I do:
AT+CWMODE=1 (station)
AT+CWLAP (lists APs)
Then to connect:
AT+CWJAP="my network name","my passphrase"
As soon as I issue this command, the ESP starts resetting every few seconds. If I try to connect to a non-existent network, it fails after a while but doesn't reset. So it's only when it succeeds (I presume) that I get the problem.
I've got some switches to 0V in the GPIO2 and RST lines so I can get back to the bootloader (?) and re-flash the AT firmware version 0.9.2.2.
I see that others have had this problem but I've tried all of their suggestions without success (e.g. decoupling).
I've got ESPs bought months apart and I have the problem with both, so I don't think it's faulty devices, or a batch problem.
Does anyone have any idea what I've missed?
Thanks.