<?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>tools to convert binary data file to hex compatible with nrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28074/tools-to-convert-binary-data-file-to-hex-compatible-with-nrfjprog</link><description>I have a binary data file that I would like to program in flash at defined address on a nrf52 device 
 Which tool do you advise that generate hex intel file format by providing binary data filename and base address 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Dec 2017 02:22:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28074/tools-to-convert-binary-data-file-to-hex-compatible-with-nrfjprog" /><item><title>RE: tools to convert binary data file to hex compatible with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/110619?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 02:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f808304-8df3-4c28-bcab-ebe0c5ec7ebd</guid><dc:creator>embedded717</dc:creator><description>&lt;p&gt;I think original Makefile.common in the examples also use arm-none-eabi-objcopy to convert .out to .hex.
I checked the link you shared already, the following options didn&amp;#39;t make a difference, still flashing to 0x0. Now I am contemplating manually changing the hex file I created.&lt;/p&gt;
&lt;p&gt;--set-start=val]
[--adjust-start=incr]
[--change-addresses=incr]
[--change-section-address sectionpattern{=,+,-}val]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: tools to convert binary data file to hex compatible with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/110618?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 02:15:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29049b68-4194-44b0-8c9b-eba20f6d81ae</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;&lt;a href="https://manned.org/arm-none-eabi-objcopy"&gt;Read manual&lt;/a&gt;. Btw. one would wonder why doing it so complicated when basically every toolchain today supports direct Intel HEX output?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: tools to convert binary data file to hex compatible with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/110617?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 02:08:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca66c0e0-4680-4115-81b7-ae41f053b26e</guid><dc:creator>embedded717</dc:creator><description>&lt;p&gt;This command works well. However, now I am using SoftDevice, I need to move my app to end of  softdevice in the flash memory. My makefile  is such that I create elf target and then generate bin and hex with arm-none-eabi-objcopy. How can I move my app in the flash memory ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: tools to convert binary data file to hex compatible with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/110616?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 23:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2687e89a-de39-4ee7-b0b3-41ca90c33186</guid><dc:creator>embedded717</dc:creator><description>&lt;p&gt;Ok great, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: tools to convert binary data file to hex compatible with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/110615?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 06:48:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e90359bf-fdf9-40fd-bed1-db14660cf311</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;According to &lt;a href="https://os.mbed.com/questions/1951/Convert-bin-to-hex-file-for-Mac-OSX-109/?sort=date"&gt;this&lt;/a&gt; page it should be something like this&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;arm-none-eabi-objcopy -I binary -O ihex filename.bin filename.hex
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: tools to convert binary data file to hex compatible with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/110614?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 00:37:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9e96380-3305-47d6-84aa-9bfe9335d88c</guid><dc:creator>embedded717</dc:creator><description>&lt;p&gt;How do we use this ? can you give a sample command ..?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: tools to convert binary data file to hex compatible with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/110613?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2017 10:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:149789cb-9b02-4c0d-9e4f-036d3e022e9e</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Use arm-none-eabi-objcopy from GCC for ARM, it has various input output options and BIN to HEX is supported (you supply target address as parameter, see the documentation).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>