ESP32C6 keeps rebooting on Zigbee_On_Off_Switch example

I’m using the Arduino IDE. I tried already several options when compiling :

Flash frequency: 40Mhz
Partition scheme: Zigbee 4Mb with spiffs (but I tried all others)
Erase all flash before upload: enabled

But no matter what, it always ends up rebooting. Not immediately, but usually after detecting the other XIAO with the Zigbee_On_Off_Light.

It reboots with the error being:

“Guru meditation error: Core 0 panic’ed (Load access fault)”

What could be wrong ?

Hi there,

Which BSP did you use to compile with ? Roll it back and Go again…
Keep the basic settings. Read the headers in the example gits too :+1:

HTH
GL :slight_smile: PJ

They do work, takes some patients forsure. :crossed_fingers:

Set the Core Debug Level to Verbose and see what is logged to the terminal. This may indicate why the Core 0 is panic’ed.

For the Switch:
ZCZR 4Mb with Spiffs
ZCZR Coordinator or Router.

For the Light:
4Mb with Spiffs
Zigbee ED (end device).

Program both.
Start the Switch first. Then within 180 seconds, start the Light.

If for some reason the light has already joined a network, reset to factory settings by holding the Boot button for 5 seconds.
Then reset the Switch and the Light should join and bind.

Each (Boot) button press on the switch should flash the RGB led on the Light when the light is turned on, and do nothing when turned off.

Hi there,

CONFIRMED! , Good stuff , the timeout got me and the add took too long so I reset the switch and it worked straight away. :+1: Thanx for that nugget.

also agree on OP’s boot loop Something in the WiFi (core 0) ? perhaps?
I didn’t use 3.1.1 so there’s that to? :man_shrugging:

GL :slight_smile: PJ :v:

Thanks for the tips.
In the end, I took the code from the Espressif Git instead of the Seeedstudio and it worked first time.

2 Likes