ESP32 尝试运行AT+GSLP命令时出现卡死
Posted: Mon Jul 13, 2020 4:00 am
各位好,
本人尝试用ESP32 PICO D4的开发板进行AT指令的测试,直接烧录的是ESP32-PICO-D4 AT Bin V2.0里面的内容。上电之后可以正常进行WiFi的操作,但尝试进入深度睡眠时发生错误。
请问使用AT指令进入深度睡眠的话,是否有其他需要设置的地方,参考《ESP32 AT指令集与使用示例》并未发现需要设置的地方,还望解惑,谢谢!
Sean
本人尝试用ESP32 PICO D4的开发板进行AT指令的测试,直接烧录的是ESP32-PICO-D4 AT Bin V2.0里面的内容。上电之后可以正常进行WiFi的操作,但尝试进入深度睡眠时发生错误。
Code: Select all
ready
WIFI CONNECTED
WIFI GOT IP
AT
OK
AT+GSLP=1000
OK
ready
Code: Select all
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6352
ho 0 tail 12 room 4
load:0x40078000,len:11332
load:0x40080400,len:6564
entry 0x40080760
I (32) boot: ESP-IDF v3.3 2nd stage bootloader
I (32) boot: compile time 06:10:38
I (32) boot: Enabling RNG early entropy source...
I (36) boot: SPI Speed : 40MHz
I (40) boot: SPI Mode : DIO
I (44) boot: SPI Flash Size : 4MB
I (48) boot: Partition Table:
I (52) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 phy_init RF data 01 01 0000f000 00001000
I (67) boot: 1 otadata OTA data 01 00 00010000 00002000
I (74) boot: 2 nvs WiFi data 01 02 00012000 0000e000
I (81) boot: 3 at_customize unknown 40 00 00020000 000e0000
I (89) boot: 4 ota_0 OTA app 00 10 00100000 00180000
I (96) boot: 5 ota_1 OTA app 00 11 00280000 00180000
I (104) boot: End of partition table
I (108) boot: No factory image, trying OTA 0
I (113) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x247c4 (149444) map
I (175) esp_image: segment 1: paddr=0x001247ec vaddr=0x3ffbdb60 size=0x03028 ( 12328) load
I (180) esp_image: segment 2: paddr=0x0012781c vaddr=0x40080000 size=0x00400 ( 1024) load
I (182) esp_image: segment 3: paddr=0x00127c24 vaddr=0x40080400 size=0x083ec ( 33772) load
I (204) esp_image: segment 4: paddr=0x00130018 vaddr=0x400d0018 size=0xee128 (975144) map
I (547) esp_image: segment 5: paddr=0x0021e148 vaddr=0x400887ec size=0x0f108 ( 61704) load
I (573) esp_image: segment 6: paddr=0x0022d258 vaddr=0x400c0000 size=0x00064 ( 100) load
I (587) boot: Loaded app from partition at offset 0x100000
I (606) boot: Set actual ota_seq=1 in otadata[0]
I (606) boot: Disabling RNG early entropy source...
2.0.0
max tx power=78,ret=0
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC : 0x40085766 PS : 0x00060e34 A0 : 0x8010d4d3 A1 : 0x3ffd7ed0
A2 : 0x00000011 A3 : 0x00000000 A4 : 0x000000ff A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x3ff49050 A9 : 0x00002900
A10 : 0x00000011 A11 : 0x00000006 A12 : 0x00060020 A13 : 0x3ffd3956
A14 : 0x0000000a A15 : 0x3ffd9a10 SAR : 0x00000000 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
ELF file SHA256: ets Jun 8 2016 00:22:57
rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6352
ho 0 tail 12 room 4
load:0x40078000,len:11332
load:0x40080400,len:6564
entry 0x40080760
W (63) boot: PRO CPU has been reset by WDT.
W (63) boot: WDT reset info: PRO CPU PC=0x40080f64
W (63) boot: WDT reset info: APP CPU PC=0xd3cdd024
I (69) boot: ESP-IDF v3.3 2nd stage bootloader
I (74) boot: compile time 06:10:38
I (78) boot: Enabling RNG early entropy source...
I (84) boot: SPI Speed : 40MHz
I (88) boot: SPI Mode : DIO
I (92) boot: SPI Flash Size : 4MB
I (96) boot: Partition Table:
I (99) boot: ## Label Usage Type ST Offset Length
I (107) boot: 0 phy_init RF data 01 01 0000f000 00001000
I (114) boot: 1 otadata OTA data 01 00 00010000 00002000
I (122) boot: 2 nvs WiFi data 01 02 00012000 0000e000
I (129) boot: 3 at_customize unknown 40 00 00020000 000e0000
I (137) boot: 4 ota_0 OTA app 00 10 00100000 00180000
I (145) boot: 5 ota_1 OTA app 00 11 00280000 00180000
I (152) boot: End of partition table
I (156) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x247c4 (149444) map
I (218) esp_image: segment 1: paddr=0x001247ec vaddr=0x3ffbdb60 size=0x03028 ( 12328) load
I (223) esp_image: segment 2: paddr=0x0012781c vaddr=0x40080000 size=0x00400 ( 1024) load
I (225) esp_image: segment 3: paddr=0x00127c24 vaddr=0x40080400 size=0x083ec ( 33772) load
I (248) esp_image: segment 4: paddr=0x00130018 vaddr=0x400d0018 size=0xee128 (975144) map
I (590) esp_image: segment 5: paddr=0x0021e148 vaddr=0x400887ec size=0x0f108 ( 61704) load
I (616) esp_image: segment 6: paddr=0x0022d258 vaddr=0x400c0000 size=0x00064 ( 100) load
I (630) boot: Loaded app from partition at offset 0x100000
I (630) boot: Disabling RNG early entropy source...
2.0.0
max tx power=78,ret=0
Sean