ESP32 尝试运行AT+GSLP命令时出现卡死

Moderator: ESP_XCGuang

seanli
Posts: 3
Joined: Mon Jul 13, 2020 3:52 am

ESP32 尝试运行AT+GSLP命令时出现卡死

Postby seanli » Mon Jul 13, 2020 4:00 am

各位好,

本人尝试用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
请问使用AT指令进入深度睡眠的话,是否有其他需要设置的地方,参考《ESP32 AT指令集与使用示例》并未发现需要设置的地方,还望解惑,谢谢!

Sean

Helen L
Posts: 71
Joined: Thu Aug 16, 2018 9:07 am

Re: ESP32 尝试运行AT+GSLP命令时出现卡死

Postby Helen L » Tue Sep 08, 2020 8:31 am

升级到最新的 V2.1 看是否还有问题呢?

seanli
Posts: 3
Joined: Mon Jul 13, 2020 3:52 am

Re: ESP32 尝试运行AT+GSLP命令时出现卡死

Postby seanli » Mon Nov 02, 2020 2:13 am

Helen L wrote:
Tue Sep 08, 2020 8:31 am
升级到最新的 V2.1 看是否还有问题呢?
你好,刚刚使用了V2.1版本,输入AT+GSLP=<time>之后依旧是出现复位情况。以下是刚刚上电后,输入AT+GSLP=5000的结果

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:6932
load:0x40078000,len:13712
load:0x40080400,len:4260
entry 0x400806e4
I (73) boot: Chip Revision: 1
I (73) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (40) boot: ESP-IDF v4.0.1-193-ge7ac221 2nd stage bootloader
I (40) boot: compile time 02:46:27
I (40) boot: Enabling RNG early entropy source...
I (46) boot: SPI Speed      : 40MHz
I (50) boot: SPI Mode       : DIO
I (54) boot: SPI Flash Size : 4MB
I (58) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 phy_init         RF data          01 01 0000f000 00001000
I (77) boot:  1 otadata          OTA data         01 00 00010000 00002000
I (84) boot:  2 nvs              WiFi data        01 02 00012000 0000e000
I (91) boot:  3 at_customize     unknown          40 00 00020000 000e0000
I (99) boot:  4 ota_0            OTA app          00 10 00100000 00180000
I (106) boot:  5 ota_1            OTA app          00 11 00280000 00180000
I (114) boot: End of partition table
I (118) boot_comm: chip revision: 1, min. application chip revision: 0
I (125) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x29230 (168496) map
I (195) esp_image: segment 1: paddr=0x00129258 vaddr=0x3ffbdb60 size=0x03974 ( 14708) load
I (201) esp_image: segment 2: paddr=0x0012cbd4 vaddr=0x40080000 size=0x00400 (  1024) load
I (202) esp_image: segment 3: paddr=0x0012cfdc vaddr=0x40080400 size=0x03034 ( 12340) load
I (216) esp_image: segment 4: paddr=0x00130018 vaddr=0x400d0018 size=0x1068cc (1075404) map
I (604) esp_image: segment 5: paddr=0x002368ec vaddr=0x40083434 size=0x195c8 (103880) load
I (648) esp_image: segment 6: paddr=0x0024febc vaddr=0x400c0000 size=0x00064 (   100) load
I (665) boot: Loaded app from partition at offset 0x100000
I (665) boot: Disabling RNG early entropy source...
BLUFI BLE is not connected yet
2.1.0
max tx power=78,ret=0
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400d87a4: 00000050 04004114 01000550
Core 0 register dump:
PC      : 0x400d87a8  PS      : 0x00060830  A0      : 0x800d7cdf  A1      : 0x3ffd7b10
A2      : 0x00000011  A3      : 0x00000000  A4      : 0x000000ff  A5      : 0x0000ff00
A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x800d8e66  A9      : 0x00002900
A10     : 0x00000011  A11     : 0x00000006  A12     : 0x00060a20  A13     : 0x3ffd3bf2
A14     : 0x0000002a  A15     : 0x3ffd9780  SAR     : 0x00000000  EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff

ELF file SHA256: fee3d8be1e4dbbb9

Backtrace: 0x400d87a5:0x3ffd7b10 0x400d7cdc:0x3ffd7b40 0x40106306:0x3ffd7b60 0x4010d034:0x3ffd7b80 0x40106619:0x3ffd7bb0 0x40101216:0x3ffd7bd0 0x4008e89d:0x3ffd7c10

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_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:6932
load:0x40078000,len:13712
load:0x40080400,len:4260
entry 0x400806e4
I (74) boot: Chip Revision: 1
I (74) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (41) boot: ESP-IDF v4.0.1-193-ge7ac221 2nd stage bootloader
I (41) boot: compile time 02:46:27
I (41) boot: Enabling RNG early entropy source...
I (46) boot: SPI Speed      : 40MHz
I (50) boot: SPI Mode       : DIO
I (54) boot: SPI Flash Size : 4MB
I (59) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 phy_init         RF data          01 01 0000f000 00001000
I (77) boot:  1 otadata          OTA data         01 00 00010000 00002000
I (84) boot:  2 nvs              WiFi data        01 02 00012000 0000e000
I (92) boot:  3 at_customize     unknown          40 00 00020000 000e0000
I (99) boot:  4 ota_0            OTA app          00 10 00100000 00180000
I (107) boot:  5 ota_1            OTA app          00 11 00280000 00180000
I (114) boot: End of partition table
I (119) boot_comm: chip revision: 1, min. application chip revision: 0
I (126) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x29230 (168496) map
I (195) esp_image: segment 1: paddr=0x00129258 vaddr=0x3ffbdb60 size=0x03974 ( 14708) load
I (201) esp_image: segment 2: paddr=0x0012cbd4 vaddr=0x40080000 size=0x00400 (  1024) load
I (202) esp_image: segment 3: paddr=0x0012cfdc vaddr=0x40080400 size=0x03034 ( 12340) load
I (216) esp_image: segment 4: paddr=0x00130018 vaddr=0x400d0018 size=0x1068cc (1075404) map
I (604) esp_image: segment 5: paddr=0x002368ec vaddr=0x40083434 size=0x195c8 (103880) load
I (648) esp_image: segment 6: paddr=0x0024febc vaddr=0x400c0000 size=0x00064 (   100) load
I (666) boot: Loaded app from partition at offset 0x100000
I (666) boot: Disabling RNG early entropy source...
BLUFI BLE is not connected yet
2.1.0
max tx power=78,ret=0


以下是输入的AT指令

Code: Select all



ready

AT



OK

AT+GSLP=5000



OK



ready


Who is online

Users browsing this forum: No registered users and 29 guests