<?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 Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23092/how-to-flash-application-hex-file-using-dfu-service</link><description>Hi,
i am using NRF52 and S132V2.0.0 SDK11. i am working on BLE application in which i implemented DFU service to it, so that i am able to observe DFU service and 3 characteristics. so i want to upload new hex file using this characteristics. i have tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jul 2017 11:15:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23092/how-to-flash-application-hex-file-using-dfu-service" /><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90871?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 11:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17a5ca5b-bd42-430f-aef7-ee1e5afa6087</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Well and what do you expect us to suggest? You are comparing some firmwares which we have no clue about, E.g. if ZIP is bigger then I suppose that input HEX file is much bigger;) Have you used genpkg utility to prepare your won ZIP files from example project&amp;#39;s HEX files and compare how that works vs. ZIP file generated by Nordic and delivered with SDK or other method?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90872?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 11:00:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23d3f86c-7b3f-4f08-b052-f1c78871da79</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Sorry don&amp;#39;t take it wrong but the description sounds to me like &amp;quot;I&amp;#39;ve constructed space shuttle and now it doesn&amp;#39;t work, what should I do?&amp;quot; The only suggestion I would give you is &amp;quot;Disassemble it to pieces and start slowly step by step and verify that all works after each little step&amp;quot; aka &amp;quot;Go back to some working code, verify that it works as it should and then do small customizations and verify that none of these small steps break the functionality&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90870?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 10:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:311b7686-45be-4f6d-ba5a-c8cceb815c77</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hi if i flash example zip files it is working fine but when i flash generated zip files using
&lt;strong&gt;nrfutil.exe dfu genpkg --application app.hex --application-version 0xFF --dev-revision 0xFF --dev-type 0xFFFF --sd-req 0x81 dfu_app.zip&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;i am unable to run on my board. and also example zip file size is 20 to 30 kb. if generate zip file using above command it is 130 to 150 kb. dont know y.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90876?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 06:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44d4ffbe-0f37-4dbd-a723-4bb9f2deba42</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hey Thank you for quick reply, i have tried with DEBUG, there is no errors and hex is able to flash on the board and if i power reset the board it is going to bootloader mode but the flashed application is not running on the board. i have tried with ZIP file present in the example  SDK also still i am getting same issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90874?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 16:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3983a8ea-fa60-4ab3-8cf9-683f8bd6d00f</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;You should run target in debug mode so you can see if the problem happens before upload is finished or after it (when new app should boot). And all that only for application which is 100% working when flashed over JTAG/SWD! Without that never go to things like OTA bootloading or other auxiliary features...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90873?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 16:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed7ec5ee-8716-4575-992a-521cb28165bb</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hi i am using eclipse IDE, and i am flashing bootloader hex file from command line tools. and able to detect DFUTarget andable to connect and also able to flash on it through Air using NRFTool box, but the flashed hex file not running on the board, how to make it run if i flash from NRFTool box. and also how to debug if i am flahing from MOBILE APP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90875?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 09:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9892ca37-47b7-4dd3-944c-3c4611be3d29</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;As endnode said, you should debug your program and see what happens in your bootloader after uploading your application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90880?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 09:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a2f0749-820d-48b7-932d-e10a339ce3f6</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;yes its&lt;/p&gt;
&lt;p&gt;FLASH (rx) : ORIGIN = 0x1c000, LENGTH = 0x64000
RAM (rwx) :  ORIGIN = 0x20002080, LENGTH = 0xdf80&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90879?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 08:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47b7da46-fac0-4379-9771-38d72a8fbe63</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;Also make sure you did set the correct start address for your application (0x1C000 for sd132 v2.0.0)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90877?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 08:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0de0a361-43c3-4ab2-931e-36285d592a89</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Then you need to go back to basics and debug:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90878?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 13:50:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0a56217-2da3-4c73-8f22-04e077b19b58</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hi, i am able to generate .zip file and also able to upload it on My board but after uploading it application is not Running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash Application hex file using DFU service</title><link>https://devzone.nordicsemi.com/thread/90869?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 13:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8befb565-b53e-488f-a9af-af05a13b8348</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will need to create a ZIP package from your hex application file.
You can use nrfutil to do such zip packages. For example with s132v2.0.0 softdevice:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil.exe dfu genpkg --application app.hex --application-version 0xFF --dev-revision 0xFF --dev-type 0xFFFF --sd-req 0x81 dfu_app.zip
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Check &lt;a href="https://devzone.nordicsemi.com/blogs/715/creating-zip-package-for-dfu/"&gt;this tutorial&lt;/a&gt; for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>