<?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>[OTA] OTA Zigbee from bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71138/ota-ota-zigbee-from-bootloader</link><description>Hi guys, 
 I am trying to add some BLE OTA functions to my NRF52833 running Zigbee. I have looked into the examples in the SDK, and i can see that there is an example for Zigbee OTA server to use BLE to get the flash image and then distribute to the children</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Feb 2021 00:43:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71138/ota-ota-zigbee-from-bootloader" /><item><title>RE: [OTA] OTA Zigbee from bootloader</title><link>https://devzone.nordicsemi.com/thread/293229?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 00:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac25c638-97d6-42ce-8037-43d60505b9a8</guid><dc:creator>Tu Hoang</dc:creator><description>&lt;p&gt;Thank you. I get it now. You&amp;#39;re the best&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [OTA] OTA Zigbee from bootloader</title><link>https://devzone.nordicsemi.com/thread/293136?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2021 14:34:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2919d3cd-b213-43d2-bf94-76deb6185e40</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Tu,&lt;/p&gt;
&lt;p&gt;Installing a new OTA upgrade server application image is done by the bootloader, a slightly modified version of the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_dfu_bootloader.html"&gt;BLE Secure DFU Bootloader&lt;/a&gt;, which installs the firmware in the background so the server can stay connected to the Zigbee network while this happens.&lt;/p&gt;
&lt;p&gt;You should take a look at the code found in&amp;nbsp;examples/zigbee/ota/experimental_server/main.c. There, you&amp;#39;ll find a function for handling the self-upgrade DFU process (ble_transport_disable). After the update, you can reset the OTA server with the function reset_ota_server, and the background DFU bootloader will apply the new firmware.&lt;/p&gt;
&lt;p&gt;You can also use the BLE bootloader, but then the bootloader will reboot in DFU mode, and the device will therefore disconnect from the Zigbee network and stop running the application while the bootloader&amp;nbsp;performs the DFU.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [OTA] OTA Zigbee from bootloader</title><link>https://devzone.nordicsemi.com/thread/292381?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 08:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fc4cdc9-f12e-4a39-a543-7bd2ccf5126f</guid><dc:creator>Tu Hoang</dc:creator><description>&lt;p&gt;Thank you, I may try to use dynamic multiprotocol.&lt;/p&gt;
&lt;p&gt;But I just have another question, after reading some of the documents and examples, i can see this part in here &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fzigbee_example_ota_server.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fzigbee_example_ota_server.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The Zigbee OTA Upgrade Server example accepts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="background-color:#ffff00;"&gt;application upgrade version for self-upgrade, and&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Zigbee images that contain an application which contains the Zigbee stack.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But i do not know how to upload the application for the Server to do self upgrade anywhere. So I have another question: what will i have to do to make the Zigbee OTA server to do self updating?&lt;/p&gt;
&lt;p&gt;Thanks in advance and best regards,&lt;/p&gt;
&lt;p&gt;Tu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [OTA] OTA Zigbee from bootloader</title><link>https://devzone.nordicsemi.com/thread/292376?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 07:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eb98016-c273-401b-8066-81369208cb45</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What you&amp;#39;re describing would be switched multiprotocol, which I&amp;#39;m afraid is only supported on Thread in the SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [OTA] OTA Zigbee from bootloader</title><link>https://devzone.nordicsemi.com/thread/292353?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 01:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7643e874-2998-43de-b25d-d9fe885bf4c1</guid><dc:creator>Tu Hoang</dc:creator><description>&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;So I was thinking because I only need to use BLE for a short time when doing OTA update, can i just turn off Zigbee and turn on BLE when updating then turn on zigbee and turn off BLE when the device are not in updating.&amp;nbsp; If it is possible, where can i look for some references (like example or document) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [OTA] OTA Zigbee from bootloader</title><link>https://devzone.nordicsemi.com/thread/292292?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 14:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2c18a2c-3a10-461a-b2f3-e941d518973b</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you want to use both Zigbee and BLE in your application, you&amp;#39;ll have to implement&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/ble_154_multiprotocol.html?cp=7_3_4_0_1#ble_154_multiprotocol_dynamic"&gt;dynamic multiprotocol&lt;/a&gt;. With this you can run multiple radio protocols in your application, and it works by time-slicing the radio hardware between all protocols. When using this there are some considerations you have to think about, which you can find&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/ble_154_multiprotocol.html?cp=7_3_4_0_1_1#ble_154_multiprotocol_considerations"&gt;here&lt;/a&gt;. One of them is that BLE has priority over Zigbee, and therefore it might interrupt Zigbee stack logic. It&amp;#39;s also recommended to use Sleepy End Device when BLE scanning is used (see&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/using_zigbee__z_c_l.html?cp=7_3_3_4_4#power_saving_zed"&gt;power saving for ZED&lt;/a&gt;). In your case, you should also be aware that flash operations require more time to complete, and may be performed only in a free timeslot, so it has to wait for the current timeslot to finish before being performed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We already have some &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_multi_examples.html"&gt;multiprotocol examples&lt;/a&gt; in the SDK, so I recommend taking a look at them in order to see how it&amp;#39;s been implemented there. Please note that nRF5 SDK for Thread and Zigbee v4.1.0 is based on nRF5 SDK v16.0.0, and using another version of the SDK might cause errors. You can also transform any BLE peripheral example in nRF5 SDK v16.0.0 into a BLE-Zigbee multiprotocol example (see&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_multiprotocol_ble_howto.html"&gt;adding dynamic multiprotocol Zigbee support to BLE examples&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>