<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59684/zigbee-maximum-device-number</link><description>Hi, I&amp;#39;m using nRF5_SDK_for_Thread_and_Zigbee_v3.1.0_c7c4730 to develop a Zigbee Network. I&amp;#39;m using the ble_zigbee_template example as starting point of my works. I seen that the Zigbee stack is able to store permanently the network data of each device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Jun 2020 14:51:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59684/zigbee-maximum-device-number" /><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/253850?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 14:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8d0ade8-e12a-44b0-940e-f586afc5c2f6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In order to store 200 devices, you need to increase the ZIGBEE_NVRAM_PAGE_SIZE to 68kb. It requires 67.2kB, but needs to be rounded up to a multiple of a physical page size (4).&lt;/p&gt;
&lt;p&gt;Please check out the attached spreadsheet for the calculations, which I received from our Zigbee Team.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-09bad83b22bf4926a11e3ea7ee3354d6/memory_5F00_config.xlsx"&gt;devzone.nordicsemi.com/.../memory_5F00_config.xlsx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/251934?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 11:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a035e3aa-05a3-425f-92e7-39234a5bc1f9</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am trying to get it confirmed with our Zigbee team. I am sorry, but I don&amp;#39;t have 200 devices to test with, so I need confirmation from them. I pinged them yesteday, but I&amp;#39;ll do it again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/251838?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 07:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74f91517-1dae-4239-bbd6-b9ca9e661575</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;Hello Edvin&lt;br /&gt;have you any confirm&amp;nbsp;if the flash storage amount as shown in my precedent post is enough for 200 devices?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/248982?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 13:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9a2ccaa-563d-4473-835f-7bcbd12d6c7b</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;What you means with&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/59684/zigbee-maximum-device-number/248980"] errors during initialization?[/quote]
&lt;p&gt;In any case, I have no errors during boot phase, also when it is a &amp;quot;first start&amp;quot; after all flash area erase before programming the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/248980?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 13:31:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:046edf76-fd11-4ddc-804b-32606cf18c2e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I want to say yes. Unless you have any error messages during the initialization, there shouldn&amp;#39;t be any issues, I believe. The stack will set aside as much memory as it needs. Let me double check with the team. In the meantime, can you check that it doesn&amp;#39;t throw any errors during initialization?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/248779?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 14:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a036d4c-e72f-4076-8330-1b7c40019038</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;Ok, for my customer 200 device are good.&lt;br /&gt;Now, I see that flash space reserved for zBoss stack is configured on sdk_config.h file (see code below)&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;i&amp;gt; Expressed in number of 4-byte words.
// &amp;lt;i&amp;gt; By default, a virtual page is the same size as a physical page.
// &amp;lt;i&amp;gt; The size of a virtual page must be a multiple of the size of a physical page.
// &amp;lt;1024=&amp;gt; 1024 
// &amp;lt;2048=&amp;gt; 2048 

#ifndef FDS_VIRTUAL_PAGE_SIZE
#define FDS_VIRTUAL_PAGE_SIZE 1024
#endif

// &amp;lt;s&amp;gt; FDS_VIRTUAL_PAGES_RESERVED - The number of virtual flash pages that are used by other modules.

// &amp;lt;i&amp;gt; FDS module stores its data in the last pages of the flash memory.
// &amp;lt;i&amp;gt; By setting this value, you can move flash end address used by the FDS.
// &amp;lt;i&amp;gt; As a result the reserved space can be used by other modules.
#ifndef FDS_VIRTUAL_PAGES_RESERVED
#define FDS_VIRTUAL_PAGES_RESERVED ((ZIGBEE_NVRAM_PAGE_SIZE * (ZIGBEE_NVRAM_PAGE_COUNT + ZIGBEE_NVRAM_CONFIG_PAGE_COUNT))/(FDS_VIRTUAL_PAGE_SIZE * 4))
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;i&amp;gt; Selectively enable Zigbee binary trace logs. Possible values (logical or): TRACE_SUBSYSTEM_ZCL, TRACE_SUBSYSTEM_ZDO, TRACE_SUBSYSTEM_NWK. Defaults to 0x0000.

#ifndef ZIGBEE_TRACE_MASK
#define ZIGBEE_TRACE_MASK 0
#endif

// &amp;lt;o&amp;gt; ZIGBEE_TIMER_INSTANCE_NO - nRF timer instance used by Zigbee stack 
#ifndef ZIGBEE_TIMER_INSTANCE_NO
#define ZIGBEE_TIMER_INSTANCE_NO 3
#endif

// &amp;lt;o&amp;gt; ZIGBEE_NVRAM_PAGE_SIZE - Size of logical Zigbee NVRAM page in bytes 
// &amp;lt;i&amp;gt; The size must be a multiply of physical page size

#ifndef ZIGBEE_NVRAM_PAGE_SIZE
#define ZIGBEE_NVRAM_PAGE_SIZE 16384
#endif

// &amp;lt;o&amp;gt; ZIGBEE_NVRAM_PAGE_COUNT - Number of Zigbee NVRAM data pages 
#ifndef ZIGBEE_NVRAM_PAGE_COUNT
#define ZIGBEE_NVRAM_PAGE_COUNT 2
#endif

// &amp;lt;o&amp;gt; ZIGBEE_NVRAM_CONFIG_PAGE_COUNT - Number of Zigbee NVRAM configuration pages 
#ifndef ZIGBEE_NVRAM_CONFIG_PAGE_COUNT
#define ZIGBEE_NVRAM_CONFIG_PAGE_COUNT 1
#endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;My futher question:&lt;br /&gt;These settings are enough for 200 device?&lt;br /&gt;(I will remember you that I&amp;#39;m developing a Coordinator)&lt;br /&gt;Please, if possible to answer me asap.&lt;br /&gt;Thanks. Abele&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/248749?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 13:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1538f6b-dfa2-4754-a3cd-bc60655b8809</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply. I received this today:&lt;/p&gt;
&lt;p&gt;Q: What&amp;#39;s the address of FLASH storage for these data?&lt;/p&gt;
&lt;p&gt;A: Zigbee storage is placed at the end of the Flash, start address depends on:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Amount of flash available at given chip&lt;/li&gt;
&lt;li&gt;Size of flash to be used by the Zigbee stack&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Q: How many Zigbee node can store? I need to have until 250 node stored.&lt;/p&gt;
&lt;p&gt;A: From looking at docs I can see&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v3.1.0%2Fgroup__configurable__mem.html&amp;amp;cp=7_7_2_5_1_8_3_6&amp;amp;anchor=ga12a2b6986dcbb40fe53930dbd27623dc" rel="nofollow"&gt;limitation of 200 nodes&lt;/a&gt;. Ble_zigbee_template includes&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;zb_mem_config_med.h&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;which indicates network size of 32 nodes (taken directly from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;zb_mem_config.h&lt;/em&gt;, also available in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v3.1.0%2Fzigbee_mem_cfg_feature_ram.html&amp;amp;cp=7_7_2_3_4_0_0&amp;amp;anchor=zigbee_mem_cfg_ram_feature_include" rel="nofollow"&gt;Infocenter&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Are there any further questions from the customer?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So it doesn&amp;#39;t look like there is possible to store 250 nodes, unfortunately.&lt;/p&gt;
&lt;p&gt;This is due to memory restrictions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/247907?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 13:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ae280b-33bd-4b2c-92af-9c889821e35e</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;News??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/247122?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 13:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b4dac98-3ea8-4301-8d5a-bce13f7f4050</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Sorry. Not yet. I pinged the internal ticket yesterday. I&amp;#39;ll keep you posted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/246720?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 08:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ead3076b-66fd-4e38-a3b1-93e0b2092754</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;Hello Edvin, any news for me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/245953?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 07:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37a37acb-49af-420d-91a9-e655712ccdac</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;I apologize, in my last post I have miss this detail. I&amp;#39;m developing a coordinator&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/245919?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 22:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d42aeed3-527d-41a3-94dc-a5ab00ce37f9</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Abele,&lt;/p&gt;
&lt;p&gt;The question on whether you were implementing a router node or a coordinator node was a question that I received from the zigbee team. The amount of storage that is required per node depends on this. So are you developing a router node or a coordinator?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/245833?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 12:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68885167-f01b-4318-9524-61141b2037f3</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello Edvin,&lt;br /&gt;I know the links you sent me, they are helpful to understanding the structure of memory usage.&lt;br /&gt;But I will like anyway to know the maximum # nodes can stored without any change on ble_zigbee_template from nRF5_SDK_for_Thread_and_Zigbee_v3.1.0_c7c4730 I used as starting point for my application.&lt;br /&gt;Many thanks&lt;br /&gt;Abele&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/245796?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 10:00:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:706caa62-1f82-410d-887c-2bdfd02d85ba</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you implementing a router device, or a coordinator? The memory usage is dependent on this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Some links that may be helpful regarding memory layout and configuration:&lt;/p&gt;
&lt;p&gt;Layout:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.1.0/zigbee_hw_and_mem.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v3.1.0/zigbee_hw_and_mem.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Configuration:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.1.0/zigbee_mem_cfg_ram_feature.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v3.1.0/zigbee_mem_cfg_ram_feature.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/245205?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 10:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:955ac6a7-e3f9-4bf3-a3d2-124e66de2f7c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry. I have not received any response. I have pinged the internal ticket. I&amp;#39;ll keep this ticket open until I receive a response from the Zigbee team. I am sorry for the delay.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/243942?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 16:13:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68338e15-858c-4c1a-b66f-38995eedb350</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;Have you any further new about?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/243346?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 09:27:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3377738c-2d38-4cda-acdc-c7325e1bd25e</guid><dc:creator>abe</dc:creator><description>&lt;p&gt;Hello Edvin&lt;br /&gt;Thanks for answer, for further requests I will wait the info about the maximum # nodes can stored.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee maximum device number</title><link>https://devzone.nordicsemi.com/thread/243326?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 08:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d6f4918-1687-4fae-aec4-71bcb6d3411b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Abele,&lt;/p&gt;
&lt;p&gt;I had to forward this question to our Zigbee team. I should have noticed you, but I haven&amp;#39;t received any response yet.&lt;/p&gt;
&lt;p&gt;Just some background:&lt;/p&gt;
&lt;p&gt;I &lt;strong&gt;believe&lt;/strong&gt; (waiting for confirmation) that this is stored similarly to FDS, so it will not be a specific flash address containing the addresses and routing tables for each node. It is most likely a dynamic handling of this data.&lt;/p&gt;
&lt;p&gt;I see that on the nRF52840 there are some data stored in two locations:&lt;/p&gt;
&lt;p&gt;One chunk on&amp;nbsp;&lt;span&gt;0x000F7000 and one chunk on&amp;nbsp;0x000FB000. Do you need more information regarding the address than this? If so, what?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am waiting for an answer regarding the number of nodes that can be stored.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>