<?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>SDK12.2 Program Secure bootloader and application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18264/sdk12-2-program-secure-bootloader-and-application</link><description>I&amp;#39;m trying to program both Secure bootloader and application code using J-Link, preferably as a single hex file. After reset board is stuck in bootloader. UICR is programmed correctly and I&amp;#39;m able to upload code via DFU so I guess proper configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Dec 2016 19:14:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18264/sdk12-2-program-secure-bootloader-and-application" /><item><title>RE: SDK12.2 Program Secure bootloader and application</title><link>https://devzone.nordicsemi.com/thread/70523?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 19:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e35689b9-8a9b-45db-9fc9-5708bfc66dda</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;this works nicely, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK12.2 Program Secure bootloader and application</title><link>https://devzone.nordicsemi.com/thread/70522?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 15:38:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a94d8990-2af2-48f7-9f6d-fb08bf970901</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That is correct, the bootloader will stay in dfu mode unless the application has been marked as valid in the bootloader settings page with the correct checksum value. You can use nrfutil to gerenate this page as explained &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrfutil/nrfutil_settings_generate_display.html?cp=5_4_6"&gt;&lt;strong&gt;here&lt;/strong&gt;&lt;/a&gt;. You can then merge it with the bootloader, application and softdevice to get a single .hex file (merge tool include in &lt;a href="http://www.nordicsemi.com/eng/nordic/Products/nRF52-DK/nRF5x-Command-Line-Tools-Win32/51499"&gt;&lt;strong&gt;command line tools package&lt;/strong&gt;&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>