Page 1 of 1

ESP32-H2 Trying the example sketches - only one is working

Posted: Tue Jun 10, 2025 2:02 pm
by haegar33
Hi!

I am trying the "new" H2 Chip with my Ardunio IDE 2.2 (no later version possible in my old Macbook) using version 3.2.0 of the Espressif esp board defintions. Trying different example sketches:

zigbee_dimmable_light -> works fine, is recognized from my Sonoff Zigbee coordinator, LED on board can be controlled :)

zigbee_temperature_sensor -> compiling and upload ok, but sketch crashes with:
15:39:35.341 -> Rebooting...
15:39:35.341 -> ESP-ROM:esp32h2-20221101
15:39:35.341 -> Build:Nov 1 2022
15:39:35.341 -> rst:0xc (SW_CPU),boot:0x8 (SPI_FAST_FLASH_BOOT)
15:39:35.341 -> Saved PC:0x400031b6
15:39:35.341 -> SPIWP:0xee
15:39:35.341 -> mode:DIO, clock div:1
15:39:35.341 -> load:0x408460e0,len:0x11fc
15:39:35.341 -> load:0x4083cad0,len:0xe00
15:39:35.376 -> load:0x4083efd0,len:0x2ea8
15:39:35.376 -> entry 0x4083cad0
15:39:56.443 -> Guru Meditation Error: Core 0 panic'ed (Stack protection fault).
15:39:56.443 ->
15:39:56.443 -> Detected in task "temp_sensor_upd" at 0x40803574
15:39:56.443 -> Stack pointer: 0x408235e0
15:39:56.443 -> Stack bounds: 0x408235f8 - 0x40823df0
15:39:56.443 ->
The settings are:

Image

Re: ESP32-H2 Trying the example sketches - only one is working

Posted: Wed Jun 11, 2025 6:34 pm
by lbernstone
You should be getting an error during compilation that this code is for a ZigBee endpoint device configuration.