Skip to content

boot loop #438

@ErfanDL

Description

@ErfanDL

I got boot loop on ESP32S3 when set edge-tier to 1 or 2 and only boot normally when set it to --edge-tier 0

python provision.py --port COM7 --ssid ESP --password 12345678 --target-ip 10.5.51.2 --edge-tier 2

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x1120
load:0x403c8700,len:0x4
load:0x403c8704,len:0xb2c
load:0x403cb700,len:0x2d0c
entry 0x403c88a8
I (222) cpu_start: Multicore app
I (231) cpu_start: Pro cpu start user code
I (232) cpu_start: cpu freq: 160000000 Hz
I (232) app_init: Application information:
I (232) app_init: Project name: esp32-csi-node
I (236) app_init: App version: v0.4.3.1-esp32-3-g66e2fa083-dir
I (242) app_init: Compile time: Mar 15 2026 16:11:50
I (247) app_init: ELF file SHA256: f9f9a54b6...
I (251) app_init: ESP-IDF: -128-NOTFOUND
I (256) efuse_init: Min chip rev: v0.0
I (260) efuse_init: Max chip rev: v0.99
I (264) efuse_init: Chip rev: v0.1
I (268) heap_init: Initializing. RAM available for dynamic allocation:
I (274) heap_init: At 3FCB4BD0 len 00034B40 (210 KiB): RAM
I (279) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (284) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (289) heap_init: At 600FE11C len 00001ECC (7 KiB): RTCRAM
I (296) spi_flash: detected chip: generic
I (298) spi_flash: flash io: dio
W (301) i2c: This driver is an old driver, please migrate your application code to adapt driver/i2c_master.h
I (311) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (317) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (324) main_task: Started on CPU0
I (354) main_task: Calling app_main()
I (374) nvs_config: NVS override: ssid=ESP
I (374) nvs_config: NVS override: password=***
I (374) nvs_config: NVS override: target_ip=10.5.51.2
I (374) nvs_config: NVS override: edge_tier=2
W (384) nvs_config: wasm_verify=1 but no wasm_pubkey in NVS — uploads will be rejected
I (384) main: ESP32-S3 CSI Node (ADR-018) — Node ID: 1
I (394) pp: pp rom version: e7ae62f
I (394) net80211: net80211 rom version: e7ae62f
I (414) wifi:wifi driver task: 3fcbfc74, prio:23, stack:6656, core=0
I (414) wifi:wifi firmware version: 48ea317a7
I (424) wifi:wifi certification version: v7.0
I (424) wifi:config NVS flash: enabled
I (424) wifi:config nano formatting: disabled
I (424) wifi:Init data frame dynamic rx buffer num: 32
I (424) wifi:Init static rx mgmt buffer num: 5
I (434) wifi:Init management short buffer num: 32
I (434) wifi:Init dynamic tx buffer num: 32
I (444) wifi:Init static tx FG buffer num: 2
I (444) wifi:Init static rx buffer size: 2212
I (454) wifi:Init static rx buffer num: 10
I (454) wifi:Init dynamic rx buffer num: 32
I (454) wifi_init: rx ba win: 6
I (464) wifi_init: accept mbox: 6
I (464) wifi_init: tcpip mbox: 32
I (464) wifi_init: udp mbox: 6
I (464) wifi_init: tcp mbox: 6
I (474) wifi_init: tcp tx win: 5760
I (474) wifi_init: tcp rx win: 5760
I (474) wifi_init: tcp mss: 1440
I (484) wifi_init: WiFi IRAM OP enabled
I (484) wifi_init: WiFi RX IRAM OP enabled
I (494) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10
I (534) wifi:mode : sta (68:b6:b3:2d:0b:18)
I (534) wifi:enable tsf
I (534) main: WiFi STA initialized, connecting to SSID: ESP
I (544) wifi:new:<7,0>, old:<1,0>, ap:<255,255>, sta:<7,0>, prof:1, snd_ch_cfg:0x0
I (544) wifi:state: init -> auth (0xb0)
I (544) wifi:state: auth -> assoc (0x0)
I (554) wifi:state: assoc -> run (0x10)
I (574) wifi:connected with ESP, aid = 1, channel 7, BW20, bssid = e4:8d:8c:50:e5:d5
I (574) wifi:security: WPA2-PSK, phy: bgn, rssi: -16
I (574) wifi:pm start, type: 1

I (574) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (584) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (604) wifi:idx:0 (ifx:0, e4:8d:8c:50:e5:d5), tid:0, ssn:3, winSize:64
I (614) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (1604) esp_netif_handlers: sta ip: 10.5.51.9, mask: 255.255.255.0, gw: 10.5.51.1
I (1604) main: Got IP: 10.5.51.9
I (1604) main: Connected to WiFi
I (1604) stream_sender: UDP sender initialized: 10.5.51.2:5005
I (1604) csi_collector: Auto-detected AP channel: 7
I (1614) wifi:ic_enable_sniffer
I (1614) csi_collector: Promiscuous mode enabled for CSI capture
I (1624) csi_collector: CSI collection initialized (node_id=1, channel=7)
I (1624) edge_proc: Initializing edge processing (tier=2, top_k=8, vital_interval=1000ms, presence_thresh=0.000)
I (1634) edge_proc: Edge DSP task created on Core 1 (stack=8192, priority=5)
I (1634) edge_proc: Edge DSP task started on core 1 (tier=2)
I (1644) ota_update: OTA HTTP server started on port 8032
I (1654) ota_update: GET /ota/status — firmware version info
I (1664) ota_update: POST /ota — upload new firmware binary
W (1664) wasm_rt: WASM Tier 3 disabled (WASM3 not available)
I (1674) wasm_upload: WASM upload endpoints registered:
I (1674) wasm_upload: POST /wasm/upload — upload .wasm binary
I (1684) wasm_upload: GET /wasm/list — list modules
I (1684) wasm_upload: POST /wasm/start/:id — start module
I (1694) wasm_upload: POST /wasm/stop/:id — stop module
I (1704) wasm_upload: DELETE /wasm/:id — unload module
I (1704) main: WASM on_timer() periodic: 1000 ms
I (1714) mmwave: Probing UART1 (TX=17, RX=18) for mmWave sensor...
I (1714) mmwave: Probing at 115200 baud (MR60BHA2)...
I (2824) mmwave: Probing at 256000 baud (LD2410)...
I (3924) mmwave: No mmWave sensor detected on UART1
I (3924) main: No mmWave sensor detected (CSI-only mode)
I (3924) power_mgmt: Power management disabled (duty_cycle=100%)
I (3924) disp_task: Initializing display subsystem...
W (3924) disp_task: SPIRAM not enabled — using internal DMA memory (smaller buffers)
I (3934) disp_hal: Initializing Waveshare AMOLED 1.8" (SH8601 368x448)...
I (3944) disp_hal: I2C bus init OK (SDA=15, SCL=14)
W (3944) disp_hal: TCA9554 not found at 0x20: ESP_FAIL
W (3954) disp_hal: TCA9554 not found — assuming display power is always-on (direct wiring)
I (3964) disp_hal: QSPI panel IO created (40MHz, quad mode)
I (4114) disp_hal: Drawing test pattern...
I (4154) disp_hal: Test pattern drawn
I (4154) disp_hal: SH8601 panel init OK (368x448)
I (4154) disp_hal: Probing FT3168 touch controller...
I (4164) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
W (4164) disp_hal: FT3168 not found (ret=ESP_FAIL, id=0x00)
I (4174) disp_task: LVGL buffers: 2x 7360 bytes (10 lines, internal DMA)
I (4184) disp_task: Display task started (Core 0, priority 1, 30 fps)
I (4184) main: CSI streaming active → 10.5.51.2:5005 (edge_tier=2, OTA=ready, WASM=ready, mmWave=off)
I (4194) disp_task: Display task running on Core 0, 30 fps limit
I (4234) disp_ui: UI created: 4 views (Dashboard|Vitals|Presence|System)
E (6644) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (6644) task_wdt: - IDLE1 (CPU 1)
E (6644) task_wdt: Tasks currently running:
E (6644) task_wdt: CPU 0: IDLE0
E (6644) task_wdt: CPU 1: edge_dsp
E (6644) task_wdt: Print CPU 1 backtrace

Backtrace: 0x4037890F:0x3FC9D6A0 0x4037746D:0x3FC9D6C0 0x4200D225:0x3FCCA290

E (11644) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (11644) task_wdt: - IDLE1 (CPU 1)
E (11644) task_wdt: Tasks currently running:
E (11644) task_wdt: CPU 0: IDLE0
E (11644) task_wdt: CPU 1: edge_dsp
E (11644) task_wdt: Print CPU 1 backtrace

Backtrace: 0x4037890F:0x3FC9D6A0 0x4037746D:0x3FC9D6C0 0x400559DD:0x3FCCA200 0x4037E96F:0x3FCCA210 0x40378965:0x3FCCA230 0x40378985:0x3FCCA250 0x4038074E:0x3FCCA270 0x4200D225:0x3FCCA290

E (16644) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (16644) task_wdt: - IDLE1 (CPU 1)
E (16644) task_wdt: Tasks currently running:
E (16644) task_wdt: CPU 0: IDLE0
E (16644) task_wdt: CPU 1: edge_dsp
E (16644) task_wdt: Print CPU 1 backtrace

Backtrace: 0x4037890F:0x3FC9D6A0 0x4037746D:0x3FC9D6C0 0x4200D225:0x3FCCA290

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfirmwareESP32 firmware

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions