<?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>SDK 12: dfu/bootloader questions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18030/sdk-12-dfu-bootloader-questions</link><description>Hi, 
 With the latest SDK (12) there isn&amp;#39;t an UART bootloader example available. Am I right? 
 I&amp;#39;m trying to understand what are the options to program the nRF51 during production. I&amp;#39;ll use a JLink to program the bootloader but then I need to upload</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Nov 2016 15:49:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18030/sdk-12-dfu-bootloader-questions" /><item><title>RE: SDK 12: dfu/bootloader questions</title><link>https://devzone.nordicsemi.com/thread/69499?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2016 15:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:224f558b-ac04-4530-8bae-00c807184a4a</guid><dc:creator>Mario Ribeiro</dc:creator><description>&lt;p&gt;Ok, got it working with a .bat script. Basically, you just need to merge all the .hex you wat to write into memory.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil settings generate --family NRF51 --application %app_hex% --application-version 0xFFFFFFFF --bootloader-version 0xFFFFFFFF --bl-settings-version 1 bootloader_settings.hex

mergehex -m %bootloader_hex% %app_hex% bootloader_settings.hex -o nrf_bootloader_and_app.hex

nrfjprog --reset --program %sd_hex% -f nrf51 --chiperase 
nrfjprog --reset --program nrf_bootloader_and_app.hex -f nrf51
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;One question still persists though. Is serial DFU planned for a future SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12: dfu/bootloader questions</title><link>https://devzone.nordicsemi.com/thread/69498?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2016 15:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15edd197-6e62-4250-9a22-50841557d44c</guid><dc:creator>Mario Ribeiro</dc:creator><description>&lt;p&gt;Thanks but that doesn&amp;#39;t answer any of my questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12: dfu/bootloader questions</title><link>https://devzone.nordicsemi.com/thread/69497?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2016 23:13:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7db01616-577f-466c-9020-6355b87afdb0</guid><dc:creator>AlekseyJ</dc:creator><description>&lt;p&gt;Bootloader it just a &amp;#39;switch&amp;#39; between the DFU application and your application. You need tell to bootloader run your application first instead DFU. To do this bootloader need to know CRC32 of your application and then it will jump immediattely to your application. You need use nrfutil to create bootloader setting.hex file and then upload (with j-link) bootloader setting hex file with your bootloader hex file and with your application and softdevice hex files.&lt;/p&gt;
&lt;p&gt;To generate bootloader setting hex file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil settings generate --family NRF52 --yourapplication.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 bootloader_settings.hex
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>