idf4.4.1 -pppos_client_main demo 烧入到板子中不停的重启

Marco_ma
Posts: 4
Joined: Thu Dec 24, 2020 1:01 pm

idf4.4.1 -pppos_client_main demo 烧入到板子中不停的重启

Postby Marco_ma » Tue Jun 14, 2022 8:08 am

芯片型号 ESP32C3 +SIM7600 PPP拨号 模块一直复位

Writing at 0x00000000... (100 %)
Wrote 19824 bytes (12014 compressed) at 0x00000000 in 0.5 seconds (effective 300.6 kbit/s)...
Hash of data verified.
Compressed 617616 bytes to 333794...
Writing at 0x00010000... (4 %)
Writing at 0x0001c824... (9 %)
Writing at 0x00026d71... (14 %)
Writing at 0x0002e533... (19 %)
Writing at 0x00035316... (23 %)
Writing at 0x0003d694... (28 %)
Writing at 0x0004529b... (33 %)
Writing at 0x0004bfd9... (38 %)
Writing at 0x00052f2d... (42 %)
Writing at 0x00059cd6... (47 %)
Writing at 0x00060aa7... (52 %)
Writing at 0x000674dd... (57 %)
Writing at 0x0006eaae... (61 %)
Writing at 0x00074e48... (66 %)
Writing at 0x0007b495... (71 %)
Writing at 0x00082153... (76 %)
Writing at 0x00088594... (80 %)
Writing at 0x0008ec5a... (85 %)
Writing at 0x00096f56... (90 %)
Writing at 0x0009d371... (95 %)
Writing at 0x000a42fc... (100 %)
Wrote 617616 bytes (333794 compressed) at 0x00010000 in 9.7 seconds (effective 509.7 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 547.2 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory c:\1.ddisk\3.esp32\examples\protocols\pppos_client
Executing "C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:\1.Ddisk\3.ESP32\tools/idf_monitor.py -p COM6 -b 115200 --toolchain-prefix riscv32-esp-elf- --target esp32c3 --decode-panic backtrace c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build\pppos_client.elf -m 'C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'C:\1.Ddisk\3.ESP32\tools\idf.py' '-p' 'COM6'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM6 instead...
--- idf_monitor on \\.\COM6 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x16bc
load:0x403ce000,len:0x930
load:0x403d0000,len:0x2d28
entry 0x403ce000
I (30) boot: ESP-IDF v4.4.1 2nd stage bootloader
I (30) boot: compile time 15:59:55
I (30) boot: chip revision: 3
I (32) boot.esp32c3: SPI Speed : 80MHz
I (37) boot.esp32c3: SPI Mode : DIO
I (41) boot.esp32c3: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (70) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (77) boot: 2 factory factory app 00 00 00010000 00100000
I (85) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=3c080020 size=18300h ( 99072) map
I (113) esp_image: segment 1: paddr=00028328 vaddr=3fc8be00 size=01694h ( 5780) load
I (114) esp_image: segment 2: paddr=000299c4 vaddr=40380000 size=06654h ( 26196) load
I (123) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=71500h (464128) map
I (200) esp_image: segment 4: paddr=000a1528 vaddr=40386654 size=05728h ( 22312) load
I (204) esp_image: segment 5: paddr=000a6c58 vaddr=50000010 size=00010h ( 16) load
I (209) boot: Loaded app from partition at offset 0x10000
I (211) boot: Disabling RNG early entropy source...
I (228) cpu_start: Pro cpu up.
I (237) cpu_start: Pro cpu start user code
I (237) cpu_start: cpu freq: 160000000
I (237) cpu_start: Application information:
I (240) cpu_start: Project name: pppos_client
I (245) cpu_start: App version: v4.4.1
I (250) cpu_start: Compile time: Jun 14 2022 15:58:39
I (256) cpu_start: ELF file SHA256: 6d1019c7b7fa2f7c...
I (262) cpu_start: ESP-IDF: v4.4.1
I (267) heap_init: Initializing. RAM available for dynamic allocation:
I (274) heap_init: At 3FC8F3D0 len 00030C30 (195 KiB): DRAM
I (280) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM
I (287) heap_init: At 50000020 len 00001FE0 (7 KiB): RTCRAM
I (294) spi_flash: detected chip: mxic
I (298) spi_flash: flash io: dio
I (302) sleep: Configure to isolate all GPIO pins in sleep state
I (309) sleep: Enable automatic switching of GPIO sleep configuration
I (316) cpu_start: Starting scheduler.
I (320) uart: queue free spaces: 30
E (820) esp-modem: esp_modem_dte_send_cmd(256): process command timeout
E (820) dce_service: esp_modem_dce_sync(225): send command failed
E (820) bg96: bg96_init(167): sync failed
Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unhandled.

Stack dump detected
Core 0 register dump:
MEPC : 0x42008b48 RA : 0x42008b3e SP : 0x3fc922c0 GP : 0x3fc8c600
0x42008b48: sim7600_init at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:138

0x42008b3e: sim7600_init at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:138

TP : 0x3fc7a3b8 T0 : 0x4005890e T1 : 0x10000000 T2 : 0xffffffff
S0/FP : 0x3fc954d0 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x3fc98b10
A2 : 0x00000000 A3 : 0x00000800 A4 : 0x00000000 A5 : 0x42008960
0x42008960: sim7600_get_battery_status at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:97

A6 : 0x42002a8a A7 : 0x0000000a S2 : 0x3fc954d0 S3 : 0x3fc97488
0x42002a8a: console_write at C:/1.Ddisk/3.ESP32/components/vfs/vfs_console.c:71

S4 : 0x3fc98a40 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x0000008c
0x40380001: _vector_table at ??:?

MHARTID : 0x00000000

Failed to run gdb_panic_server.py script: Command '['riscv32-esp-elf-gdb', '--batch', '-n', 'c:\\1.ddisk\\3.esp32\\examples\\protocols\\pppos_client\\build\\pppos_client.elf', '-ex', 'target remote | "C:\\Espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe" "C:\\1.Ddisk\\3.ESP32\\tools\\idf_monitor_base\\..\\gdb_panic_server.py" --target esp32c3 "C:\\Users\\CNDEWA~1\\AppData\\Local\\Temp\\tmps1unsjx_"', '-ex', 'bt']' returned non-zero exit status 1.
b'C:\\Espressif\\tools\\riscv32-esp-elf\\esp-2021r2-patch3-8.4.0\\riscv32-esp-elf\\bin\\riscv32-esp-elf-gdb.exe: warning: Couldn\'t determine a path for the index cache directory.\r\nerror starting child process \'"C:\\Espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe" "C:\\1.Ddisk\\3.ESP32\\tools\\idf_monitor_base\\..\\gdb_panic_server.py" --target esp32c3 "C:\\Users\\CNDEWA~1\\AppData\\Local\\Temp\\tmps1unsjx_"\': CreateProcess: No such file or directory\r\nNo stack.\r\n'


Core 0 register dump:
MEPC : 0x42008b48 RA : 0x42008b3e SP : 0x3fc922c0 GP : 0x3fc8c600
TP : 0x3fc7a3b8 T0 : 0x4005890e T1 : 0x10000000 T2 : 0xffffffff
S0/FP : 0x3fc954d0 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x3fc98b10
A2 : 0x00000000 A3 : 0x00000800 A4 : 0x00000000 A5 : 0x42008960
A6 : 0x42002a8a A7 : 0x0000000a S2 : 0x3fc954d0 S3 : 0x3fc97488
S4 : 0x3fc98a40 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x0000008c
MHARTID : 0x00000000

Stack memory:
3fc922c0: 0x3fc954d0 0x00000000 0x00000000 0x42007410 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc922e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc92300: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc92320: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x0000001f 0x42013f08
3fc92340: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x0000000c 0x00000000 0x0000000c 0x3fc8f3d0 0x0000000c
3fc92360: 0x00000000 0x0000000c 0x3fc8f3d0 0x4038a42a 0x00000000 0x00001800 0x3fc8fab0 0x4038091a
3fc92380: 0x00000804 0x0000000c 0x00000000 0x00000000 0x00001800 0x3c08907c 0x00000000 0x3fc8bf94
3fc923a0: 0x00000001 0x00000003 0x00000001 0x00000000 0x00000000 0x0001c200 0x00000002 0x00000003
3fc923c0: 0x0000001b 0x00000017 0x00000400 0x00000200 0x0000001e 0x00000c00 0x00000005 0x00000200
3fc923e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x420710f8
3fc92400: 0x00000000 0x00000000 0x00000000 0x40387a8a 0x00000000 0x00000000 0x00000000 0x00000000
3fc92420: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x27146414 0x01010107 0x00000001 0x000000ff
3fc92440: 0xffffffff 0x7fefffff 0x00000000 0x3fc00000 0x00000000 0x40300000 0x00000000 0x3fe00000
3fc92460: 0x00000000 0x3ff80000 0x636f4361 0x3fd287a7 0x8b60c8b3 0x3fc68a28 0x509f79fb 0x3fd34413
3fc92480: 0x00000000 0x3ff00000 0x00000000 0x40240000 0x00000000 0x401c0000 0x00000000 0x40140000
3fc924a0: 0x00000000 0x43500000 0x7fc00000 0x7f7fffff 0x00000000 0x40000000 0xffc00000 0x41dfffff
3fc924c0: 0x94a03595 0x3fdfffff 0x35afe535 0x3fe00000 0x94a03595 0x3fcfffff 0x00000000 0x7ff80000
3fc924e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000154 0x3fc921b0 0x00000032 0x3fc8dcec
3fc92500: 0x3fc8dcec 0x3fc924f4 0x3fc8dce4 0x00000018 0x3fc96664 0x3fc96664 0x3fc924f4 0x00000000
3fc92520: 0x00000001 0x3fc914f0 0x6e69616d 0xc2018700 0x99fff320 0x001ffcd6 0x00000000 0x3fc924e0
3fc92540: 0x00000001 0x00000000 0x3fc97734 0x4200021e 0x00000000 0x3fc8fd7c 0x3fc8fde4 0x3fc8fe4c
3fc92560: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x4205dd26 0x00000000
3fc92580: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92600: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92620: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92640: 0x00000000 0x3f000000 0x00000154 0x3fc92c30 0x3fc8f3e4 0x3fc8dcd8 0x3fc8dcd8 0x3fc9264c
3fc92660: 0x3fc8dcd0 0x00000019 0x1b6503b5 0x8f4cd457 0x3fc9264c 0x00000000 0x00000000 0x3fc927a4
3fc92680: 0x454c4449 0xba80d700 0x0121b251 0x009890b5 0x00000000 0x3fc92da0 0x00000000 0x00000000
3fc926a0: 0x00000000 0x00000000 0x00000000 0x3fc8fd7c 0x3fc8fde4 0x3fc8fe4c 0x00000000 0x00000000



ELF file SHA256: 6d1019c7b7fa2f7c
ELF file SHA256: 6d1019c7b7fa2f7c

Rebooting...
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380596
0x40380596: esp_restart_noos_dig at C:/1.Ddisk/3.ESP32/components/esp_system/esp_system.c:44 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x16bc
load:0x403ce000,len:0x930
load:0x403d0000,len:0x2d28
entry 0x403ce000
I (35) boot: ESP-IDF v4.4.1 2nd stage bootloader
I (35) boot: compile time 15:59:55
I (35) boot: chip revision: 3
I (37) boot.esp32c3: SPI Speed : 80MHz
I (42) boot.esp32c3: SPI Mode : DIO
I (46) boot.esp32c3: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (60) boot: ## Label Usage Type ST Offset Length
I (67) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (75) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (82) boot: 2 factory factory app 00 00 00010000 00100000
I (90) boot: End of partition table
I (94) esp_image: segment 0: paddr=00010020 vaddr=3c080020 size=18300h ( 99072) map
I (118) esp_image: segment 1: paddr=00028328 vaddr=3fc8be00 size=01694h ( 5780) load
I (119) esp_image: segment 2: paddr=000299c4 vaddr=40380000 size=06654h ( 26196) load
I (128) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=71500h (464128) map
I (204) esp_image: segment 4: paddr=000a1528 vaddr=40386654 size=05728h ( 22312) load
I (209) esp_image: segment 5: paddr=000a6c58 vaddr=50000010 size=00010h ( 16) load
I (214) boot: Loaded app from partition at offset 0x10000
I (216) boot: Disabling RNG early entropy source...
I (233) cpu_start: Pro cpu up.
I (242) cpu_start: Pro cpu start user code
I (242) cpu_start: cpu freq: 160000000
I (242) cpu_start: Application information:
I (244) cpu_start: Project name: pppos_client
I (250) cpu_start: App version: v4.4.1
I (255) cpu_start: Compile time: Jun 14 2022 15:58:39
I (261) cpu_start: ELF file SHA256: 6d1019c7b7fa2f7c...
I (267) cpu_start: ESP-IDF: v4.4.1
I (272) heap_init: Initializing. RAM available for dynamic allocation:
I (279) heap_init: At 3FC8F3D0 len 00030C30 (195 KiB): DRAM
I (285) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM
I (292) heap_init: At 50000020 len 00001FE0 (7 KiB): RTCRAM
I (299) spi_flash: detected chip: mxic
I (303) spi_flash: flash io: dio
I (307) sleep: Configure to isolate all GPIO pins in sleep state
I (313) sleep: Enable automatic switching of GPIO sleep configuration
I (321) cpu_start: Starting scheduler.
I (325) uart: queue free spaces: 30
E (825) esp-modem: esp_modem_dte_send_cmd(256): process command timeout
E (825) dce_service: esp_modem_dce_sync(225): send command failed
E (825) bg96: bg96_init(167): sync failed
Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unhandled.

Stack dump detected
Core 0 register dump:
MEPC : 0x42008b48 RA : 0x42008b3e SP : 0x3fc922c0 GP : 0x3fc8c600
0x42008b48: sim7600_init at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:138

0x42008b3e: sim7600_init at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:138

TP : 0x3fc7a3b8 T0 : 0x4005890e T1 : 0x10000000 T2 : 0xffffffff
S0/FP : 0x3fc954d0 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x3fc98b10
A2 : 0x00000000 A3 : 0x00000800 A4 : 0x00000000 A5 : 0x42008960
0x42008960: sim7600_get_battery_status at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:97

A6 : 0x42002a8a A7 : 0x0000000a S2 : 0x3fc954d0 S3 : 0x3fc97488
0x42002a8a: console_write at C:/1.Ddisk/3.ESP32/components/vfs/vfs_console.c:71

S4 : 0x3fc98a40 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x0000008c
0x40380001: _vector_table at ??:?

MHARTID : 0x00000000

Failed to run gdb_panic_server.py script: Command '['riscv32-esp-elf-gdb', '--batch', '-n', 'c:\\1.ddisk\\3.esp32\\examples\\protocols\\pppos_client\\build\\pppos_client.elf', '-ex', 'target remote | "C:\\Espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe" "C:\\1.Ddisk\\3.ESP32\\tools\\idf_monitor_base\\..\\gdb_panic_server.py" --target esp32c3 "C:\\Users\\CNDEWA~1\\AppData\\Local\\Temp\\tmpwv37ptjz"', '-ex', 'bt']' returned non-zero exit status 1.
b'C:\\Espressif\\tools\\riscv32-esp-elf\\esp-2021r2-patch3-8.4.0\\riscv32-esp-elf\\bin\\riscv32-esp-elf-gdb.exe: warning: Couldn\'t determine a path for the index cache directory.\r\nerror starting child process \'"C:\\Espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe" "C:\\1.Ddisk\\3.ESP32\\tools\\idf_monitor_base\\..\\gdb_panic_server.py" --target esp32c3 "C:\\Users\\CNDEWA~1\\AppData\\Local\\Temp\\tmpwv37ptjz"\': CreateProcess: No such file or directory\r\nNo stack.\r\n'


Core 0 register dump:
MEPC : 0x42008b48 RA : 0x42008b3e SP : 0x3fc922c0 GP : 0x3fc8c600
TP : 0x3fc7a3b8 T0 : 0x4005890e T1 : 0x10000000 T2 : 0xffffffff
S0/FP : 0x3fc954d0 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x3fc98b10
A2 : 0x00000000 A3 : 0x00000800 A4 : 0x00000000 A5 : 0x42008960
A6 : 0x42002a8a A7 : 0x0000000a S2 : 0x3fc954d0 S3 : 0x3fc97488
S4 : 0x3fc98a40 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x0000008c
MHARTID : 0x00000000

Stack memory:
3fc922c0: 0x3fc954d0 0x00000000 0x00000000 0x42007410 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc922e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc92300: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc92320: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x0000001f 0x42013f08
3fc92340: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x0000000c 0x00000000 0x0000000c 0x3fc8f3d0 0x0000000c
3fc92360: 0x00000000 0x0000000c 0x3fc8f3d0 0x4038a42a 0x00000000 0x00001800 0x3fc8fab0 0x4038091a
3fc92380: 0x00000804 0x0000000c 0x00000000 0x00000000 0x00001800 0x3c08907c 0x00000000 0x3fc8bf94
3fc923a0: 0x00000001 0x00000003 0x00000001 0x00000000 0x00000000 0x0001c200 0x00000002 0x00000003
3fc923c0: 0x0000001b 0x00000017 0x00000400 0x00000200 0x0000001e 0x00000c00 0x00000005 0x00000200
3fc923e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x420710f8
3fc92400: 0x00000000 0x00000000 0x00000000 0x40387a8a 0x00000000 0x00000000 0x00000000 0x00000000
3fc92420: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x27146414 0x01010107 0x00000001 0x000000ff
3fc92440: 0xffffffff 0x7fefffff 0x00000000 0x3fc00000 0x00000000 0x40300000 0x00000000 0x3fe00000
3fc92460: 0x00000000 0x3ff80000 0x636f4361 0x3fd287a7 0x8b60c8b3 0x3fc68a28 0x509f79fb 0x3fd34413
3fc92480: 0x00000000 0x3ff00000 0x00000000 0x40240000 0x00000000 0x401c0000 0x00000000 0x40140000
3fc924a0: 0x00000000 0x43500000 0x7fc00000 0x7f7fffff 0x00000000 0x40000000 0xffc00000 0x41dfffff
3fc924c0: 0x94a03595 0x3fdfffff 0x35afe535 0x3fe00000 0x94a03595 0x3fcfffff 0x00000000 0x7ff80000
3fc924e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000154 0x3fc921b0 0x00000032 0x3fc8dcec
3fc92500: 0x3fc8dcec 0x3fc924f4 0x3fc8dce4 0x00000018 0x3fc96664 0x3fc96664 0x3fc924f4 0x00000000
3fc92520: 0x00000001 0x3fc914f0 0x6e69616d 0xc2018700 0x99fff320 0x001ffcd6 0x00000000 0x3fc924e0
3fc92540: 0x00000001 0x00000000 0x3fc97734 0x4200021e 0x00000000 0x3fc8fd7c 0x3fc8fde4 0x3fc8fe4c
3fc92560: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x4205dd26 0x00000000
3fc92580: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92600: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92620: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92640: 0x00000000 0x3f000000 0x00000154 0x3fc92c30 0x3fc8f3e4 0x3fc8dcd8 0x3fc8dcd8 0x3fc9264c
3fc92660: 0x3fc8dcd0 0x00000019 0x1b6503b5 0x8f4cd457 0x3fc9264c 0x00000000 0x00000000 0x3fc927a4
3fc92680: 0x454c4449 0xba80d700 0x0121b251 0x009890b5 0x00000000 0x3fc92da0 0x00000000 0x00000000
3fc926a0: 0x00000000 0x00000000 0x00000000 0x3fc8fd7c 0x3fc8fde4 0x3fc8fe4c 0x00000000 0x00000000



ELF file SHA256: 6d1019c7b7fa2f7c
ELF file SHA256: 6d1019c7b7fa2f7c

Rebooting...
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380596
0x40380596: esp_restart_noos_dig at C:/1.Ddisk/3.ESP32/components/esp_system/esp_system.c:44 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x16bc
load:0x403ce000,len:0x930
load:0x403d0000,len:0x2d28
entry 0x403ce000
I (35) boot: ESP-IDF v4.4.1 2nd stage bootloader
I (35) boot: compile time 15:59:55
I (35) boot: chip revision: 3
I (37) boot.esp32c3: SPI Speed : 80MHz
I (42) boot.esp32c3: SPI Mode : DIO
I (46) boot.esp32c3: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (60) boot: ## Label Usage Type ST Offset Length
I (67) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (75) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (82) boot: 2 factory factory app 00 00 00010000 00100000
I (90) boot: End of partition table
I (94) esp_image: segment 0: paddr=00010020 vaddr=3c080020 size=18300h ( 99072) map
I (118) esp_image: segment 1: paddr=00028328 vaddr=3fc8be00 size=01694h ( 5780) load
I (119) esp_image: segment 2: paddr=000299c4 vaddr=40380000 size=06654h ( 26196) load
I (128) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=71500h (464128) map
I (204) esp_image: segment 4: paddr=000a1528 vaddr=40386654 size=05728h ( 22312) load
I (209) esp_image: segment 5: paddr=000a6c58 vaddr=50000010 size=00010h ( 16) load
I (214) boot: Loaded app from partition at offset 0x10000
I (216) boot: Disabling RNG early entropy source...
I (233) cpu_start: Pro cpu up.
I (242) cpu_start: Pro cpu start user code
I (242) cpu_start: cpu freq: 160000000
I (242) cpu_start: Application information:
I (244) cpu_start: Project name: pppos_client
I (250) cpu_start: App version: v4.4.1
I (255) cpu_start: Compile time: Jun 14 2022 15:58:39
I (261) cpu_start: ELF file SHA256: 6d1019c7b7fa2f7c...
I (267) cpu_start: ESP-IDF: v4.4.1
I (272) heap_init: Initializing. RAM available for dynamic allocation:
I (279) heap_init: At 3FC8F3D0 len 00030C30 (195 KiB): DRAM
I (285) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM
I (292) heap_init: At 50000020 len 00001FE0 (7 KiB): RTCRAM
I (299) spi_flash: detected chip: mxic
I (303) spi_flash: flash io: dio
I (307) sleep: Configure to isolate all GPIO pins in sleep state
I (313) sleep: Enable automatic switching of GPIO sleep configuration
I (321) cpu_start: Starting scheduler.
I (325) uart: queue free spaces: 30
E (825) esp-modem: esp_modem_dte_send_cmd(256): process command timeout
E (825) dce_service: esp_modem_dce_sync(225): send command failed
E (825) bg96: bg96_init(167): sync failed
Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unhandled.

Stack dump detected
Core 0 register dump:
MEPC : 0x42008b48 RA : 0x42008b3e SP : 0x3fc922c0 GP : 0x3fc8c600
0x42008b48: sim7600_init at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:138

0x42008b3e: sim7600_init at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:138

TP : 0x3fc7a3b8 T0 : 0x4005890e T1 : 0x10000000 T2 : 0xffffffff
S0/FP : 0x3fc954d0 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x3fc98b10
A2 : 0x00000000 A3 : 0x00000800 A4 : 0x00000000 A5 : 0x42008960
0x42008960: sim7600_get_battery_status at c:\1.ddisk\3.esp32\examples\protocols\pppos_client\build/../components/modem/src/sim7600.c:97

A6 : 0x42002a8a A7 : 0x0000000a S2 : 0x3fc954d0 S3 : 0x3fc97488
0x42002a8a: console_write at C:/1.Ddisk/3.ESP32/components/vfs/vfs_console.c:71

S4 : 0x3fc98a40 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x0000008c
0x40380001: _vector_table at ??:?

MHARTID : 0x00000000

Failed to run gdb_panic_server.py script: Command '['riscv32-esp-elf-gdb', '--batch', '-n', 'c:\\1.ddisk\\3.esp32\\examples\\protocols\\pppos_client\\build\\pppos_client.elf', '-ex', 'target remote | "C:\\Espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe" "C:\\1.Ddisk\\3.ESP32\\tools\\idf_monitor_base\\..\\gdb_panic_server.py" --target esp32c3 "C:\\Users\\CNDEWA~1\\AppData\\Local\\Temp\\tmpruksus6e"', '-ex', 'bt']' returned non-zero exit status 1.
b'C:\\Espressif\\tools\\riscv32-esp-elf\\esp-2021r2-patch3-8.4.0\\riscv32-esp-elf\\bin\\riscv32-esp-elf-gdb.exe: warning: Couldn\'t determine a path for the index cache directory.\r\nerror starting child process \'"C:\\Espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe" "C:\\1.Ddisk\\3.ESP32\\tools\\idf_monitor_base\\..\\gdb_panic_server.py" --target esp32c3 "C:\\Users\\CNDEWA~1\\AppData\\Local\\Temp\\tmpruksus6e"\': CreateProcess: No such file or directory\r\nNo stack.\r\n'


Core 0 register dump:
MEPC : 0x42008b48 RA : 0x42008b3e SP : 0x3fc922c0 GP : 0x3fc8c600
TP : 0x3fc7a3b8 T0 : 0x4005890e T1 : 0x10000000 T2 : 0xffffffff
S0/FP : 0x3fc954d0 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x3fc98b10
A2 : 0x00000000 A3 : 0x00000800 A4 : 0x00000000 A5 : 0x42008960
A6 : 0x42002a8a A7 : 0x0000000a S2 : 0x3fc954d0 S3 : 0x3fc97488
S4 : 0x3fc98a40 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x0000008c
MHARTID : 0x00000000

Stack memory:
3fc922c0: 0x3fc954d0 0x00000000 0x00000000 0x42007410 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc922e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc92300: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc92320: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x0000001f 0x42013f08
3fc92340: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x0000000c 0x00000000 0x0000000c 0x3fc8f3d0 0x0000000c
3fc92360: 0x00000000 0x0000000c 0x3fc8f3d0 0x4038a42a 0x00000000 0x00001800 0x3fc8fab0 0x4038091a
3fc92380: 0x00000804 0x0000000c 0x00000000 0x00000000 0x00001800 0x3c08907c 0x00000000 0x3fc8bf94
3fc923a0: 0x00000001 0x00000003 0x00000001 0x00000000 0x00000000 0x0001c200 0x00000002 0x00000003
3fc923c0: 0x0000001b 0x00000017 0x00000400 0x00000200 0x0000001e 0x00000c00 0x00000005 0x00000200
3fc923e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x420710f8
3fc92400: 0x00000000 0x00000000 0x00000000 0x40387a8a 0x00000000 0x00000000 0x00000000 0x00000000
3fc92420: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x27146414 0x01010107 0x00000001 0x000000ff
3fc92440: 0xffffffff 0x7fefffff 0x00000000 0x3fc00000 0x00000000 0x40300000 0x00000000 0x3fe00000
3fc92460: 0x00000000 0x3ff80000 0x636f4361 0x3fd287a7 0x8b60c8b3 0x3fc68a28 0x509f79fb 0x3fd34413
3fc92480: 0x00000000 0x3ff00000 0x00000000 0x40240000 0x00000000 0x401c0000 0x00000000 0x40140000
3fc924a0: 0x00000000 0x43500000 0x7fc00000 0x7f7fffff 0x00000000 0x40000000 0xffc00000 0x41dfffff
3fc924c0: 0x94a03595 0x3fdfffff 0x35afe535 0x3fe00000 0x94a03595 0x3fcfffff 0x00000000 0x7ff80000
3fc924e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000154 0x3fc921b0 0x00000032 0x3fc8dcec
3fc92500: 0x3fc8dcec 0x3fc924f4 0x3fc8dce4 0x00000018 0x3fc96664 0x3fc96664 0x3fc924f4 0x00000000
3fc92520: 0x00000001 0x3fc914f0 0x6e69616d 0xc2018700 0x99fff320 0x001ffcd6 0x00000000 0x3fc924e0
3fc92540: 0x00000001 0x00000000 0x3fc97734 0x4200021e 0x00000000 0x3fc8fd7c 0x3fc8fde4 0x3fc8fe4c
3fc92560: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x4205dd26 0x00000000
3fc92580: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc925e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92600: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92620: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc92640: 0x00000000 0x3f000000 0x00000154 0x3fc92c30 0x3fc8f3e4 0x3fc8dcd8 0x3fc8dcd8 0x3fc9264c
3fc92660: 0x3fc8dcd0 0x00000019 0x1b6503b5 0x8f4cd457 0x3fc9264c 0x00000000 0x00000000 0x3fc927a4
3fc92680: 0x454c4449 0xba80d700 0x0121b251 0x009890b5 0x00000000 0x3fc92da0 0x00000000 0x00000000
3fc926a0: 0x00000000 0x00000000 0x00000000 0x3fc8fd7c 0x3fc8fde4 0x3fc8fe4c 0x00000000 0x00000000



ELF file SHA256: 6d1019c7b7fa2f7c
ELF file SHA256: 6d1019c7b7fa2f7c

Rebooting...
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380596
0x40380596: esp_restart_noos_dig at C:/1.Ddisk/3.ESP32/components/esp_system/esp_system.c:44 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x16bc
load:0x403ce000,len:0x930
load:0x403d0000,len:0x2d28
entry 0x403ce000
I (35) boot: ESP-IDF v4.4.1 2nd stage bootloader

Done
Attachments
WeChat Image_20220614160701.png
WeChat Image_20220614160701.png (17.36 KiB) Viewed 1479 times
WeChat Image_20220614160655.png
WeChat Image_20220614160655.png (22.12 KiB) Viewed 1479 times
WeChat Image_20220614160655.png
WeChat Image_20220614160655.png (22.12 KiB) Viewed 1479 times

netmark
Posts: 12
Joined: Tue Apr 20, 2021 2:04 am

Re: idf4.4.1 -pppos_client_main demo 烧入到板子中不停的重启

Postby netmark » Tue Nov 08, 2022 2:14 pm

你这是串口不通自动复位

Who is online

Users browsing this forum: No registered users and 40 guests