You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the most current version v15.3.0. The ESP seems to crash every round.Here is the serial log:
rst:0x1 (POWERON_RESET),boot:0x12 (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:7664
load:0x40078000,len:15360
load:0x40080400,len:3744
entry 0x4008067c
I (27) boot: ESP-IDF 4.3.2 2nd stage bootloader
I (27) boot: compile time 20:02:47
I (27) boot: chip revision: 1
I (29) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed : 40MHz
I (41) boot.esp32: SPI Mode : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (59) boot: ## Label Usage Type ST Offset Length
I (67) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (74) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (81) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (89) boot: 3 ota_0 OTA app 00 10 00010000 001db000
I (96) boot: 4 ota_1 OTA app 00 11 001f0000 001db000
I (104) boot: End of partition table
I (108) boot_comm: chip revision: 1, min. application chip revision: 0
I (115) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=46fbch (290748) map
I (235) esp_image: segment 1: paddr=00056fe4 vaddr=3ffb0000 size=03ce0h ( 15584) load
I (242) esp_image: segment 2: paddr=0005accc vaddr=40080000 size=0534ch ( 21324) load
I (251) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=1575fch (1406460) map
I (790) esp_image: segment 4: paddr=001b7624 vaddr=4008534c size=15208h ( 86536) load
I (840) boot: Loaded app from partition at offset 0x10000
I (840) boot: Disabling RNG early entropy source...
I (852) quad_psram: This chip is ESP32-D0WD
I (852) esp_psram: Found 8MB PSRAM device
I (852) esp_psram: Speed: 40MHz
I (853) esp_psram: PSRAM initialized, cache is in low/high (2-core) mode.
W (860) esp_psram: Virtual address not enough for PSRAM, map as much as we can. 4MB is mapped
I (868) cpu_start: Pro cpu up.
I (871) cpu_start: Starting app cpu, entry point is 0x40082e48
I (0) cpu_start: App cpu up.
I (1762) esp_psram: SPI SRAM memory test OK
I (1771) cpu_start: Pro cpu start user code
I (1771) cpu_start: cpu freq: 160000000 Hz
I (1771) cpu_start: Application information:
I (1772) cpu_start: Project name: AI-on-the-edge
I (1776) cpu_start: App version: v15.3.0
I (1781) cpu_start: Compile time: Jul 22 2023 09:43:02
I (1786) cpu_start: ELF file SHA256: 29d38f3fa1a9857c...
I (1791) cpu_start: ESP-IDF: 5.0.2
I (1795) cpu_start: Min chip rev: v0.0
I (1799) cpu_start: Max chip rev: v3.99
I (1803) cpu_start: Chip rev: v1.1
I (1807) heap_init: Initializing. RAM available for dynamic allocation:
I (1813) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1818) heap_init: At 3FFBD890 len 00022770 (137 KiB): DRAM
I (1823) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1829) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1834) heap_init: At 4009A554 len 00005AAC (22 KiB): IRAM
I (1840) esp_psram: Adding pool of 4083K of PSRAM memory to heap allocator
I (1848) spi_flash: detected chip: generic
I (1850) spi_flash: flash io: dio
I (1865) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1866) esp_psram: Reserving pool of 40K of internal memory for DMA/internal allocations
I (1866) MAIN:
================ Start app_main =================
I (1986) MAIN: =================================================
I (2006) MAIN: ==================== Start ======================
I (2006) MAIN: =================================================
I (2016) MAIN: PSRAM size: 8388608 byte (8MB / 64MBit)
I (2026) MAIN: Total heap: 4376759 byte
I (2036) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (4036) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2
I (4036) cam_hal: cam init ok
I (4036) sccb: pin_sda 26 pin_scl 27
I (4036) sccb: sccb_i2c_port=1
I (4036) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (4076) camera: Detected camera at address=0x30
I (4076) camera: Detected OV2640 camera
I (4076) camera: Camera PID=0x26 VER=0x42 MIDL=0x7f MIDH=0xa2
I (4166) cam_hal: buffer_size: 32768, half_buffer_size: 4096, node_buffer_size: 2048, node_cnt: 16, total_cnt: 15
I (4166) cam_hal: Allocating 61440 Byte frame buffer in PSRAM
I (4166) cam_hal: cam config ok
I (4166) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8
I (6246) MAIN: Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
I (6256) SDCARD: Basic R/W check started...
I (6296) SDCARD: Basic R/W check successful
I (6346) SNTP: TimeServer not defined, using default: pool.ntp.org
I (6356) SNTP: Configuring NTP Client...
I (6366) SNTP: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
I (6376) SNTP: The local time is unknown, starting with 1970-01-01 01:00:04
I (6386) SNTP: Once the NTP server provides a time, we will switch to that one
I (6406) MAIN: CPU frequency: 160 MHz
I (6416) OTA: Start CheckOTAUpdateCheck...
I (6426) OTA: SHA-256 for the partition table: : 9d4a2809ae90fb20709a8ca3dd3ac3462e1e73286bcd31b689060c91de06fa3a
I (6446) OTA: SHA-256 for bootloader: : 4a9573dafac5d5c79c43e5a356568332da3a99dd2e220da6ceeadc96d32708a2
I (6926) OTA: SHA-256 for current firmware: : b64a22854eb1e33763bde88abf63d86bb137038b818f619734b7e59e5fc8e6b6
I (6966) SDCARD: Folder/file presence check started...
I (6986) SDCARD: Folder/file presence check successful
I (6996) MAIN: Tag: 'v15.3.0', Release: v15.3.0 (Commit: 3fbff0a), Date/Time: 2023-07-22 09:42, Web UI: Release: v15.3.0 (Commit: 3fbff0a)
I (7016) MAIN: Reset reason: Power-on event (or reset button)
I (7026) WLANINI: SSID: MyAP
I (7036) WLANINI: Password: XXXXXXXX
I (7046) WLANINI: RSSIThreshold: -75
I (7056) MAIN: WLAN config loaded, init WIFI...
I (7066) WIFI: Automatic interface config --> Use DHCP service
I (7086) wifi:wifi driver task: 3ffd1158, prio:23, stack:6144, core=0
I (7086) system_api: Base MAC address is not set
I (7086) system_api: read default base MAC address from EFUSE
I (7106) wifi:wifi firmware version: 57982fe
I (7106) wifi:wifi certification version: v7.0
I (7106) wifi:config NVS flash: enabled
I (7106) wifi:config nano formating: enabled
I (7106) wifi:Init data frame dynamic rx buffer num: 16
I (7116) wifi:Init management frame dynamic rx buffer num: 16
I (7116) wifi:Init management short buffer num: 32
I (7126) wifi:Init static tx buffer num: 16
I (7126) wifi:Init tx cache buffer num: 16
I (7136) wifi:Init static rx buffer size: 1600
I (7136) wifi:Init static rx buffer num: 16
I (7136) wifi:Init dynamic rx buffer num: 16
I (7146) wifi_init: rx ba win: 16
I (7146) wifi_init: tcpip mbox: 32
I (7146) wifi_init: udp mbox: 6
I (7156) wifi_init: tcp mbox: 6
I (7156) wifi_init: tcp tx win: 5744
I (7156) wifi_init: tcp rx win: 5744
I (7166) wifi_init: tcp mss: 1440
I (7166) wifi_init: WiFi/LWIP prefer SPIRAM
I (7166) wifi_init: WiFi IRAM OP enabled
I (7176) wifi_init: WiFi RX IRAM OP enabled
I (7196) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (7296) wifi:mode : sta (08:3a:8d:97:3f:50)
I (7296) wifi:enable tsf
I (7306) WIFI: Set hostname to: watermeter
I (7316) WIFI: Init successful
I (9716) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:11
I (10496) wifi:state: init -> auth (b0)
I (10506) wifi:state: auth -> assoc (0)
E (10526) wifi:Set status to INIT
I (10526) wifi:state: assoc -> init (1110)
I (10536) wifi:new:<2,0>, old:<2,0>, ap:<255,255>, sta:<2,0>, prof:11
W (10536) WIFI: Disconnected (5)
W (12956) WIFI: Disconnected (205)
I (15386) wifi:new:<2,0>, old:<2,0>, ap:<255,255>, sta:<2,0>, prof:11
I (15386) wifi:state: init -> auth (b0)
I (15556) wifi:state: auth -> assoc (0)
I (15756) wifi:state: assoc -> run (10)
I (17206) wifi:connected with MyAP, aid = 1, channel 2, BW20, bssid = 86:cc:a8:a2:04:b6
I (17206) wifi:security: WPA2-PSK, phy: bg, rssi: -79
I (17216) wifi:pm start, type: 1
I (17216) WIFI: Connected to: MyAP, RSSI: -78
I (17256) wifi:AP's beacon interval = 102400 us, DTIM period = 2
I (19716) esp_netif_handlers: sta ip: 192.168.4.2, mask: 255.255.255.0, gw: 192.168.4.1
I (19716) WIFI: Assigned IP: 192.168.4.2
I (27326) MAIN: Device info: CPU cores: 2, Chip revision: 101
I (27336) MAIN: SD card info: Name: SC16G, Capacity: 15193MB, Free: 15170MB
I (29336) MAIN SERVER: Starting server on port: '80'
I (29336) MAIN SERVER: Registering URI handlers
I (29336) MAINCTRL: server_main_flow_task - Registering URI handlers
I (29336) OTA: Registering URI handlers
I (29336) GPIO: start GpioHandler
I (29346) GPIO: register GPIO Uri
I (29346) GPIO: server_GPIO - Registering URI handlers
I (29356) MAIN: Initialization completed successfully
I (29386) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x401f4c27 PS : 0x00060e30 A0 : 0x801a930d A1 : 0x3ffe8de0
A2 : 0x3ffdebf8 A3 : 0x3ffdeb98 A4 : 0x94e2e84d A5 : 0x3f8d9284
A6 : 0x00000000 A7 : 0x00000005 A8 : 0x00000000 A9 : 0x3f42d7e8
A10 : 0x3f8d9284 A11 : 0x00000008 A12 : 0x00000004 A13 : 0x00000001
A14 : 0x00000000 A15 : 0x3ffdee70 SAR : 0x00000015 EXCCAUSE: 0x0000001c
EXCVADDR: 0x94e2e84d LBEG : 0x4008a3c2 LEND : 0x4008a3cd LCOUNT : 0x00000000
Backtrace: 0x401f4c24:0x3ffe8de0 0x401a930a:0x3ffe8e00 0x401180cc:0x3ffe8e30 0x401050e4:0x3ffe8ea0 0x40105228:0x3ffe8f40 0x4010733f:0x3ffe8f60 0x400f9ef5:0x3ffe90c0 0x40101022:0x3ffe9510 0x4010139e:0x3ffe9550
ELF file SHA256: 29d38f3fa1a9857c
Rebooting...
I think the ESP has enough RAM und it seems the SD card is working. Any idea what is wrong?
The Problem
Hi,
I'm using the most current version v15.3.0. The ESP seems to crash every round.Here is the serial log:
I think the ESP has enough RAM und it seems the SD card is working. Any idea what is wrong?
Thank you,
Karl
Version
v15.3.0 (Commit: 3fbff0a)
Logfile
Expected Behavior
Take picture, analyze it and send send the value per MQTT and do not crash.
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: