<?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>Can DFU unsecured zip back to .hex?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28951/can-dfu-unsecured-zip-back-to-hex</link><description>Hi, I have a DFU unsecured zip file(for application), and I lost the original application .hex file. 
 Is there any way I can transform .zip back to .hex? 
 Sincerely,
Frogofmagic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jan 2018 09:17:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28951/can-dfu-unsecured-zip-back-to-hex" /><item><title>RE: Can DFU unsecured zip back to .hex?</title><link>https://devzone.nordicsemi.com/thread/114538?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 09:17:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56811e8a-09fd-426a-b2cf-ed7cdfff3172</guid><dc:creator>frogofmagic</dc:creator><description>&lt;p&gt;Hi Shibshab, really really appreciate your answer !!!!&lt;/p&gt;
&lt;p&gt;And this how I success :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Download bintohex tool &lt;a href="http://www.keil.com/support/docs/275.htm"&gt;hear&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;unzip DFU .zip and get .bin file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use this command&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;srec_cat.exe DFUzip.bin -Binary -offset 0x1B000 -o  Output.hex -Intel  -address-length=3 -Output_Block_Size=16&lt;/p&gt;
&lt;p&gt;0x1B000 is my application IROM1 start address.&lt;/p&gt;
&lt;p&gt;I tried program .hex to my module and it works!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can DFU unsecured zip back to .hex?</title><link>https://devzone.nordicsemi.com/thread/114537?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 07:49:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94491664-e8a1-43d7-a491-49a50742904f</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;What version of the is being used?&lt;/p&gt;
&lt;p&gt;Anyway, inside the zip there should be a .bin file. This contains all info that a .hex file would contain, EXCEPT addresses of the data. Therefore, you can usually use a bin file instead of a hex file in most tools, given that you provide the address as well.&lt;/p&gt;
&lt;p&gt;It seems like you can use &lt;a href="https://github.com/noahp/bin2hex"&gt;this tool&lt;/a&gt; (not tested) to do the convertion from bin to hex.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>