You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KRKNWK-12115: Simultaneous commissioning of many devices can cause the Coordinator device to assert
146
+
The Zigbee Coordinator can assert when multiple devices are being commissioned at the same time.
147
+
In some cases, the device can end up in a low memory state.
148
+
149
+
The :ref:`Zigbee network coordinator <zigbee_network_coordinator_sample>` sample includes :file:`zb_mem_config_max.h` by default, which already selects the coordinator-oriented configurable-memory profile, but the derived scheduler queue and buffer pool sizes can still be too small for very bursty join traffic.
150
+
151
+
**Workaround:** Where possible, reduce parallel commissioning.
152
+
If you still hit asserts or allocation failures, increase the coordinator's scheduler queue and buffer pool:
153
+
154
+
#. Add a custom memory configuration header to your coordinator application (for layout, follow the :ref:`Light switch <zigbee_light_switch_sample>` sample and its :file:`samples/light_switch/include/zb_mem_config_custom.h` file).
155
+
#. Populate that header starting from the contents of :file:`zb_mem_config_max.h`, then override the limits as needed (see :file:`zb_mem_config_common.h` for how the base profile maps to numeric sizes).
156
+
#. In the custom header, after the block that includes :file:`zb_mem_config_common.h`, add overrides such as:
157
+
158
+
.. code-block:: c
159
+
160
+
/* Increase scheduler queue depth (allowed range 48U–256U). */
161
+
#undef ZB_CONFIG_SCHEDULER_Q_SIZE
162
+
#define ZB_CONFIG_SCHEDULER_Q_SIZE 96U
163
+
/* Increase IOBUF pool (allowed range 48U–127U). */
164
+
#undef ZB_CONFIG_IOBUF_POOL_SIZE
165
+
#define ZB_CONFIG_IOBUF_POOL_SIZE 64U
166
+
167
+
#. In the custom header, after the block that includes :file:`zb_mem_config_common.h`, add overrides such as:
168
+
#. In the coordinator :file:`main.c`, replace ``#include <zb_mem_config_max.h>`` with ``#include "zb_mem_config_custom.h"`` (or your header name).
169
+
170
+
Rebuild and re-check static RAM usage (see :ref:`zigbee_memory`).
0 commit comments