<?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 to flash hex file using dfu in nrf Tool box application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16295/how-to-flash-hex-file-using-dfu-in-nrf-tool-box-application</link><description>hi,
i am working on blinky example code. i was build the code and generated hex file using Eclipse IDE. i have nrf51822 ble module. 
 want to flash the hex file using dfu in nrf tool box mobile application(through bluetooth). i am able to select the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Sep 2016 16:40:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16295/how-to-flash-hex-file-using-dfu-in-nrf-tool-box-application" /><item><title>RE: How to flash hex file using dfu in nrf Tool box application</title><link>https://devzone.nordicsemi.com/thread/62280?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2016 16:40:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bda0e755-a7c1-4364-82b7-a113eb8247c5</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;just skip flashing a softdevice then. Bootloader example hex file has merged softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash hex file using dfu in nrf Tool box application</title><link>https://devzone.nordicsemi.com/thread/62279?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2016 16:18:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ea7c08e-78ce-4548-aaa8-a49f2c0bb0fc</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hi, keton
unable to flash bootloader after flashing s130v2. it is showing bootloader data in soft device region which bootloader  version i need to flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash hex file using dfu in nrf Tool box application</title><link>https://devzone.nordicsemi.com/thread/62278?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2016 03:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c87b3dcc-b4a5-4e46-96e5-bb21f8dba606</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Be aware that some of the modules like the one in that picture have nRD51822QFAA devices on them, which are 16k.&lt;/p&gt;
&lt;p&gt;The pca10028 board has a 32k device, you many find the dfu_dual_bank_ble_s130 bootloader does not work as it attempts to use more RAM than your device has available&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash hex file using dfu in nrf Tool box application</title><link>https://devzone.nordicsemi.com/thread/62281?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2016 18:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc1900e9-49e5-43bb-9990-f726ad089fc9</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;In order for DFU to work you have to flash bootloader and softdevice onto your board. Also as you are using custom board it&amp;#39;s important that you define buttons and leds as by default bootloader is triggered by holding button4 and reseting the board. For a quick debug you may try to connect buttons and leds to the same pins as in Nordic nRF51-DK so no code changes will be necessary. Assuming that you are using SDK11 you should:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;do a full chip erase in nrfGo Studio or using &lt;code&gt;nrfjprog -e&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;flash S130v2 hex file&lt;/li&gt;
&lt;li&gt;flash bootloader hex file &lt;code&gt;examples\dfu\bootloader\hex\dfu_dual_bank_ble_s130_pca10028&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;after board reset equivalents of LEDs 1 and 3 should be on. Board is stuck in bootloader mode because there&amp;#39;s no application flashed. There should be bootloader peripheral device &amp;#39;DfuTarg&amp;#39; on you BLE scanner&lt;/li&gt;
&lt;li&gt;using nRFConnect app for android flash &lt;code&gt;examples\dfu\ble_dfu_send_hex\test_images_update_nrf51\dfu_test_app_hrm_s130_w_dfu.zip&lt;/code&gt;:&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;connect to &amp;#39;DfuTarg&amp;#39; device  there&lt;/li&gt;
&lt;li&gt;should be DFU button next to&lt;/li&gt;
&lt;li&gt;disconnect button, press it  select update .zip file and press start&lt;/li&gt;
&lt;li&gt;there should be graph showing update progress&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="6"&gt;
&lt;li&gt;after operation completes there should be Nordic_HRM peripheral&lt;/li&gt;
&lt;li&gt;if you connect to it there should be a DFU service and DFU button should be active so you can try to flash something else.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For a first time approach I strongly recommend connecting button to DK button 4 pin and all 4 LEDs. Also try SDK11 as it&amp;#39;s more automated than in case of 12. After you make it work you may try to switch to SDK12 where there&amp;#39;s no automated way of entering bootloader from app so far and you need to have custom bootloader build with you crypto keys.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>