The CameraWebServer routine of Arduino does not support ESP32S3-R8 to obtain high-resolution image quality of OV5604 cam
Posted: Thu Oct 31, 2024 9:40 am
1. Equipment environment description:
Refer to XIAO's hardware schematic for hardware design. website: https://wiki.seeedstudio.com/xiao_esp32 ... g_started/
The camera selected is OV5640.
SoC:ESP32-S3R8。
ArduinoIDE 2.3.3。
ESP32 by ESPressif Systems version 3.0.5.
2. Problem description:
(1) Set the Arduino environment options according to the above reference design, modify the wifi and password in the routine, and compile and download. The program can be downloaded, but the firmware ESP32 compiled with the OPIPSRAM option will not start.
(2) After turning off this option, it can compile and run, but it is not working properly and cannot obtain high-resolution and high frame rate images.
3. The above (1) logs that cannot be started:
ELF file SHA256: f390f9e593f2a771
Re-entered core dump! Exception happened during core dump!
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403777c5
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x109c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xb50
load:0x403cc700,len:0x2fe4
entry 0x403c98ac
E (573) esp_core_dump_flash: No core dump partition found!
E (573) esp_core_dump_flash: No core dump partition found!
cam_hal: EV-EOF-OVF
cam_hal: EV-VSYNC-OVF
cam_hal: EV-VSYNC-OVF
cam_hal: EV-VSYNC-OVF
cam_hal: EV-VSYNC-OVF
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0).
Core 0 register dump:
PC : 0x4038155c PS : 0x00060e34 A0 : 0x80383808 A1 : 0x3fcee610
A2 : 0x3fef2334 A3 : 0xffffffff A4 : 0x0000cdcd A5 : 0x00060223
A6 : 0x1a6c5705 A7 : 0xb33fffff A8 : 0x80381565 A9 : 0x3fcee5f0
A10 : 0x00000000 A11 : 0xb33fffff A12 : 0x00000000 A13 : 0x00000001
A14 : 0x000001b1 A15 : 0x420991c8 SAR : 0x0000000e EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x40056f5c LEND : 0x40056f72 LCOUNT : 0x00000000
Backtrace: 0x40381559:0x3fcee610 0x40383805:0x3fcee640 0x4038392d:0x3fcee660 0x40377cef:0x3fcee680 0x40384ce1:0x3fcee6a0 0x4201d34f:0x3fcee6c0 0x4201d406:0x3fcee6e0 0x4201d483:0x3fcee700 0x42023129:0x3fcee720 0x4201cf85:0x3fcee740 0x403813b6:0x3fcee770
Core 1 register dump:
PC : 0x4037bdc6 PS : 0x00060934 A0 : 0x82010088 A1 : 0x3fcab900
A2 : 0x00000000 A3 : 0xb33fffff A4 : 0x8038164d A5 : 0x3fceb8d0
A6 : 0x00060023 A7 : 0x00000003 A8 : 0x00060023 A9 : 0x00000001
A10 : 0x80000000 A11 : 0x00000001 A12 : 0x00000000 A13 : 0x3fceb8a0
A14 : 0x00000005 A15 : 0x00000020 SAR : 0x00000000 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x4037bdc3:0x3fcab900 0x42010085:0x3fcab920 0x4037f6db:0x3fcab940 0x403813b6:0x3fcab960
4. Assistance on the working condition and requirements of the board:
I have checked the power supply of the board and it is working normally. The FLASH power supply is also within the normal range. After working with the ESP chip and FLASH for a period of time, the temperature will be relatively hot, around 70 ℃.
Can you help locate the reason why the OPIPSRAM option cannot start normally after being turned on? I hope there is a solution.
Refer to XIAO's hardware schematic for hardware design. website: https://wiki.seeedstudio.com/xiao_esp32 ... g_started/
The camera selected is OV5640.
SoC:ESP32-S3R8。
ArduinoIDE 2.3.3。
ESP32 by ESPressif Systems version 3.0.5.
2. Problem description:
(1) Set the Arduino environment options according to the above reference design, modify the wifi and password in the routine, and compile and download. The program can be downloaded, but the firmware ESP32 compiled with the OPIPSRAM option will not start.
(2) After turning off this option, it can compile and run, but it is not working properly and cannot obtain high-resolution and high frame rate images.
3. The above (1) logs that cannot be started:
ELF file SHA256: f390f9e593f2a771
Re-entered core dump! Exception happened during core dump!
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403777c5
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x109c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xb50
load:0x403cc700,len:0x2fe4
entry 0x403c98ac
E (573) esp_core_dump_flash: No core dump partition found!
E (573) esp_core_dump_flash: No core dump partition found!
cam_hal: EV-EOF-OVF
cam_hal: EV-VSYNC-OVF
cam_hal: EV-VSYNC-OVF
cam_hal: EV-VSYNC-OVF
cam_hal: EV-VSYNC-OVF
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0).
Core 0 register dump:
PC : 0x4038155c PS : 0x00060e34 A0 : 0x80383808 A1 : 0x3fcee610
A2 : 0x3fef2334 A3 : 0xffffffff A4 : 0x0000cdcd A5 : 0x00060223
A6 : 0x1a6c5705 A7 : 0xb33fffff A8 : 0x80381565 A9 : 0x3fcee5f0
A10 : 0x00000000 A11 : 0xb33fffff A12 : 0x00000000 A13 : 0x00000001
A14 : 0x000001b1 A15 : 0x420991c8 SAR : 0x0000000e EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x40056f5c LEND : 0x40056f72 LCOUNT : 0x00000000
Backtrace: 0x40381559:0x3fcee610 0x40383805:0x3fcee640 0x4038392d:0x3fcee660 0x40377cef:0x3fcee680 0x40384ce1:0x3fcee6a0 0x4201d34f:0x3fcee6c0 0x4201d406:0x3fcee6e0 0x4201d483:0x3fcee700 0x42023129:0x3fcee720 0x4201cf85:0x3fcee740 0x403813b6:0x3fcee770
Core 1 register dump:
PC : 0x4037bdc6 PS : 0x00060934 A0 : 0x82010088 A1 : 0x3fcab900
A2 : 0x00000000 A3 : 0xb33fffff A4 : 0x8038164d A5 : 0x3fceb8d0
A6 : 0x00060023 A7 : 0x00000003 A8 : 0x00060023 A9 : 0x00000001
A10 : 0x80000000 A11 : 0x00000001 A12 : 0x00000000 A13 : 0x3fceb8a0
A14 : 0x00000005 A15 : 0x00000020 SAR : 0x00000000 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x4037bdc3:0x3fcab900 0x42010085:0x3fcab920 0x4037f6db:0x3fcab940 0x403813b6:0x3fcab960
4. Assistance on the working condition and requirements of the board:
I have checked the power supply of the board and it is working normally. The FLASH power supply is also within the normal range. After working with the ESP chip and FLASH for a period of time, the temperature will be relatively hot, around 70 ℃.
Can you help locate the reason why the OPIPSRAM option cannot start normally after being turned on? I hope there is a solution.