<?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] OTA compatibility &amp;amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108673/zigbee-ota-compatibility-custom-memory-configuration</link><description>Setup: NCS v2.4.1 
 nrf52840DK (ZR) 
 
 Hi, 
 I am looking for clarification regarding that small note [ Developing with ZBOSS ]: The memory configuration must not be changed between firmware versions if the firmware is going to be upgraded using the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Apr 2024 15:54:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108673/zigbee-ota-compatibility-custom-memory-configuration" /><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/478591?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 15:54:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1b3d246-a636-423a-8ba6-27da807ce44d</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Good summary.&lt;/p&gt;
[quote user="pwpot"]I assume the &amp;quot;Flash memory configuration&amp;quot; applies only to the flash layout. Is my assumption correct?&amp;nbsp;[/quote]
&lt;p&gt;Yes, you are correct.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/477977?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 08:45:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c722e177-0c01-4356-8e13-4dd4dab281c9</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hi Maria,&lt;/p&gt;
[quote userid="116814" url="~/f/nordic-q-a/108673/zigbee-ota-compatibility-custom-memory-configuration/477156"]Note that the Flash memory configuration is still important and will cause incompatibility if they differ between current and new image.[/quote]
&lt;p&gt;Ok, to sum things up.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.11.2.1/zigbee_mem_cfg_feature_ram.html"&gt;ZBOSS 3.11.2.1 RAM&lt;/a&gt;&amp;nbsp;-&amp;gt; These configs can be changed between FOTA/DFU updates.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.11.2.1/zigbee_mem_cfg_feature_flash.html"&gt;ZBOSS 3.11.2.1 FLASH&lt;/a&gt;&amp;nbsp;-&amp;gt; That data cannot be changed between FOTA/DFU updates but I do not see any configurable configs. I assume the &amp;quot;Flash memory configuration&amp;quot; applies only to the flash layout. Is my assumption correct?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Pawel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/477156?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 13:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc2f67e8-92e4-4a7b-a8db-58cf64a4ff32</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Pawel,&lt;/p&gt;
[quote user="pwpot"]So since today, that note is false-positive and each config (see screenshot below) can be changed between FOTA updates without a risk, am I right?[/quote]
&lt;p&gt;Note that the Flash memory configuration is still important and will cause incompatibility if they differ between current and new image. &lt;/p&gt;
&lt;p&gt;But yes, the memory configuration for RAM can be changed between FOTA updates.&lt;/p&gt;
[quote user="pwpot"]Regarding the production config partition it turned out that the best option is to do the following:&amp;nbsp;[/quote][quote user="pwpot"]&lt;p&gt;The build system is happy because the zboss_product_config partition exists but does not occupy any memory.&lt;/p&gt;
&lt;p&gt;Commenting out the flash_area_open in zb_osif_nvram.c: zb_osif_nvram_init() for me seems not mandatory. In case of a failure it will generate only false-positive log.&lt;/p&gt;[/quote]
&lt;p&gt;Thank you for sharing your solution.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/476824?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 10:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:639fe369-0519-4d35-bda4-42bcc882da5d</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hi Maria,&lt;/p&gt;
&lt;p&gt;Thank you for your effort.&lt;/p&gt;
[quote userid="116814" url="~/f/nordic-q-a/108673/zigbee-ota-compatibility-custom-memory-configuration/476764"]This note is not relevant for RAM memory configuration and the note will be removed in a future documentation update.[/quote]
&lt;p&gt;So since today, that note is false-positive and each config (see screenshot below) can be changed between FOTA updates without a risk, am I right?&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1712139619556v1.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the production config partition it turned out that the best option is to do the following:&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;# prj.conf
CONFIG_PM_PARTITION_SIZE_ZBOSS_PRODUCT_CONFIG


# main.c 

int main(void){

    # some other important zigbee stuff
    zb_production_config_disable(ZB_TRUE);
    zigbee_enable();

}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The build system is happy because the zboss_product_config partition exists but does not occupy any memory.&lt;/p&gt;
&lt;p&gt;Commenting out the flash_area_open in zb_osif_nvram.c: zb_osif_nvram_init() for me seems not mandatory. In case of a failure it will generate only false-positive log.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pawel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/476764?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 07:42:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb6b48cf-fa23-418c-9fae-34462268dfc4</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Pawel,&lt;/p&gt;
&lt;p&gt;Regarding your original question:&lt;/p&gt;
[quote user=""]I am looking for clarification regarding that small note [&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.3.0.5/zigbee_mem_cfg_feature_ram.html#zigbee_mem_cfg_ram_feature_include"&gt;Developing with ZBOSS&lt;/a&gt;]:&amp;nbsp;&lt;br /&gt;&lt;em&gt;The memory configuration must not be changed between firmware versions if the firmware is going to be upgraded using the OTA DFU.&lt;/em&gt;[/quote]
&lt;p&gt;This note is not relevant for RAM memory configuration and the note will be removed in a future documentation update. &lt;/p&gt;
&lt;p&gt;The note is important for Flash memory configuration. It is a common requirement for DFU in general, not just for Zigbee OTA DFU.&lt;/p&gt;
[quote user="pwpot"]Additionaly: Is it possible to build app without zboss_product_config partition ? I am not going to use it anyway and at this point 1kB of memory is simply being lost.[/quote]
&lt;p&gt;I got one more insight about this: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;code&gt;zb_production_config_disable()&lt;/code&gt; can be used before &lt;code&gt;zboss_start()&lt;/code&gt;, in order for ZBOSS not to call &lt;code&gt;zb_osif_prod_cfg_&lt;/code&gt; functions. However the proposed modifications are still needed if you want to remove the partition (in order to avoid build issues).&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;Best regards, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Maria&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/475175?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 14:45:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4e91392-b716-47a7-bac5-1ecc8371b627</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Pawel,&lt;/p&gt;
&lt;p&gt;I got a detailed answer from the developers today. Please see their full response below. &lt;strong&gt;Note:&lt;/strong&gt; The workaround described is &lt;strong&gt;not tested&lt;/strong&gt; and if you decide to use it it will be at &lt;strong&gt;your own risk&lt;/strong&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;Hi, regarding the &lt;code&gt;zboss_product_config&lt;/code&gt; partition:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;It can’t be removed since the libraries are built with &lt;code&gt;ZB_PRODUCTION_CONFIG&lt;/code&gt; enabled and &lt;code&gt;zb_osif_prod_cfg_check_presence&lt;/code&gt; will try to read from this region. Unexpected behavior can happen if random data is present there.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;It’s minimum size is 128 B.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;NVS needs to start at an erase-size alignment position. Thus, &lt;code&gt;zboss_product_config&lt;/code&gt; can’t be less than 0x1000.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;One could think about fitting &lt;code&gt;zboss_product_config&lt;/code&gt; at the end of &lt;code&gt;zboss_nvram&lt;/code&gt;, but this protection exists for that: &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/v2.4.1/subsys/zigbee/osif/zb_nrf_nvram.c#L18-L19" href="https://github.com/nrfconnect/sdk-nrf/blob/v2.4.1/subsys/zigbee/osif/zb_nrf_nvram.c#L18-L19"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.4.1/subsys/zigbee/osif/zb_nrf_nvram.c#L18-L19&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The only workaround I can think about, at the own risk of the customer, is:&lt;/p&gt;
&lt;ol start="1"&gt;
&lt;li&gt;
&lt;p&gt;Build with &lt;code&gt;CONFIG_PM_PARTITION_SIZE_ZBOSS_PRODUCT_CONFIG=0x0&lt;/code&gt; or remove the partition from PM.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Modify &lt;code&gt;zb_osif_prod_cfg_check_presence&lt;/code&gt; to just return &lt;code&gt;FALSE&lt;/code&gt;, without any check.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Modify &lt;code&gt;zb_osif_prod_cfg_read_header&lt;/code&gt; to just return &lt;code&gt;RET_ERROR&lt;/code&gt;, without any check.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Modify &lt;code&gt;zb_osif_prod_cfg_read&lt;/code&gt; to just return &lt;code&gt;RET_ERROR&lt;/code&gt;, without any check.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Modify &lt;code&gt;zb_osif_nvram_init&lt;/code&gt; to skip the &lt;code&gt;ZB_PRODUCTION_CONFIG&lt;/code&gt; part.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;The third and fourth bullet point answers this question you had:&lt;/p&gt;
[quote user="pwpot"]Will NVS work with such unaligned memory space?&amp;nbsp;[/quote]
&lt;p&gt;Regarding this question: &lt;/p&gt;
[quote user="pwpot"]By reducing the size of zboss_product_config you mean setting it to a value lower than the single flash page size of nrf chip?&amp;nbsp;[/quote]
&lt;p&gt;Yes, this was what I meant. See the details in the quote from our developer and please note that if you use the workaround it is at &lt;strong&gt;your own risk&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/474357?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 13:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92b8e44c-9822-4fed-b8c7-3039f7915ff9</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hi Marie,&lt;/p&gt;
&lt;p&gt;By reducing the size of zboss_product_config you mean setting it to a value lower than the single flash page size of nrf chip?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I mentioned my goal is to use that space for other purposes like custom partition with NVS on top of it.&lt;br /&gt;Setting&amp;nbsp;&lt;span&gt;CONFIG_PM_PARTITION_SIZE_ZBOSS_PRODUCT_CONFIG to 0x80 will give me 0xF80 (0x1000-0x80) available space. Will NVS work with such unaligned memory space?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Pawel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/473626?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2024 12:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0fdb19b-ae4c-4069-8452-23d24fe77243</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Pawel,&lt;/p&gt;
&lt;p&gt;I have some small updates for you.&lt;/p&gt;
[quote user="Maria Gilje"]Can zboss_product_config be completely removed?[/quote]
&lt;p&gt;Removing zboss_product_config causes build errors, so this is not advised. &lt;/p&gt;
[quote user="Maria Gilje"]What is the minimum allowed size for zboss_product_config?[/quote]
&lt;p&gt;I&amp;#39;m still waiting for a detailed answer from the developers, but I want to share that my colleague has found that it is possible to configure the size of zboss_product_config with the Kconfig symbol CONFIG_PM_PARTITION_SIZE_ZBOSS_PRODUCT_CONFIG. Reducing it from the default size caused some errors during startup, but the functionality of the device seemed to be as expected. When assigning a new size with the symbol, the value should be in a hex format, i.e. 0x1000. &lt;/p&gt;
&lt;p&gt;Note that reducing the size can cause unexpected behaviour.&lt;/p&gt;
[quote user="pwpot"]Regarding &amp;quot;How it works under the hood&amp;quot; I meant the memory configuration layout. I would like to know what is causing the OTA incompatibility.&amp;nbsp;[/quote]
&lt;p&gt;I am still awaiting an answer from the developers regarding this. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/472537?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2024 15:08:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57f022b0-4144-40d3-b059-76707eae4443</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Indeed, having production data in zboss_product_config is not mandatory. ZBOSS determines if there is something in it by MAGIC value and CRC at init. The problem is that the NCS build forces to add that specific flash memory space but probably it is like that because ZBOSS forces that on NCS.&lt;/p&gt;
&lt;p&gt;Thank you for your effort.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looking forward to hearing from you,&lt;/p&gt;
&lt;p&gt;Pawel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/472462?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2024 12:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57bf3f9b-f4f3-452b-83d7-6e5b0bffd711</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;I do not recommend using zboss_product_config for storing other data. &lt;/p&gt;
&lt;p&gt;I have sent these questions to the developers:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What is the minimum allowed size for zboss_product_config?&lt;/li&gt;
&lt;li&gt;Can zboss_product_config be completely removed?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I included the last question because the list of data which &lt;strong&gt;can&lt;/strong&gt; be saved to zboss_product_config does not seem like a requirement. This was my assumption when I first read it.&lt;/p&gt;
&lt;p&gt;This data is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;802.15.4 channel mask&lt;/li&gt;
&lt;li&gt;Device IEEE address&lt;/li&gt;
&lt;li&gt;Definition of the maximum TX power per channel per page&lt;/li&gt;
&lt;li&gt;Install code of the device&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These data points need to be saved to your device if you are using them -- and the zboss_product_config is a suitable place to store them.&lt;/p&gt;
&lt;p&gt;I want to also let you know that your question about the memory configuration layout will be looked into when possible. Note that it can still take some time.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/471852?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 15:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5871a6b6-1534-4837-9fbd-6cfdbc05d77b</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Thank you,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding zboss_product_config as far as I can see ZBOSS NVRAM does not have an API for writing to that partition.&amp;nbsp;&lt;br /&gt;It seems that it should not be a problem of using NVS on top of it with additional offset of 128Bytes.&amp;nbsp;&lt;br /&gt;Based on:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/blob/master/nordicsemi/zigbee/prod_config.py#L54"&gt;https://github.com/NordicSemiconductor/pc-nrfutil/blob/master/nordicsemi/zigbee/prod_config.py#L54&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The idea is to do not waste the memory space, so by adding the 128B offset in NVS the ZBOSS will not even notice that something is placed inside its zboss_product_config partition and because there is no API for writing to that memory space my data should be safe.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What do you think about it ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pawel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/471833?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 14:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:499cd4b1-5bc5-4973-99b3-3843dd5e2216</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Pawel,&lt;/p&gt;
[quote user="pwpot"]Regarding &amp;quot;How it works under the hood&amp;quot; I meant the memory configuration layout. I would like to know what is causing the OTA incompatibility.&amp;nbsp;[/quote]
&lt;p&gt;I have forwarded this question to the developers and will update you when I have any updates. &lt;/p&gt;
[quote user="pwpot"]Additionaly: Is it possible to build app without zboss_product_config partition ? I am not going to use it anyway and at this point 1kB of memory is simply being lost.[/quote]
&lt;p&gt;The system part of the production configuration is mandatory, and the application-specific part is optional. See more in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.12.1.0/zigbee_prog_principles.html#zigbee_production_config"&gt;Production configuration part of the Programming principles documentation&lt;/a&gt;. &lt;/p&gt;
[quote user="pwpot"]I am satisfied with answers for other questions:)&amp;nbsp;[/quote]
&lt;p&gt;Great! &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/471419?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 20:47:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e78f3433-ed8e-4c18-9e19-b0603e2f2162</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hi Maria,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for fast response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding &amp;quot;How it works under the hood&amp;quot; I meant the memory configuration layout. I would like to know what is causing the OTA incompatibility.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Additionaly: Is it possible to build app without zboss_product_config partition ? I am not going to use it anyway and at this point 1kB of memory is simply being lost.&lt;/p&gt;
&lt;p&gt;I am satisfied with answers for other questions:)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pawel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] OTA compatibility &amp; custom memory configuration</title><link>https://devzone.nordicsemi.com/thread/471083?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 14:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45532c96-2b44-4f80-a82c-59121155e84a</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Pawel, &lt;/p&gt;
[quote user=""] [&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.3.0.5/zigbee_mem_cfg_feature_ram.html#zigbee_mem_cfg_ram_feature_include"&gt;Developing with ZBOSS&lt;/a&gt;]:&amp;nbsp;[/quote]
&lt;p&gt;This link is to the documentation of an old ZBOSS version. The most recent -- and the one applicable for NCS v2.4.1 is found &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.11.2.1/zigbee_mem_cfg_feature_ram.html#zigbee_mem_cfg_ram_feature_include"&gt;here&lt;/a&gt; (ZBOSS 3.11.2.1 for production). Please update bookmarks if you have an older version of the documentation saved. This can save you some confusion in the future. &lt;/p&gt;
[quote user=""]Is it valid for all configs or only for part of them ?&amp;nbsp;[/quote]
&lt;p&gt;It&amp;#39;s valid for all the configs. &lt;/p&gt;
[quote user=""]How this works under the hood ?&amp;nbsp;[/quote]
&lt;p&gt;What are your referring to here? The memory configuration layout, the OTA DFU process? Please elaborate. &lt;/p&gt;
[quote user=""]Is OTA incompatibility still valid if I am using static partition layout ?&amp;nbsp;[/quote]
&lt;p&gt;Yes, the requirement for using the same memory configuration for future firmware versions applies when you are using a static partition layout. Note that static partition is recommended when you are planning to do DFU in the future.&lt;/p&gt;
[quote user=""]Do I really need to put my custom memory configuration header after zboss_api.h everywhere I am using the zboss_api.h ?[/quote]
&lt;p&gt;No, not everywhere. It is needed in your &lt;strong&gt;main&lt;/strong&gt; application file (often named main.c) and the memory configuration header needs to be included &lt;strong&gt;after&lt;/strong&gt; including zboss_api.h. See the &lt;em&gt;Where to include header files &lt;/em&gt;section of the documentation.&lt;/p&gt;
[quote user=""]Can it be done in other way in Cmake for eg. ?[/quote]
&lt;p&gt;No, the method is as described in the documentation: including it in the main application file after zboss_api.h is included.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>