Closed john-arvid closed 12 months ago
Figured it out but wanted to share in case someone else got this issue It solved the initial issue, but not the one with EspCrashDecoder, but it might not be relevant Under tools in arduino IDE i set Erase All Flash Before Sketch Upload to Enable, then uploaded again
Compiled version 9.1 commit 230be6b with Arduino IDE 2.2.1 Choose AI Thinker ESP32-CAM as board (esp32 boards version 2.0.11 by Espressif) Changed Partition Scheme to Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
Connected to created AP and entered wifi credentials. Board connected to wifi and got into a boot loop
From serial
``` [19:57:38]Rebooting... [19:57:38]ets Jun 8 2016 00:22:57 [19:57:38] [19:57:38]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [19:57:38]configsip: 0, SPIWP:0xee [19:57:38]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [19:57:38]mode:DIO, clock div:1 [19:57:38]load:0x3fff0030,len:1344 [19:57:38]load:0x40078000,len:13964 [19:57:38]load:0x40080400,len:3600 [19:57:38]entry 0x400805f0 [19:57:39] [19:57:39] [19:57:39]=============== ESP-CAM_MJPEG 9.1 =============== [19:57:39][00:00:16.749 logSetup] Setup RAM based log, size 7168, starting from 2196 [19:57:39] [19:57:39] [19:57:39][00:00:16.750 printResetReason] Software reset due to exception/panic [19:57:39][00:00:16.760 printWakeupReason] Wakeup by reset [19:57:39][00:00:16.810 infoSD] SD card type SDSC, Size: 1.9GB [19:57:40][00:00:16.811 listFolder] Sketch size 1.5MB [19:57:40][00:00:17.283 listFolder] File: /data/configs.txt, size: 5243 bytes [19:57:40][00:00:17.284 listFolder] SD_MMC: 160KB used [19:57:40][00:00:17.469 loadConfig] Load config [19:57:40][00:00:17.570 updateAppStatus] Enabling motion detection [19:57:40][00:00:17.783 prepCam] Camera init OK for model OV2640 on board CAMERA_MODEL_AI_THINKER [19:57:40][00:00:18.061 setWifiSTA] Wifi Station IP from DHCP [19:57:41]..[00:00:19.020 onWiFiEvent] WiFi Station connection to buckleup, using hostname: ESP-CAM_MJPEG_C0D7D5AB6224 [19:57:41][00:00:19.049 onWiFiEvent] Wifi Station IP, use 'http://10.42.42.90' to connect [19:57:41][00:00:19.150 onWiFiEvent] Wifi AP stopped: ESP-CAM_MJPEG_C0D7D5AB6224 [19:57:41][00:00:19.150 onWiFiEvent] Wifi AP SSID: ESP-CAM_MJPEG_C0D7D5AB6224 started, use 'http://192.168.4.1' to connect [19:57:44]ets Jun [19:57:44] [19:57:44]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [19:57:44]configsip: 0, SPIWP:0xee [19:57:44]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [19:57:44]mode:DIO, clock div:1 [19:57:44]load:0x3fff0030,len:1344 [19:57:44]load:0x40078000,len:13964 [19:57:44]load:0x40080400,len:3600 [19:57:44]entry 0x400805f0 [19:57:45] [19:57:45] [19:57:45]=============== ESP-CAM_MJPEG 9.1 =============== [19:57:45][00:00:00.515 logSetup] Setup RAM based log, size 7168, starting from 0 [19:57:45] [19:57:45] [19:57:45][00:00:00.515 printResetReason] Power on reset [19:57:45][00:00:00.526 printWakeupReason] Wakeup by reset [19:57:45][00:00:00.955 infoSD] SD card type SDSC, Size: 1.9GB [19:57:46][00:00:00.956 listFolder] Sketch size 1.5MB [19:57:46][00:00:01.429 listFolder] File: /data/configs.txt, size: 5243 bytes [19:57:46][00:00:01.429 listFolder] SD_MMC: 160KB used [19:57:46][00:00:01.616 loadConfig] Load config [19:57:46][00:00:01.716 updateAppStatus] Enabling motion detection [19:57:46][00:00:01.929 prepCam] Camera init OK for model OV2640 on board CAMERA_MODEL_AI_THINKER [19:57:46][00:00:02.207 setWifiSTA] Wifi Station IP from DHCP [19:57:47]..[00:00:03.135 onWiFiEvent] WiFi Station connection to buckleup, using hostname: ESP-CAM_MJPEG_C0D7D5AB6224 [19:57:47][00:00:03.165 onWiFiEvent] Wifi Station IP, use 'http://10.42.42.90' to connect [19:57:48][00:00:03.244 onWiFiEvent] Wifi AP stopped: ESP-CAM_MJPEG_C0D7D5AB6224 [19:57:48][00:00:03.245 onWiFiEvent] Wifi AP SSID: ESP-CAM_MJPEG_C0D7D5AB6224 started, use 'http://192.168.4.1' to connect [19:57:54][00:00:09.882 startWifi] Wifi stats for buckleup - signal strength: -58 dBm; Encryption: WPA2_PSK; channel: 1 [19:58:00][00:00:15.974 getExtIP] External IP: 1.1.1.254 [19:58:00][00:00:15.977 startPing] Started ping monitoring - On [19:58:00][00:00:15.980 resetWatchDog] WatchDog started using task: ping [19:58:00][00:00:15.980 getLocalNTP] Using NTP server: pool.ntp.org [19:58:00][00:00:15.982 startWebServer] Starting web server on port: 80 [19:58:00][00:00:15.991 startWebServer] Remote server certificates not checked [19:58:00][00:00:16.002 WARN getLocalNTP] Not yet synced with NTP [19:58:00][00:00:16.002 startSustainTasks] Started 1 HTTP sustain tasks [19:58:00][00:00:16.046 updateAppStatus] Enabling motion detection [19:58:00][00:00:16.181 prepRecording] To record new AVI, do one of: [19:58:00][00:00:16.182 prepRecording] - press Start Recording on web page [19:58:00][00:00:16.182 prepRecording] - move in front of camera [19:58:00] [19:58:00][00:00:16.192 prepTelegram] Telegram not being used [19:58:00][00:00:16.193 setup] Camera model OV2640 on board CAMERA_MODEL_AI_THINKER ready @ 20MHz [19:58:00][00:00:16.203 checkMemory] Free: heap 29876, block: 24564, min: 29272, pSRAM 1491927 [19:58:01][00:00:16.214 WARN checkMemory] Free heap only 29876, min 29272 [19:58:01][00:00:16.214 loop] =============== Total tasks: 16 =============== [19:58:01] [19:58:03]Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception). [19:58:03]Debug exception reason: Stack canary watchpoint triggered (ping) [19:58:03]Core 1 register dump: [19:58:03]PC : 0x40091b68 PS : 0x00060636 A0 : 0x40086fca A1 : 0x3fffb0f0 [19:58:03]A2 : 0xe676f74f A3 : 0x7ef85415 A4 : 0x00000001 A5 : 0x462a4016 [19:58:03]A6 : 0x3f42dba8 A7 : 0x00000001 A8 : 0x00000001 A9 : 0x00000000 [19:58:03]A10 : 0x9da25277 A11 : 0x41a08153 A12 : 0x3fffb330 A13 : 0x6f9837ad [19:58:03]A14 : 0x5fae420f A15 : 0x9c39ab16 SAR : 0x00000014 EXCCAUSE: 0x00000001 [19:58:03]EXCVADDR: 0x00000000 LBEG : 0x4016acdc LEND : 0x4016ad98 LCOUNT : 0x00000000 [19:58:03] [19:58:03] [19:58:03]Backtrace: 0x40091b65:0x3fffb0f0 0x40086fc7:0x3fffb510 0x4016bc6b:0x3fffb530 0x4016bca5:0x3fffb550 0x40167d80:0x3fffb570 0x40162262:0x3fffb670 0x4016235a:0x3fffb6e0 0x401623a6:0x3fffb790 0x40162529:0x3fffb810 0x4015de7d:0x3fffb830 0x4015df5e:0x3fffb9e0 0x4015e03d:0x3fffba00 0x4015e111:0x3fffba70 0x4015b75e:0x3fffba90 0x4015c723:0x3fffbac0 0x4015f1f1:0x3fffbb10 0x40160703:0x3fffbb40 0x4015e681:0x3fffbca0 0x4015e888:0x3fffbcd0 0x40158f68:0x3fffbcf0 0x40156989:0x3fffbd90 0x401569c3:0x3fffbdb0 0x400f0761:0x3fffbdd0 0x400efde9:0x3fffc050 0x400efe72:0x3fffc090 0x400eff0e:0x3fffc0d0 0x400de610:0x3fffc0f0 0x400dbee7:0x3fffc180 0x400dc227:0x3fffc3b0 0x400de794:0x3fffc3d0 0x400de7b6:0x3fffc3f0 0x40125b06:0x3fffc410 [19:58:03] [19:58:03] [19:58:03] [19:58:03] [19:58:03]ELF file SHA256: bc1838f31c710436 [19:58:03] [19:58:03]Rebooting... ```Found the https://github.com/s60sc/EspCrashDecoder Ran once, but could not find correct folder for elf, my folders looks like ..\build\esp32.esp32.esp32cam Edited bat file to SET elfTarget=esp32cam But now I got this error in the err.txt from the crashdecoder.
And my user is not ficeto... What should I do now dear @s60sc ?