Page 1 of 1

ESP32-S3-EYE在运行中老是重启

Posted: Wed Apr 10, 2024 1:34 pm
by Ccssjnjn
ESP32-S3-EYE在运行ESP-WHO/example/eye32-s3-eye时,如果处在人脸识别的工作模式,如果有人脸被检测后,工作一会后就会重启(10S内)。
会报如下重启的日志
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I (309240) App/Button: Button[3] is clicked
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x8 (TG1WDT_SYS_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x4200392f
0x4200392f: panic_handler at /root/esp/esp-idf/components/esp_system/port/panic_handler.c:147 (discriminator 3)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x1860
load:0x403c9700,len:0xd7c
load:0x403cc700,len:0x2e64
entry 0x403c9934
I (24) boot: ESP-IDF v5.0.6-235-ga463942e14 2nd stage bootloader
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
也会报另外一种重启原因的日志
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
I (71701) App/Button: Button[1] is clicked
cam_hal: EV-VSYNC-OVF
cam_hal: EV-VSYNC-OVF
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Core 0 register dump:
PC : 0x420592fe PS : 0x00060930 A0 : 0x7bfb4290 A1 : 0x3fcdd730
0x420592fe: dl_tie728_atrous_conv1d_accx_i16o16k16_check_ind_0 at /home/sunxiangyu/workspace/esp_sr_lib/components/dl_lib/base/tie728/dl_tie728_atrous_conv1d_accx_i16o16k16.S:116

A2 : 0x3fcaf840 A3 : 0x3fcafb70 A4 : 0x3c2d6ae0 A5 : 0x00000000
A6 : 0x000000c0 A7 : 0x00000006 A8 : 0x3fcb0fb0 A9 : 0x0000000a
A10 : 0x00000000 A11 : 0x00000001 A12 : 0x00000002 A13 : 0x00000000
A14 : 0xbf6117a0 A15 : 0x00000040 SAR : 0x00000013 EXCCAUSE: 0x0000001c
EXCVADDR: 0xbf6117a0 LBEG : 0x4205930c LEND : 0x4205931a LCOUNT : 0x00000000
0x4205930c: dl_tie728_atrous_conv1d_accx_i16o16k16_check_ind_0 at /home/sunxiangyu/workspace/esp_sr_lib/components/dl_lib/base/tie728/dl_tie728_atrous_conv1d_accx_i16o16k16.S:122

0x4205931a: dl_tie728_atrous_conv1d_accx_i16o16k16_loop_i_end at /home/sunxiangyu/workspace/esp_sr_lib/components/dl_lib/base/tie728/dl_tie728_atrous_conv1d_accx_i16o16k16.S:128



Backtrace: 0x420592fb:0x3fcdd730 0x7bfb428d:0x3fcdd740 |<-CORRUPTED
0x420592fb: dl_tie728_atrous_conv1d_accx_i16o16k16_check_ind_0 at /home/sunxiangyu/workspace/esp_sr_lib/components/dl_lib/base/tie728/dl_tie728_atrous_conv1d_accx_i16o16k16.S:115





ELF file SHA256: dc787fe847054533

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375cd9
0x40375cd9: esp_restart_noos_dig at /root/esp/esp-idf/components/esp_system/esp_system.c:64 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x1860
load:0x403c9700,len:0xd7c
load:0x403cc700,len:0x2e64
entry 0x403c9934
I (24) boot: ESP-IDF v5.0.6-235-ga463942e14 2nd stage bootloader
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
对示例代码没有进行任何一点改动

Re: ESP32-S3-EYE在运行中老是重启

Posted: Tue Apr 16, 2024 2:49 am
by ESP_WangYX
LoadProhibited 的错误,应该是没有检查 fb = esp_camera_fb_get(); 返回的 fb 是否为空导致的。