Hi,
I'm developing firmware for the nRF52840 DK using nRF Connect SDK v2.9.2, and I’m running into a problem that didn’t occur in v2.8.0.
My project uses Zephyr and Matter (from the SDK), and includes the SceneManagement cluster using the default implementation via:
#include <app/clusters/scenes-server/scenes-server.h>
The .zap
file was originally created using the ZAP tool from SDK v2.8.0. After upgrading, I regenerated it using the updated ZAP tool from v2.9.2 to avoid version mismatches.
What Worked in v2.8.0
-
Device commissioned successfully with the Matter controller
-
All commands (including
AddScene
) worked as expected -
No freezing or unexpected behavior
What’s Failing in v2.9.2 (and Later)
-
Device still commissions correctly
-
Most commands and attribute reads work
-
But when the controller sends an AddScene command, the device freezes
-
After the freeze, the device becomes unresponsive until manually reset
-
Retrying
AddScene
causes the same issue every time
I’ve also tested this on newer SDK versions, up to v3.0.2, and the issue still occurs.
So far, v2.8.0 is the last version where AddScene
works properly.
Log Output Before Freeze
I: 25652 [EM]>>> [E:8195r S:57904 M:4530699] (S) Msg RX from 1:84ADB1584D83D5D4 [3B1D] to 0000000000000533 --- Type 0001:08 (IM:InvokeCommandRequest) (B:108)
No further logs appear after this point — it looks like the system hangs internally within the SDK.
Additional Context
-
I haven’t added any custom logic for the Scene cluster — using default server implementation only
-
The
.zap
file structure remains the same, just regenerated using the newer SDK’s ZAP tool -
Other clusters (e.g., OnOff) continue to work without issues
-
I’ve reviewed the changelogs and known issues from v2.9.0 to v3.0.2, but couldn’t find anything relevant to this problem
My Questions
-
Were there any changes to the Scene Management cluster between v2.8.0 and v2.9.2 that could explain this behavior?
-
What’s the best way to approach debugging a system freeze like this within the Matter SDK?
Thanks in advance for your help!