Skip to content

ESP32-S3-N16R8 N8R2 Development Board Firmware Issues Backtrace #494

@droidblastnz

Description

@droidblastnz

Team,

I have stability issues with three nodes post flashing.

3x ESP32-S3 2.4GHz WiFi Bluetooth Module ESP32-S3-N16R8 N8R2 Development Board CORE Board Type-C ESP32 S3

the process...

Flash — 8MB:

Flash Node 0

python -m esptool --chip esp32s3 --port COM6 --baud 460800 write-flash --flash-mode dio --flash-size 8MB --flash-freq 80m 0x0 bootloader.bin 0x8000 partition-table.bin 0xf000 ota_data_initial.bin 0x20000 esp32-csi-node.bin

python provision.py --port COM6 --ssid "test_SSID" --password "********" --target-ip 192.168.2.130 --node-id 0 --tdm-slot 0 --tdm-total 3

Flash Node 1

python -m esptool --chip esp32s3 --port COM10 --baud 460800 write-flash --flash-mode dio --flash-size 8MB --flash-freq 80m 0x0 bootloader.bin 0x8000 partition-table.bin 0xf000 ota_data_initial.bin 0x20000 esp32-csi-node.bin

python provision.py --port COM10 --ssid "test_SSID" --password "********" --target-ip 192.168.2.130 --node-id 1 --tdm-slot 1 --tdm-total 3

Flash Node 2

python -m esptool --chip esp32s3 --port COM11 --baud 460800 write_flash --flash_mode dio --flash_size 8MB --flash_freq 80m 0x0 bootloader.bin 0x8000 partition-table.bin 0xf000 ota_data_initial.bin 0x20000 esp32-csi-node.bin

python provision.py --port COM11 --ssid "test_SSID" --password "********" --target-ip 192.168.2.130 --node-id 2 --tdm-slot 2 --tdm-total 3

Bring all three nodes online and watch the serial int of each with

python -m serial.tools.miniterm COM6 115200
python -m serial.tools.miniterm COM10 115200
python -m serial.tools.miniterm COM11 115200

All three have similar crashes

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

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

read https://github.com/ruvnet/RuView/releases/tag/v0.5.0-esp32
read #301

Watchdog crash CPU 1: edge_dsp - flashed v0.4.3-esp32 and v0.5.0 same issue.

Tried full erase and re flash as above

python -m esptool --chip esp32s3 --port COM6 erase_flash
python -m esptool --chip esp32s3 --port COM10 erase_flash
python -m esptool --chip esp32s3 --port COM11 erase_flash

Note that when flashing
write_flash --flash_mode dio --flash_size

python is warning

write_flash is now write-flash
--flash_mode is now --flash-mode
--flash_size is now --flash-size
--flash_freq is now --flash-freq

write-flash --flash-mode dio --flash-size 8MB --flash-freq 80m

Ideas on where to next please?

Full log:

Build:Mar 27 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40041a7c
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
W (31) boot.esp32s3: PRO CPU has been reset by WDT.
W (31) boot.esp32s3: APP CPU has been reset by WDT.
I (227) cpu_start: Multicore app
I (235) cpu_start: Pro cpu start user code
I (235) cpu_start: cpu freq: 160000000 Hz
I (236) app_init: Application information:
I (236) app_init: Project name:     esp32-csi-node
I (240) app_init: App version:      v0.4.3.1-esp32-3-g66e2fa083-dir
I (246) app_init: Compile time:     Mar 15 2026 16:11:50
I (251) app_init: ELF file SHA256:  f9f9a54b6...
I (255) app_init: ESP-IDF:          -128-NOTFOUND
I (260) efuse_init: Min chip rev:     v0.0
I (264) efuse_init: Max chip rev:     v0.99
I (268) efuse_init: Chip rev:         v0.2
I (272) heap_init: Initializing. RAM available for dynamic allocation:
I (278) heap_init: At 3FCB4BD0 len 00034B40 (210 KiB): RAM
I (283) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (288) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (293) heap_init: At 600FE11C len 00001ECC (7 KiB): RTCRAM
I (300) spi_flash: detected chip: generic
I (302) spi_flash: flash io: dio
W (305) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (315) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (321) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (328) main_task: Started on CPU0
I (358) main_task: Calling app_main()
I (378) nvs_config: NVS override: ssid=test_SSID
I (378) nvs_config: NVS override: password=***
I (378) nvs_config: NVS override: target_ip=192.168.2.189
I (378) nvs_config: NVS override: node_id=1
I (388) nvs_config: NVS override: tdm_slot_index=1
I (388) nvs_config: NVS override: tdm_node_count=3
W (388) nvs_config: wasm_verify=1 but no wasm_pubkey in NVS — uploads will be rejected
I (398) main: ESP32-S3 CSI Node (ADR-018) — Node ID: 1
I (408) pp: pp rom version: e7ae62f
I (408) net80211: net80211 rom version: e7ae62f
I (428) wifi:wifi driver task: 3fcbfd7c, prio:23, stack:6656, core=0
I (438) wifi:wifi firmware version: 48ea317a7
I (438) wifi:wifi certification version: v7.0
I (438) wifi:config NVS flash: enabled
I (438) wifi:config nano formatting: disabled
I (438) wifi:Init data frame dynamic rx buffer num: 32
I (448) wifi:Init static rx mgmt buffer num: 5
I (448) wifi:Init management short buffer num: 32
I (448) wifi:Init dynamic tx buffer num: 32
I (458) wifi:Init static tx FG buffer num: 2
I (458) wifi:Init static rx buffer size: 2212
I (468) wifi:Init static rx buffer num: 10
I (468) wifi:Init dynamic rx buffer num: 32
I (468) wifi_init: rx ba win: 6
I (478) wifi_init: accept mbox: 6
I (478) wifi_init: tcpip mbox: 32
I (478) wifi_init: udp mbox: 6
I (488) wifi_init: tcp mbox: 6
I (488) wifi_init: tcp tx win: 5760
I (488) wifi_init: tcp rx win: 5760
I (488) wifi_init: tcp mss: 1440
I (498) wifi_init: WiFi IRAM OP enabled
I (498) wifi_init: WiFi RX IRAM OP enabled
I (508) phy_init: phy_version 680,a6008b2,Jun  4 2024,16:41:10
I (548) wifi:mode : sta (8c:fd:49:b3:37:64)
I (548) wifi:enable tsf
I (558) main: WiFi STA initialized, connecting to SSID: test_SSID
I (558) wifi:new:<11,2>, old:<1,0>, ap:<255,255>, sta:<11,2>, prof:1, snd_ch_cfg:0x0
I (568) wifi:state: init -> auth (0xb0)
I (578) wifi:state: auth -> assoc (0x0)
I (588) wifi:state: assoc -> run (0x10)
I (608) wifi:connected with test_SSID, aid = 5, channel 11, 40D, bssid = 16:18:d6:29:76:9c
I (608) wifi:security: WPA2-PSK, phy: bgn, rssi: -23
I (608) wifi:pm start, type: 1

I (608) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (618) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (638) wifi:<ba-add>idx:0 (ifx:0, 16:18:d6:29:76:9c), tid:0, ssn:0, winSize:64
I (668) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (1698) esp_netif_handlers: sta ip: 192.168.2.189, mask: 255.255.255.0, gw: 192.168.2.x
I (1698) main: Got IP: 192.168.2.189
I (1698) main: Connected to WiFi
I (1698) stream_sender: UDP sender initialized: 192.168.2.189:5005
I (1708) csi_collector: Auto-detected AP channel: 11
I (1708) wifi:ic_enable_sniffer
I (1708) csi_collector: Promiscuous mode enabled for CSI capture
I (1718) csi_collector: CSI collection initialized (node_id=1, channel=11)
I (1728) edge_proc: Initializing edge processing (tier=2, top_k=8, vital_interval=1000ms, presence_thresh=0.000)
I (1738) edge_proc: Edge DSP task created on Core 1 (stack=8192, priority=5)
I (1738) edge_proc: Edge DSP task started on core 1 (tier=2)
I (1738) ota_update: OTA HTTP server started on port 8032
I (1748) ota_update:   GET  /ota/status — firmware version info
I (1758) ota_update:   POST /ota        — upload new firmware binary
W (1758) wasm_rt: WASM Tier 3 disabled (WASM3 not available)
I (1768) csi_collector: CSI cb #1: len=128 rssi=-54 ch=11
I (1778) wasm_upload: WASM upload endpoints registered:
I (1778) wasm_upload:   POST   /wasm/upload    — upload .wasm binary
I (1788) wasm_upload:   GET    /wasm/list      — list modules
I (1788) wasm_upload:   POST   /wasm/start/:id — start module
I (1798) wasm_upload:   POST   /wasm/stop/:id  — stop module
I (1798) wasm_upload:   DELETE /wasm/:id       — unload module
I (1808) main: WASM on_timer() periodic: 1000 ms
I (1808) mmwave: Probing UART1 (TX=17, RX=18) for mmWave sensor...
I (1818) mmwave: Probing at 115200 baud (MR60BHA2)...
I (1878) csi_collector: CSI cb #2: len=128 rssi=-55 ch=11
I (1878) csi_collector: CSI cb #3: len=128 rssi=-54 ch=11
I (2918) mmwave: Probing at 256000 baud (LD2410)...
I (4018) mmwave: No mmWave sensor detected on UART1
I (4018) main: No mmWave sensor detected (CSI-only mode)
I (4018) power_mgmt: Power management disabled (duty_cycle=100%)
I (4018) disp_task: Initializing display subsystem...
W (4018) disp_task: SPIRAM not enabled — using internal DMA memory (smaller buffers)
I (4028) disp_hal: Initializing Waveshare AMOLED 1.8" (SH8601 368x448)...
I (4038) disp_hal: I2C bus init OK (SDA=15, SCL=14)
W (4038) disp_hal: TCA9554 not found at 0x20: ESP_FAIL
W (4048) disp_hal: TCA9554 not found — assuming display power is always-on (direct wiring)
I (4058) disp_hal: QSPI panel IO created (40MHz, quad mode)
I (4208) disp_hal: Drawing test pattern...
I (4258) disp_hal: Test pattern drawn
I (4258) disp_hal: SH8601 panel init OK (368x448)
I (4258) disp_hal: Probing FT3168 touch controller...
I (4258) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
W (4268) disp_hal: FT3168 not found (ret=ESP_FAIL, id=0x00)
I (4268) disp_task: LVGL buffers: 2x 7360 bytes (10 lines, internal DMA)
I (4278) disp_task: Display task running on Core 0, 30 fps limit
I (4288) disp_task: Display task started (Core 0, priority 1, 30 fps)
I (4288) main: CSI streaming active → 192.168.2.189:5005 (edge_tier=2, OTA=ready, WASM=ready, mmWave=off)
I (4318) disp_ui: UI created: 4 views (Dashboard|Vitals|Presence|System)
I (7368) csi_collector: CSI cb #100: len=128 rssi=-54 ch=11
I (14878) csi_collector: CSI cb #200: len=128 rssi=-57 ch=11
I (19488) csi_collector: CSI cb #300: len=128 rssi=-54 ch=11
I (23768) csi_collector: CSI cb #400: len=380 rssi=-59 ch=11
I (24288) csi_collector: CSI cb #500: len=256 rssi=-62 ch=11
I (25218) csi_collector: CSI cb #600: len=380 rssi=-58 ch=11
ESP-ROM:esp32s3-20210327

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