<?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 THE HEX FILE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32414/flashing-the-hex-file</link><description>in my application i am using the hrs application and added dfu and uart service to it. 
 Q1)how dfu service works? 
 For my board i removed the total flash so steps i have used is for bring up is 
 1.flashing bootloader using jlink 
 2.flash softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Mar 2018 09:19:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32414/flashing-the-hex-file" /><item><title>RE: FLASHING THE HEX FILE</title><link>https://devzone.nordicsemi.com/thread/125477?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 09:19:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b86ecef3-cb55-45f0-9b00-f03290262e01</guid><dc:creator>Rune Holmgren</dc:creator><description>&lt;p&gt;When the bootloader start it will check the bootloader settings page to see if it has a valid application available in bank 0. If it does the bootloader will (unless you are holding a button or using the buttonless service) start the application. When you perform DFU to send the application to the device, the bootloader will update the settings page so that the application will be valid. If you want to flash an application to the device and have the bootloader running (useful both in development and production) you will have to generate a settings page and flash it to the device. &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/"&gt;nrfutil&lt;/a&gt;&amp;nbsp;supports the command &lt;strong&gt;&lt;code&gt;nrfutil settings generate&lt;/code&gt;&amp;nbsp;&lt;/strong&gt;which will create a settings page&amp;nbsp;valid for the application you send in as an argument. See documentation in the link above for explanations and an example of use.&lt;/p&gt;
&lt;p&gt;You will typically have a small script or some command line input which generates the settings page from the application hex and then flashes everything you need to the device. It just makes development simpler when you don&amp;#39;t have to do each step manually every time you want to flash a new firmware.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Rune Holmgren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>