ESP-01 resetting when connected to router, but fine w/phone
Posted: Fri Jun 30, 2017 10:03 pm
I'm working on my first ESP-01 project. When I use AT+CWJAP to connect to my Wifi Router, it connects, gets an IP, hangs for several seconds, and resets. It then loops into connecting and resetting over and over. However, if I connect to my iPhone's Wifi Hotspot, I don't get resets. Anyone know why one AP causes resets and the other doesn't? This seems to be the same problem reported at http://bbs.espressif.com/viewtopic.php?t=1216, but there was no solution posted.
AT+GMR returns:
AT version:0.51.0.0(Nov 27 2015 13:37:21)
SDK version:1.5.0
compile time:Nov 27 2015 13:57:56
Wifi Router: Hitron CODA-4582
iPhone: 5s
I am connected to the ESP using a serial connection (FTDI USB-to-Serial), and sending AT commands to connect to Wifi.
Connecting to my phone, I get:
AT+CWJAP="iPhoneHotspot","MyPassword"
WIFI CONNECTED
WIFI GOT IP
OK
AT+CIFSR
+CIFSR:STAIP,"172.16.1.1"
+CIFSR:STAMAC,"18:fe:34:9a:00:00"
Connecting to my Wifi router, I get:
OK
AT+CWJAP="MyWifiRouter","MyPassword"
WIFI CONNECTED
WIFI GOT IP
<a few seconds pause here>
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x40100000, len 23620, room 16
tail 4
chksum 0x00
load 0x3ffe8000, len 948, room 4
tail 0
chksum 0x1c
load 0x3ffe83b8, len 3912, room 8
tail 0
chksum 0x51
csum 0x51
r⸮ùl⸮Ğb⸮:
ready
WIFI CONNECTED
WIFI GOT IP
<a few seconds pause, then it resets again in a loop>
AT+GMR returns:
AT version:0.51.0.0(Nov 27 2015 13:37:21)
SDK version:1.5.0
compile time:Nov 27 2015 13:57:56
Wifi Router: Hitron CODA-4582
iPhone: 5s
I am connected to the ESP using a serial connection (FTDI USB-to-Serial), and sending AT commands to connect to Wifi.
Connecting to my phone, I get:
AT+CWJAP="iPhoneHotspot","MyPassword"
WIFI CONNECTED
WIFI GOT IP
OK
AT+CIFSR
+CIFSR:STAIP,"172.16.1.1"
+CIFSR:STAMAC,"18:fe:34:9a:00:00"
Connecting to my Wifi router, I get:
OK
AT+CWJAP="MyWifiRouter","MyPassword"
WIFI CONNECTED
WIFI GOT IP
<a few seconds pause here>
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x40100000, len 23620, room 16
tail 4
chksum 0x00
load 0x3ffe8000, len 948, room 4
tail 0
chksum 0x1c
load 0x3ffe83b8, len 3912, room 8
tail 0
chksum 0x51
csum 0x51
r⸮ùl⸮Ğb⸮:
ready
WIFI CONNECTED
WIFI GOT IP
<a few seconds pause, then it resets again in a loop>