<?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>How nrf bootloader finds which images is flashing currently...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21700/how-nrf-bootloader-finds-which-images-is-flashing-currently</link><description>Hi, 
 I want know how nrf51822 bootloader finds images type(means weather it is softdevice,bootloader,app) when we pass an image to bootloader for update. And also how bootloader comes to know weather an application is properly flash or not.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Apr 2017 06:53:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21700/how-nrf-bootloader-finds-which-images-is-flashing-currently" /><item><title>RE: How nrf bootloader finds which images is flashing currently...</title><link>https://devzone.nordicsemi.com/thread/85245?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 06:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f81e31c4-670d-4d44-9889-4fd89f0d7f63</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Sudhan,&lt;/p&gt;
&lt;p&gt;you specify the image type when you create the firmware images (.zip) files , see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_example_image.html?cp=4_0_3_4_2_3_1_2"&gt;this&lt;/a&gt; page if you&amp;#39;re using our Legacy Bootloader( SDK v11.0.0 or older) or &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrfutil/nrfutil_pkg.html"&gt;this&lt;/a&gt; page if you&amp;#39;re using the Secure Bootloader( SDK v12.0.0 and later).&lt;/p&gt;
&lt;p&gt;Both bootloaders will verify that the firmware image has been received correctly, i.e. perform a CRC check of the image and compare it to the CRC calculated when the image file was created. After it has verified that the image is complete the bootloader will copy the image from (Bank 1) into the application region( Bank 0) and then compare Bank0 and Bank 1 to verify that the copy operation was successful. If not it will erase Bank 0 and perform the copy operation again.&lt;/p&gt;
&lt;p&gt;Best regards
Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>