<?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>Install bootloader from dfu .zip-file on empty/erased nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57966/install-bootloader-from-dfu-zip-file-on-empty-erased-nrf52</link><description>I have a BLE board with a nRF52832 and some peripherals. It came with a preinstalled bootloader and firmware (the bootloader supports DFU via BLE to upgrade the bootloader and the firmware). 
 In the past I wrote my own firmware for the board based on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Feb 2020 11:59:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57966/install-bootloader-from-dfu-zip-file-on-empty-erased-nrf52" /><item><title>RE: Install bootloader from dfu .zip-file on empty/erased nRF52</title><link>https://devzone.nordicsemi.com/thread/235164?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2020 11:59:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:705cb609-8c0e-4bb0-b9f6-05b58e3d9023</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Johannes,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if you have the zip that only contains the bootloader, then you can use Jlink Commander and the &lt;em&gt;loadbin&lt;/em&gt; command to load the&amp;nbsp;ebootloader.bin as long as you know its start address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;loadbin Load *.bin file into target memory. Syntax: loadbin &amp;lt;filename&amp;gt;, &amp;lt;addr&amp;gt;&lt;/p&gt;
&lt;p&gt;The manifest file indicates that this is a zip package generated using a old version of nrfutil and is compatible with our legacy DFU solution, i.e. SDK v11 and backwards. The older bootloaders were by default placed at&amp;nbsp;0x7A000 and took up 16kB( 4 flash pages)&lt;/p&gt;
&lt;p&gt;You also need to write the bootloader start address to UICR, specifically 0x10001014. E.g. if the bootloader starts at&amp;nbsp;0x7A000 then this is the value that should be written to&amp;nbsp;&lt;span&gt;0x10001014. You can do this using nrfjprog and the --memwr command.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>