<?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>nRF52 DFU over NBIoT network</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44602/nrf52-dfu-over-nbiot-network</link><description>HI, we want to develop DFU over NBIoT network (UDP), and we would like some advice on how to implement that. We are using nRF52832. 
 Looking at your SDK examples for BLE and UART DFU, we noticed that there is a defined messaging standard, and only thing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Mar 2019 09:39:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44602/nrf52-dfu-over-nbiot-network" /><item><title>RE: nRF52 DFU over NBIoT network</title><link>https://devzone.nordicsemi.com/thread/178601?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 09:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc82f933-3bb4-4159-8407-a7a0481918f7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF5 SDK bootloader handles the transfer inside the bootloader, so the bootloader have full control of the process, including where it temporarily stores the new image. The application only needs to signal to the bootloader that its sould enter DFU mode.&lt;/p&gt;
&lt;p&gt;It sounds like the question is about a&amp;nbsp;slim bootloader that only verifies and activates the image (from point 2 in your original question). Then you have to implement that yourself, for instance based on some of the other bootloaders we supply, as discussed earlier. I cannot comment in detail on how this will works, since I don&amp;#39;t know&amp;nbsp;what you are basing your bootloader on? If you base it on the Thread and ZigBee SDK, then this use a separate flash page for bootloader settings. Then there is a flag indicating weather bank 1 has a update image that is ready or not. This flag should be set by the application, and if this flag is set, the bootloader will try to validate and activate (copy in place) that image.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DFU over NBIoT network</title><link>https://devzone.nordicsemi.com/thread/178565?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 07:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:215d6e25-30c6-46de-a6ec-b2da24fea190</guid><dc:creator>mfilipovic</dc:creator><description>&lt;p&gt;Thanks for responding!&lt;/p&gt;
&lt;p&gt;I have another question.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;If we use dual bank mode, and download into bank 1 and verify the image in application, what do we need to do to tell the bootloader that there is a new image in bank 1?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Does bootloader on boot always check if there is a new image in bank 1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DFU over NBIoT network</title><link>https://devzone.nordicsemi.com/thread/176150?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 11:13:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:794542eb-7393-4d2c-877d-7a6e5abbb616</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) The nRF5 SDK DFU Bootloader can be either dual bank (if here is enough free flash space) or single bank (if there is not enough free flash space). It automatically switched between the two for the application, unless dual banking is enforced. It always uses two banks for bootloader and/or SoftDevice updates. Note that the second bank is only used for temporary storage, the new firmware is always copied to the same location as the old after it has been completely received and verified. (Not doing so would require position independent firmware, which is not something we advise against.)&lt;/p&gt;
&lt;p&gt;2) Yes, you can adopt the bootloader to be a thin bootloader that only verifies the image and activates it (copies it in place). You probably want to do both the pre-validation and post-validation steps from the normal ensuring both that the firmware is of correct version (increasing), for the correct HW, is intact and verify its authenticity. Then activate it in the bootloader. How much of the validation is done in the application and how much in the bootloader is up to you. You can look at the DFU bootloader implmementation to see how it is done there. You can also refer to the ZigBee bootloader in the &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Software/nRF5-SDK-for-Thread-and-Zigbee"&gt;Thread and ZigBee SDK&lt;/a&gt; for an example of a thin bootloader that does something similar.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>