NEWS
AI on the edge Bootprobleme
-
Hallo,
ich habe Probleme mit dem ESP32-Cam Modul. Es erscheint nach dem Booten nicht das Einstellmenü im Bowser.
Ich habe das Board mit dem Web-Installer geflasht, die SD-Karte (8GB) zuerst mit dem SD-Formatter formatiert und dann den vorgesehenen Inhalt draufgeschrieben. Nach dem Einschalten der Spannung erscheint das Menü im Browser nur in Teilen.
Ich habe dann den Bootvorgang über den USB-Port mit dem Terminalprogramm ZOC mitgeschrieben.
Das Ergebnis füge ich an. Anscheinend klappt die Kommunikation mit dem Browser nicht mehr. Hat jemand eine Idee, wo ich suchen soll?
Viele Grüße
BerndNeuer Versuch 8GB karte neu formartiert über usb mitschneiden Browser: extrem langsam teilweise Anzeige [SERIAL/DIRECT] CONNECTED TO PORT com3 (115200-8N1) ets Jul 29 2019 12:21:46 rst:0x1 (POWERON_RESET),boot:0x1a (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: 3 I (30) boot_comm: chip revision: 3, min. bootloader chip revision: 0 I (37) boot.esp32: SPI Speed : 40MHz I (42) boot.esp32: SPI Mode : DIO I (46) boot.esp32: SPI Flash Size : 4MB I (51) boot: Enabling RNG early entropy source... I (56) boot: Partition Table: I (60) boot: ## Label Usage Type ST Offset Length I (67) boot: 0 nvs WiFi data 01 02 00009000 00004000 I (75) boot: 1 otadata OTA data 01 00 0000d000 00002000 I (82) boot: 2 phy_init RF data 01 01 0000f000 00001000 I (89) boot: 3 ota_0 OTA app 00 10 00010000 001db000 I (97) boot: 4 ota_1 OTA app 00 11 001f0000 001db000 I (104) boot: End of partition table I (109) boot_comm: chip revision: 3, min. application chip revision: 0 I (116) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=4634ch (287564) map I (235) esp_image: segment 1: paddr=00056374 vaddr=3ffb0000 size=03ce0h ( 15584) load I (241) esp_image: segment 2: paddr=0005a05c vaddr=40080000 size=05fbch ( 24508) load I (252) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=1558e0h (1399008) map I (787) esp_image: segment 4: paddr=001b5908 vaddr=40085fbc size=14494h ( 83092) load I (837) boot: Loaded app from partition at offset 0x10000 I (837) boot: Disabling RNG early entropy source... I (848) quad_psram: This chip is ESP32-D0WD I (849) esp_psram: Found 8MB PSRAM device I (849) esp_psram: Speed: 40MHz I (849) esp_psram: PSRAM initialized, cache is in low/high (2-core) mode. W (856) esp_psram: Virtual address not enough for PSRAM, map as much as we can. 4MB is mapped I (864) cpu_start: Pro cpu up. I (867) cpu_start: Starting app cpu, entry point is 0x40082dbc I (0) cpu_start: App cpu up. I (1761) esp_psram: SPI SRAM memory test OK I (1770) cpu_start: Pro cpu start user code I (1770) cpu_start: cpu freq: 160000000 Hz I (1770) cpu_start: Application information: I (1771) cpu_start: Project name: AI-on-the-edge I (1775) cpu_start: App version: v15.2.4 I (1780) cpu_start: Compile time: May 2 2023 05:56:12 I (1785) cpu_start: ELF file SHA256: 3bf7289bb70a59d5... I (1790) cpu_start: ESP-IDF: 5.0.1 I (1794) cpu_start: Min chip rev: v0.0 I (1798) cpu_start: Max chip rev: v3.99 I (1802) cpu_start: Chip rev: v3.1 I (1806) heap_init: Initializing. RAM available for dynamic allocation: I (1812) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (1817) heap_init: At 3FFBD888 len 00022778 (137 KiB): DRAM I (1822) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (1828) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (1833) heap_init: At 4009A450 len 00005BB0 (22 KiB): IRAM I (1839) esp_psram: Adding pool of 4084K of PSRAM memory to heap allocator I (1847) spi_flash: detected chip: generic I (1849) spi_flash: flash io: dio I (1864) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (1865) esp_psram: Reserving pool of 40K of internal memory for DMA/internal allocations I (1865) MAIN: ================ Start app_main ================= I (1975) MAIN: ================================================= I (1995) MAIN: ==================== Start ====================== I (2005) MAIN: ================================================= I (2035) MAIN: PSRAM size: 8388608 byte (8MB / 64MBit) I (2045) MAIN: Total heap: 4377083 byte I (2065) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (4065) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2 I (4065) cam_hal: cam init ok I (4065) sccb: pin_sda 26 pin_scl 27 I (4065) sccb: sccb_i2c_port=1 I (4065) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (4105) camera: Detected camera at address=0x30 I (4105) camera: Detected OV2640 camera I (4105) camera: Camera PID=0x26 VER=0x42 MIDL=0x7f MIDH=0xa2 I (4195) cam_hal: buffer_size: 32768, half_buffer_size: 4096, node_buffer_size: 2048, node_cnt: 16, total_cnt: 15 I (4195) cam_hal: Allocating 61440 Byte frame buffer in PSRAM I (4195) cam_hal: cam config ok I (4195) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8 I (6275) MAIN: Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2 I (6285) SDCARD: Basic R/W check started... I (6385) SDCARD: Basic R/W check successful I (6455) SNTP: TimeServer not defined, using default: pool.ntp.org I (6475) SNTP: Configuring NTP Client... I (6495) SNTP: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3 I (6505) SNTP: The local time is unknown, starting with 1970-01-01 01:00:04 I (6525) SNTP: Once the NTP server provides a time, we will switch to that one I (6555) MAIN: CPU frequency: 160 MHz I (6585) OTA: Start CheckOTAUpdateCheck... I (6595) OTA: SHA-256 for the partition table: : 9d4a2809ae90fb20709a8ca3dd3ac3462e1e73286bcd31b689060c91de06fa3a I (6615) OTA: SHA-256 for bootloader: : 4a9573dafac5d5c79c43e5a356568332da3a99dd2e220da6ceeadc96d32708a2 I (7085) OTA: SHA-256 for current firmware: : b466e493336ff9d3c9569adde1350c625cd15e53b5a82ea56fa857d3ba3d3945 I (7125) SDCARD: Folder/file presence check started... I (7185) SDCARD: Folder/file presence check successful I (7215) MAIN: Tag: 'v15.2.4', Release: v15.2.4 (Commit: cbd14a2), Date/Time: 2023-05-02 05:56, Web UI: Release: v15.2.4 (Commit: cbd14a2) I (7265) MAIN: Reset reason: Power-on event (or reset button) I (7275) WLANINI: SSID: FRITZ!Box BR WLAN 7390 I (7305) WLANINI: Password: XXXXXXXX I (7325) WLANINI: Hostname: gasmeter I (7345) WLANINI: RSSIThreshold: 0 I (7355) MAIN: WLAN config loaded, init WIFI... I (7375) WIFI: Automatic interface config --> Use DHCP service I (7405) wifi:wifi driver task: 3ffd10dc, prio:23, stack:6144, core=0 I (7405) system_api: Base MAC address is not set I (7405) system_api: read default base MAC address from EFUSE I (7425) wifi:wifi firmware version: 17afb16 I (7425) wifi:wifi certification version: v7.0 I (7425) wifi:config NVS flash: enabled I (7425) wifi:config nano formating: enabled I (7425) wifi:Init data frame dynamic rx buffer num: 16 I (7435) wifi:Init management frame dynamic rx buffer num: 16 I (7435) wifi:Init management short buffer num: 32 I (7445) wifi:Init static tx buffer num: 16 I (7445) wifi:Init tx cache buffer num: 16 I (7455) wifi:Init static rx buffer size: 1600 I (7455) wifi:Init static rx buffer num: 16 I (7455) wifi:Init dynamic rx buffer num: 16 I (7465) wifi_init: rx ba win: 16 I (7465) wifi_init: tcpip mbox: 32 I (7465) wifi_init: udp mbox: 6 I (7475) wifi_init: tcp mbox: 6 I (7475) wifi_init: tcp tx win: 5744 I (7475) wifi_init: tcp rx win: 5744 I (7485) wifi_init: tcp mss: 1440 I (7485) wifi_init: WiFi/LWIP prefer SPIRAM I (7485) wifi_init: WiFi IRAM OP enabled I (7495) wifi_init: WiFi RX IRAM OP enabled I (7515) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07 I (7615) wifi:mode : sta (a0:b7:65:50:a5:88) I (7615) wifi:enable tsf I (7625) WIFI: Set hostname to: gasmeter I (7635) WIFI: Init successful W (10035) WIFI: Disconnected (201, No AP) W (12465) WIFI: Disconnected (201, No AP) W (14895) WIFI: Disconnected (201, No AP) W (17325) WIFI: Disconnected (201, No AP) I (19755) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:11 I (20485) wifi:state: init -> auth (b0) I (20495) wifi:state: auth -> assoc (0) I (21325) wifi:state: assoc -> run (10) I (22185) wifi:connected with FRITZ!Box BR WLAN 7390, aid = 13, channel 6, BW20, bssid = 24:65:11:82:3f:a2 I (22185) wifi:security: WPA2-PSK, phy: bgn, rssi: -73 I (22195) wifi:pm start, type: 1 I (22195) WIFI: Connected to: FRITZ!Box BR WLAN 7390, RSSI: -73 I (22235) wifi:AP's beacon interval = 102400 us, DTIM period = 1 I (22325) wifi:<ba-add>idx:0 (ifx:0, 24:65:11:82:3f:a2), tid:0, ssn:0, winSize:64 I (24195) esp_netif_handlers: sta ip: 192.168.178.51, mask: 255.255.255.0, gw: 192.168.178.1 I (24195) WIFI: Assigned IP: 192.168.178.51 I (27665) MAIN: Device info: CPU cores: 2, Chip revision: 301 I (27685) MAIN: SD card info: Name: ASTC, Capacity: 7454MB, Free: 7439MB I (29705) MAIN SERVER: Starting server on port: '80' I (29705) MAIN SERVER: Registering URI handlers I (29705) MAINCTRL: server_main_flow_task - Registering URI handlers I (29705) OTA: Registering URI handlers I (29705) GPIO: start GpioHandler I (29715) GPIO: register GPIO Uri I (29715) GPIO: server_GPIO - Registering URI handlers I (29725) MAIN: Initialization completed successfully I (29765) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8 I (33015) LOGFILE: Set log level to ERROR I (33035) GPIO: read GPIO config and init GPIO I (33045) GPIO: GPIO init completed, handler is disabled I (33045) MAINCTRL: We are in Setup Mode -> Not starting Auto Flow! I (42535) MAINCTRL: Autostart is not enabled -> Not starting Flow I (287395) SNTP: ================================================= I (287395) SNTP: ==================== Start ====================== I (287395) SNTP: == Logs before time sync -> log_1970-01-01.txt == I (287405) SNTP: Time is synced with NTP Server pool.ntp.org: 2023-05-09 20:00:18 W (487285) httpd_txrx: httpd_sock_err: error in send : 11 E (487285) SERVER HELP: File sending failed! W (492285) httpd_txrx: httpd_sock_err: error in send : 11 W (492285) httpd_txrx: httpd_resp_send_err: 500 Internal Server Error - Failed to send file W (497285) httpd_txrx: httpd_sock_err: error in send : 11 W (501075) httpd_uri: httpd_uri: uri handler execution failed W (557375) httpd_txrx: httpd_sock_err: error in recv : 104 W (572275) httpd_txrx: httpd_sock_err: error in recv : 104 W (600355) httpd_txrx: httpd_sock_err: error in recv : 104
Bei einem weiteren Versuch ist mir jetzt folgende Meldung im log aufgefallen:
I (32405) GPIO: GPIO init completed, handler is disabled I (32405) MAINCTRL: We are in Setup Mode -> Not starting Auto Flow! I (41595) esp_netif_handlers: sta ip: 192.168.178.52, mask: 255.255.255.0, gw: 192.168.178.1 I (41595) WIFI: Assigned IP: 192.168.178.52 I (41955) MAINCTRL: Autostart is not enabled -> Not starting Flow
Kann mir jemand sagen, wo man den Autostart enabled?
In der config.sys auf der SD-card steht:
[AutoTimer]
AutoStart = true
Interval = 5