<?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>flashing dfu bootloader and an application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15446/flashing-dfu-bootloader-and-an-application</link><description>How can I flash both the dfu bootloader and an application, and have the application run after the flash?
As soon as I flash the bootloader, it kicks in doesn&amp;#39;t fire the flashed application because bootloader_app_is_valid(DFU_BANK_0_REGION_START) is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Feb 2017 13:33:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15446/flashing-dfu-bootloader-and-an-application" /><item><title>RE: flashing dfu bootloader and an application</title><link>https://devzone.nordicsemi.com/thread/58971?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 13:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51daa08f-52dc-4f0e-9da6-b2d79eab3ff0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Shay Ohayon: You can have a look &lt;a href="https://devzone.nordicsemi.com/question/22056/combining-sd-dfu-and-application-hex-and-programming/"&gt;here&lt;/a&gt;. Note that this is not applied for secure bootloader from SDK v11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing dfu bootloader and an application</title><link>https://devzone.nordicsemi.com/thread/58970?ContentTypeID=1</link><pubDate>Sun, 05 Feb 2017 01:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9492366-209f-4047-b179-c252b1140c27</guid><dc:creator>Shay Ohayon</dc:creator><description>&lt;p&gt;Is there a way to configure this in the hex file? when I typically download a merged bootloader+sd+app from mbed online compiler, they produce a single hex file, that when copied, automatically boots to the app and not the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing dfu bootloader and an application</title><link>https://devzone.nordicsemi.com/thread/58969?ContentTypeID=1</link><pubDate>Sun, 31 Jul 2016 09:41:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc74439-b1ba-4cc3-bddd-9ec8af16b304</guid><dc:creator>sidekick</dc:creator><description>&lt;p&gt;To make the bootloader aware of the usual method of firmware flashing (Jlink), we need to manually write “0x1” at the address (0x03fc00), disable CRC checking of the image and do a system reset.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ nrfjprog.exe --memwr 0x03fc00 --val 0x1
$ nrfjprog.exe --memwr 0x03fc04 --val 0x0
$ nrfjprog.exe --reset
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;nrfjprog.exe&lt;/strong&gt; is distributed with the nRFGo Studio and in my system it is located in the following directory.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ which nrfjprog.exe
/c/Program Files (x86)/Nordic Semiconductor/nrf5x/bin/nrfjprog.exe
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>