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

haegar33
Posts: 1
Joined: Tue Jun 10, 2025 1:42 pm

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

Postby haegar33 » Tue Jun 10, 2025 2:02 pm

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
Attachments
settings.png
settings.png (147.53 KiB) Viewed 177 times

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

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

Postby lbernstone » Wed Jun 11, 2025 6:34 pm

You should be getting an error during compilation that this code is for a ZigBee endpoint device configuration.

Who is online

Users browsing this forum: Google [Bot], PerplexityBot and 3 guests