<?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>bootloader only works when firmware installed by dfu ota</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3168/bootloader-only-works-when-firmware-installed-by-dfu-ota</link><description>I have compiled the bootloader and the application firmware with keil. 
 When I install the application firmware by means of the bootloader dfu ota. 
 The bootloader launches the application firmware correctly. 
 However if I install the application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jul 2015 06:10:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3168/bootloader-only-works-when-firmware-installed-by-dfu-ota" /><item><title>RE: bootloader only works when firmware installed by dfu ota</title><link>https://devzone.nordicsemi.com/thread/11682?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 06:10:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:829463e1-621b-4b77-9584-3545381060bc</guid><dc:creator>martial</dc:creator><description>&lt;p&gt;Hi People,&lt;/p&gt;
&lt;p&gt;I face a similar problem like this. Once doing a DFU OTA, I get a message from nrf toolbox stating the transfer has been successful but I find the device to be still in bootloader and not jumping to application. Is the problem that I state is similar to that mentioned in the thread? I use SDK9.0 with SD8.0 and nrf51822 Rev 3 chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bootloader only works when firmware installed by dfu ota</title><link>https://devzone.nordicsemi.com/thread/11681?ContentTypeID=1</link><pubDate>Fri, 18 Jul 2014 13:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbd68562-3324-446a-bb08-8b30b334ac3e</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I was programming the app with the Keil IDE and the bootloader with nrfjprog, but what you have there should work as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bootloader only works when firmware installed by dfu ota</title><link>https://devzone.nordicsemi.com/thread/11680?ContentTypeID=1</link><pubDate>Fri, 18 Jul 2014 00:28:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f6d1b77-a847-4dd2-a17f-e00cd808d4a0</guid><dc:creator>tim</dc:creator><description>&lt;p&gt;Thank you that does appear to be the problem.&lt;/p&gt;
&lt;p&gt;I assume programmed the bootloader and the application together as follows.&lt;/p&gt;
&lt;p&gt;nrfjprogj.exe --reset --program blootloader.hex application.hex --verify&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bootloader only works when firmware installed by dfu ota</title><link>https://devzone.nordicsemi.com/thread/11679?ContentTypeID=1</link><pubDate>Thu, 17 Jul 2014 21:17:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:205a1870-6a39-436a-8500-75fc00426bdc</guid><dc:creator>John</dc:creator><description>&lt;p&gt;A while back I noticed that any time I programmed my application FW using Keil or nrfjprog, and the chip had previously been upgraded with the bootloader, the chip would get &amp;quot;stuck&amp;quot; in the bootloader. What was happening was that when the chip was bootloaded, the bootloader calculated and stored the CRC of the application FW it programmed. When the bootloader runs after a reset, it recalculates the CRC of the application FW in memory. If this CRC doesn&amp;#39;t match the one it stored on the previous bootloader it will not jump to your application.&lt;/p&gt;
&lt;p&gt;So, if you bootload a device and then later reprogram it with an external programmer you will see the problem you are having. So you either need to bootload the application again, or find a way to erase the CRC the bootloader has stashed away. I did the latter by reprogramming the bootloader when I reprogrammed the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>