<?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>nrf52832 secure bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38848/nrf52832-secure-bootloader</link><description>Hi, 
 
 I&amp;#39;m working on a custom application using two microcontrollers a pic32 and a nrf52832, I require the pic32 using an external flash memory to read the binary file stored and communicate to the nordic device to flash the firmware, according to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Sep 2018 13:15:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38848/nrf52832-secure-bootloader" /><item><title>RE: nrf52832 secure bootloader</title><link>https://devzone.nordicsemi.com/thread/150275?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 13:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e54c6c2-8fe3-4b69-8e2b-b3700bd543b9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) The .dat file contain (data for) the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_bootloader_dfu_validation.html?cp=4_0_0_3_5_1_1_0#lib_bootloader_dfu_init"&gt;init packet&lt;/a&gt;, which is needed by the bootloader. There is no way to skip this unless you significantly modify the bootloader (remove signature validation, version checking etc.).&lt;/p&gt;
&lt;p&gt;2) You are right that there is no SPI transport layer for the bootloader. However, it is designed with multiple transport layers in mind, so it should not be that much work to add a SPI transport layer if needed.&lt;/p&gt;
&lt;p&gt;3) There is no DFU controller implementation in C. I will create an internal feature request ticket though, as this is a quite common request. Currently we only have a python implementation (&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;nrfutil&lt;/a&gt;) and &lt;a href="https://github.com/search?q=org%3ANordicSemiconductor+dfu&amp;amp;unscoped_q=dfu"&gt;JavaScript implementation as well as libraries for iOS and Android&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;4) The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_dfu_transport.html?cp=4_0_0_3_5_2"&gt;DFU protocol&lt;/a&gt; is documented on Infocenter as part of the SDK documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>