ESP32烧录后一直重启,请问是什么原因

Moderator: ESP_Bob

lijincheng
Posts: 2
Joined: Mon Oct 28, 2024 2:29 pm

ESP32烧录后一直重启,请问是什么原因

Postby lijincheng » Mon Oct 28, 2024 2:42 pm

PS D:\eps32s3\spi_lcd_touch> & set IDF_PATH='c:\Espressif5.1.3\frameworks\esp-idf-v5.1.3'
PS D:\eps32s3\spi_lcd_touch> & 'C:\Users\99514\.espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe' 'c:\Espressif5.1.3\frameworks\esp-idf-v5.1.3\tools\idf_monitor.py' -p COM7 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 'd:\eps32s3\spi_lcd_touch\build\spi_lcd_touch.elf'
--- Warning: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM7 instead...
--- esp-idf-monitor 1.5.0 on \\.\COM7 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H

�ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, 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:0x3fff0030,len:7116
ho 0 tail 12 room 4
load:0x40078000,len:15616
load:0x40080400,len:4
--- 0x40080400: _init at ??:?

load:0x40080404,len:3876
entry 0x4008064c
I (31) boot: ESP-IDF v5.1.3-dirty 2nd stage bootloader
I (31) boot: compile time Oct 28 2024 21:33:45
I (31) boot: Multicore bootloader
I (36) boot: chip revision: v3.1
I (40) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (49) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=114f0h ( 70896) map
I (130) esp_image: segment 1: paddr=00021518 vaddr=3ffb0000 size=02378h ( 9080) load
I (134) esp_image: segment 2: paddr=00023898 vaddr=40080000 size=0c780h ( 51072) load
I (157) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=423f8h (271352) map
I (256) esp_image: segment 4: paddr=00072420 vaddr=4008c780 size=02c00h ( 11264) load
I (268) boot: Loaded app from partition at offset 0x10000
I (268) boot: Disabling RNG early entropy source...
I (280) cpu_start: Multicore app
I (280) cpu_start: Pro cpu up.
I (280) cpu_start: Starting app cpu, entry point is 0x400813bc
--- 0x400813bc: call_start_cpu1 at C:/Espressif5.1.3/frameworks/esp-idf-v5.1.3/components/esp_system/port/cpu_start.c:159

I (0) cpu_start: App cpu up.
I (300) cpu_start: Pro cpu start user code
I (300) cpu_start: cpu freq: 160000000 Hz
I (300) cpu_start: Application information:
I (305) cpu_start: Project name: spi_lcd_touch
I (311) cpu_start: App version: 1
I (315) cpu_start: Compile time: Oct 28 2024 21:31:18
I (321) cpu_start: ELF file SHA256: 3bf63571e3c17523...
I (327) cpu_start: ESP-IDF: v5.1.3-dirty
I (332) cpu_start: Min chip rev: v0.0
I (337) cpu_start: Max chip rev: v3.99
I (342) cpu_start: Chip rev: v3.1
I (347) heap_init: Initializing. RAM available for dynamic allocation:
I (354) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (360) heap_init: At 3FFBB110 len 00024EF0 (147 KiB): DRAM
I (366) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (373) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (379) heap_init: At 4008F380 len 00010C80 (67 KiB): IRAM
I (387) spi_flash: detected chip: generic
I (390) spi_flash: flash io: dio
I (394) app_start: Starting scheduler on CPU0
I (399) app_start: Starting scheduler on CPU1ets Jul 29 2019 12:21:46

rst:0x8 (TG1WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, 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:0x3fff0030,len:7116
ho 0 tail 12 room 4
load:0x40078000,len:15616
load:0x40080400,len:4
--- 0x40080400: _init at ??:?

load:0x40080404,len:3876
entry 0x4008064c
I (62) boot: ESP-IDF v5.1.3-dirty 2nd stage bootloader
I (62) boot: compile time Oct 28 2024 21:33:45
I (62) boot: Multicore bootloader
I (67) boot: chip revision: v3.1
I (71) boot.esp32: SPI Speed : 40MHz
I (76) boot.esp32: SPI Mode : DIO
I (80) boot.esp32: SPI Flash Size : 4MB
W (85) boot.esp32: PRO CPU has been reset by WDT.
W (90) boot.esp32: WDT reset info: PRO CPU PC=0x40081a81
--- 0x40081a81: panicHandler at C:/Espressif5.1.3/frameworks/esp-idf-v5.1.3/components/esp_system/port/panic_handler.c:217

W (96) boot.esp32: WDT reset info: APP CPU PC=0x40081a81
--- 0x40081a81: panicHandler at C:/Espressif5.1.3/frameworks/esp-idf-v5.1.3/components/esp_system/port/panic_handler.c:217

I (102) boot: Enabling RNG early entropy source...
I (107) boot: Partition Table:
I (111) boot: ## Label Usage Type ST Offset Length
I (119) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (126) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (134) boot: 2 factory factory app 00 00 00010000 00100000
I (141) boot: End of partition table
I (145) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=114f0h ( 70896) map
I (180) esp_image: segment 1: paddr=00021518 vaddr=3ffb0000 size=02378h ( 9080) load
I (184) esp_image: segment 2: paddr=00023898 vaddr=40080000 size=0c780h ( 51072) load
I (207) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=423f8h (271352) map
I (305) esp_image: segment 4: paddr=00072420 vaddr=4008c780 size=02c00h ( 11264) load
I (317) boot: Loaded app from partition at offset 0x10000
I (318) boot: Disabling RNG early entropy source...
I (329) cpu_start: Multicore app
I (330) cpu_start: Pro cpu up.
I (330) cpu_start: Starting app cpu, entry point is 0x400813bc
--- 0x400813bc: call_start_cpu1 at C:/Espressif5.1.3/frameworks/esp-idf-v5.1.3/components/esp_system/port/cpu_start.c:159

I (0) cpu_start: App cpu up.
I (350) cpu_start: Pro cpu start user code
I (350) cpu_start: cpu freq: 160000000 Hz
I (350) cpu_start: Application information:
I (354) cpu_start: Project name: spi_lcd_touch
I (360) cpu_start: App version: 1
I (364) cpu_start: Compile time: Oct 28 2024 21:31:18
I (370) cpu_start: ELF file SHA256: 3bf63571e3c17523...
I (376) cpu_start: ESP-IDF: v5.1.3-dirty
I (382) cpu_start: Min chip rev: v0.0
I (386) cpu_start: Max chip rev: v3.99
I (391) cpu_start: Chip rev: v3.1
I (396) heap_init: Initializing. RAM available for dynamic allocation:
I (403) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (409) heap_init: At 3FFBB110 len 00024EF0 (147 KiB): DRAM
I (415) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (422) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (428) heap_init: At 4008F380 len 00010C80 (67 KiB): IRAM
I (436) spi_flash: detected chip: generic
I (439) spi_flash: flash io: dio
I (444) app_start: Starting scheduler on CPU0
I (448) app_start: Starting scheduler on CPU1ets Jul 29 2019 12:21:46

rst:0x8 (TG1WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, 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:0x3fff0030,len:7116
ho 0 tail 12 room 4
load:0x40078000,len:15616
load:0x40080400,len:4
--- 0x40080400: _init at ??:?

load:0x40080404,len:3876
entry 0x4008064c
I (62) boot: ESP-IDF v5.1.3-dirty 2nd stage bootloader
I (62) boot: compile time Oct 28 2024 21:33:45
I (62) boot: Multicore bootloader
I (67) boot: chip revision: v3.1
I (71) boot.esp32: SPI Speed : 40MHz
I (76) boot.esp32: SPI Mode : DIO
I (80) boot.esp32: SPI Flash Size : 4MB
W (85) boot.esp32: PRO CPU has been reset by WDT.
W (90) boot.esp32: WDT reset info: PRO CPU PC=0x40081a81
--- 0x40081a81: panicHandler at C:/Espressif5.1.3/frameworks/esp-idf-v5.1.3/components/esp_system/port/panic_handler.c:217

W (96) boot.esp32: WDT reset info: APP CPU PC=0x40081a81
--- 0x40081a81: panicHandler at C:/Espressif5.1.3/frameworks/esp-idf-v5.1.3/components/esp_system/port/panic_handler.c:217

I (102) boot: Enabling RNG early entropy source...
I (108) boot: Partition Table:
I (111) boot: ## Label Usage Type ST Offset Length
I (119) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (126) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (134) boot: 2 factory factory app 00 00 00010000 00100000
I (141) boot: End of partition table
I (145) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=114f0h ( 70896) map
I (180) esp_image: segment 1: paddr=00021518 vaddr=3ffb0000 size=02378h ( 9080) load
I (184) esp_image: segment 2: paddr=00023898 vaddr=40080000 size=0c780h ( 51072) load
I (207) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=423f8h (271352) map
I (305) esp_image: segment 4: paddr=00072420 vaddr=4008c780 size=02c00h ( 11264) load
I (317) boot: Loaded app from partition at offset 0x10000
I (318) boot: Disabling RNG early entropy source...
I (329) cpu_start: Multicore app
I (330) cpu_start: Pro cpu up.
I (330) cpu_start: Starting app cpu, entry point is 0x400813bc
--- 0x400813bc: call_start_cpu1 at C:/Espressif5.1.3/frameworks/esp-idf-v5.1.3/components/esp_system/port/cpu_start.c:159

I (0) cpu_start: App cpu up.
I (350) cpu_start: Pro cpu start user code
I (350) cpu_start: cpu freq: 160000000 Hz
I (350) cpu_start: Application information:
I (354) cpu_start: Project name: spi_lcd_touch
I (360) cpu_start: App version: 1
I (364) cpu_start: Compile time: Oct 28 2024 21:31:18
I (370) cpu_start: ELF file SHA256: 3bf63571e3c17523...
I (376) cpu_start: ESP-IDF: v5.1.3-dirty
I (382) cpu_start: Min chip rev: v0.0
I (386) cpu_start: Max chip rev: v3.99
I (391) cpu_start: Chip rev: v3.1
I (396) heap_init: Initializing. RAM available for dynamic allocation:
I (403) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (409) heap_init: At 3FFBB110 len 00024EF0 (147 KiB): DRAM
I (415) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (422) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (428) heap_init: At 4008F380 len 00010C80 (67 KiB): IRAM
I (436) spi_flash: detected chip: generic
I (439) spi_flash: flash io: dio
I (444) app_start: Starting scheduler on CPU0
I (448) app_start: Starting scheduler on CPU1

BasicGearwheel
Posts: 1
Joined: Sun Nov 03, 2024 6:01 pm

Re: ESP32烧录后一直重启,请问是什么原因

Postby BasicGearwheel » Sun Nov 03, 2024 6:03 pm

好像是内存问题,你是不是使用了一个非静态分配的指针?

Who is online

Users browsing this forum: No registered users and 14 guests