I have board rebooting problem while allocating frame buffer in PSRAM for OV5640 camera.
Any guide for me to fix this problem?
Regards,
1. Logging Camera-webserver-demo with ESP-EYE board. (Booting Success)
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x13 (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:1
load:0x3fff0030,len:4
load:0x3fff0034,len:5640
load:0x40078000,len:14084
load:0x40080400,len:4324
entry 0x40080658
I (382) psram: This chip is ESP32-D0WD
I (382) spiram: Found 64MBit SPI RAM device
I (383) spiram: SPI RAM mode: flash 80m sram 40m
I (385) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (392) cpu_start: Pro cpu up.
I (396) cpu_start: Application information:
I (401) cpu_start: Project name: camera_web_server
I (407) cpu_start: App version: v0.9.3-60-g73d4e2d-dirty
I (413) cpu_start: Compile time: Dec 31 2020 12:58:16
I (419) cpu_start: ELF file SHA256: 0fedb032fcbe2bae...
I (425) cpu_start: ESP-IDF: v4.1-dirty
I (431) cpu_start: Starting app cpu, entry point is 0x40081628
I (0) cpu_start: App cpu up.
I (1321) spiram: SPI SRAM memory test OK
I (1321) heap_init: Initializing. RAM available for dynamic allocation:
I (1322) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1328) heap_init: At 3FFBE308 len 00021CF8 (135 KiB): DRAM
I (1334) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1341) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1347) heap_init: At 4009C398 len 00003C68 (15 KiB): IRAM
I (1353) cpu_start: Pro cpu start user code
I (1358) spiram: Adding pool of 4096K of external SPI memory to heap allocator
I (1378) spi_flash: detected chip: generic
I (1379) spi_flash: flash io: qio
I (1379) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1483) wifi:wifi driver task: 3ffc6848, prio:23, stack:6656, core=0
I (1483) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1483) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1503) wifi:wifi firmware version: 3ea4c76
I (1503) wifi:config NVS flash: enabled
I (1503) wifi:config nano formating: disabled
I (1503) wifi:Init dynamic tx buffer num: 32
I (1513) wifi:Init data frame dynamic rx buffer num: 32
I (1513) wifi:Init management frame dynamic rx buffer num: 32
I (1523) wifi:Init management short buffer num: 32
I (1523) wifi:Init static tx buffer num: 16
I (1533) wifi:Init static rx buffer size: 1600
I (1533) wifi:Init static rx buffer num: 10
I (1543) wifi:Init dynamic rx buffer num: 32
I (1543) camera wifi: wifi_init_softap finished.SSID:KIOT-OV5640 password:
I (1643) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
I (1653) wifi:mode : softAP (ac:67:b2:56:9a:09)
I (1653) wifi:Total power save buffer number: 8
I (1653) wifi:Init max length of beacon: 752/752
I (1653) wifi:Init max length of beacon: 752/752
I (1663) wifi:Set ps type: 0
I (1663) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1673) gpio: GPIO[14]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1683) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1693) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1703) gpio: GPIO[14]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1713) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1723) gpio: GPIO[27]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1733) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1743) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1753) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1753) gpio: GPIO[37]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1763) gpio: GPIO[38]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1773) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1783) sccb: pin_sda 18 pin_scl 23
I (2493) camera: Detected OV5640 camera
I (2493) camera: Allocating 2 frame buffers (1920 KB total)
I (2493) camera: Allocating 960 KB frame buffer in PSRAM
I (2753) camera: Allocating 960 KB frame buffer in PSRAM
I (3063) camera_httpd: Starting web server on port: '80'
I (3073) camera_httpd: Starting stream server on port: '81'
I (3073) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x13 (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:4
load:0x3fff0034,len:5640
load:0x40078000,len:14084
load:0x40080400,len:4324
entry 0x40080658
I (415) psram: This chip is ESP32-D0WD
I (416) spiram: Found 64MBit SPI RAM device
I (416) spiram: SPI RAM mode: flash 80m sram 40m
I (419) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (426) cpu_start: Pro cpu up.
I (430) cpu_start: Application information:
I (434) cpu_start: Project name: camera_web_server
I (440) cpu_start: App version: v0.9.3-60-g73d4e2d-dirty
I (447) cpu_start: Compile time: Dec 31 2020 21:06:50
I (453) cpu_start: ELF file SHA256: 8674791e2127d7d9...
I (459) cpu_start: ESP-IDF: v4.1-dirty
I (464) cpu_start: Starting app cpu, entry point is 0x40081628
I (0) cpu_start: App cpu up.
I (1357) spiram: SPI SRAM memory test OK
I (1357) heap_init: Initializing. RAM available for dynamic allocation:
I (1358) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1364) heap_init: At 3FFBE308 len 00021CF8 (135 KiB): DRAM
I (1370) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1377) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1383) heap_init: At 4009C398 len 00003C68 (15 KiB): IRAM
I (1389) cpu_start: Pro cpu start user code
I (1394) spiram: Adding pool of 4096K of external SPI memory to heap allocator
I (1414) spi_flash: detected chip: gd
I (1415) spi_flash: flash io: qio
I (1415) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1498) wifi:wifi driver task: 3ffc6848, prio:23, stack:6656, core=0
I (1498) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1498) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1518) wifi:wifi firmware version: 3ea4c76
I (1518) wifi:config NVS flash: enabled
I (1518) wifi:config nano formating: disabled
I (1518) wifi:Init dynamic tx buffer num: 32
I (1528) wifi:Init data frame dynamic rx buffer num: 32
I (1528) wifi:Init management frame dynamic rx buffer num: 32
I (1538) wifi:Init management short buffer num: 32
I (1538) wifi:Init static tx buffer num: 16
I (1548) wifi:Init static rx buffer size: 1600
I (1548) wifi:Init static rx buffer num: 10
I (1558) wifi:Init dynamic rx buffer num: 32
I (1558) camera wifi: wifi_init_softap finished.SSID:KIOT-OV5640 password:
I (1658) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
I (1658) wifi:mode : softAP (40:f5:20:5b:05:e5)
I (1658) wifi:Total power save buffer number: 8
I (1658) wifi:Init max length of beacon: 752/752
I (1668) wifi:Init max length of beacon: 752/752
I (1668) wifi:Set ps type: 0
I (1678) gpio: GPIO[16]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1678) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1688) gpio: GPIO[23]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1698) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1708) gpio: GPIO[26]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1718) gpio: GPIO[32]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1728) gpio: GPIO[33]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1738) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1748) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1758) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1768) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1778) sccb: pin_sda 18 pin_scl 22
I (2478) camera: Detected OV5640 camera
I (2478) camera: Allocating 2 frame buffers (1920 KB total)
I (2478) camera: Allocating 960 KB frame buffer in PSRAM
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x4009141c PS : 0x00060330 A0 : 0x80084470 A1 : 0x3ffc0080
A2 : 0x3f800000 A3 : 0x000f0000 A4 : 0x00000000 A5 : 0x0000000c
A6 : 0x0000001f A7 : 0x00000001 A8 : 0x00000000 A9 : 0xffffffff
A10 : 0x3f800010 A11 : 0xffffffff A12 : 0x3f800014 A13 : 0x00000000
A14 : 0x00000044 A15 : 0x3ffbff30 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0xffffffff LBEG : 0x4008b3c9 LEND : 0x4008b3d9 LCOUNT : 0xfffffffe
ELF file SHA256: 8674791e2127d7d9
Backtrace: 0x40091419:0x3ffc0080 0x4008446d:0x3ffc00a0 0x4008469a:0x3ffc00c0 0x400e213e:0x3ffc00e0 0x400e299d:0x3ffc0110 0x400e2d11:0x3ffc0140 0x400d94a1:0x3ffc0170 0x400d8ff6:0x3ffc0220 0x400d31c0:0x3ffc0240 0x4008d789:0x3ffc0260
Rebooting...
ets Jul 29 2019 12:21:46