<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>syntax for hex2bin</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/24392/syntax-for-hex2bin</link><description> 
can any one give the correct syntax for HEX2BIN CONVERSION. I
refered in the website it is not clear and it is not working . 
thanks in advance 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: syntax for hex2bin</title><link>https://community.arm.com/thread/101109?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2008 14:40:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e0da72e0-031f-48b1-bf8b-7d29500e130c</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
But there is no &amp;quot;/f&amp;quot; option listed in the syntax for Hex2Bin - did
you try &amp;quot;/P&amp;quot;...?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: syntax for hex2bin</title><link>https://community.arm.com/thread/101116?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2008 14:09:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f2542c9e-d408-44df-a430-47a52307274b</guid><dc:creator>Adi Moica</dc:creator><description>&lt;p&gt;&lt;p&gt;
found a better one at&lt;br /&gt;
&lt;a target="_blank" href="http://sourceforge.net/project/showfiles.php?group_id=75139&amp;amp;package_id=75583"&gt;sourceforge.net/.../showfiles.php&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: syntax for hex2bin</title><link>https://community.arm.com/thread/76708?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2008 13:25:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f2a33c71-1226-4ad3-964d-3f9eee65df3f</guid><dc:creator>Adi Moica</dc:creator><description>&lt;p&gt;&lt;p&gt;
If myfile.hex has gaps and I want to keep the gaps in erased state
I&amp;#39;d fill them with FF.&lt;/p&gt;

&lt;p&gt;
Both&lt;br /&gt;
HEX2BIN /f0xff myfile.hex&lt;br /&gt;
and&lt;br /&gt;
HEX2BIN /f255 myfile.hex&lt;br /&gt;
fill the gaps with 00 and not FF as I expected.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: syntax for hex2bin</title><link>https://community.arm.com/thread/52504?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2008 15:17:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f642ed13-58e5-44d4-9b0f-1f74bb29d323</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Are you saying that the syntax given at &lt;a href="http://www.keil.com/download/docs/7.asp"&gt;http://www.keil.com/download/docs/7.asp&lt;/a&gt;
is not correct?&lt;/p&gt;

&lt;pre&gt;
Syntax: HEX2BIN [/option] hexfile [binfile]

hexfile is the Intel HEX input file
binfile is the binary file to create

option  may be any of the following

  /Ln     Binary file length
  /Pn     Pad data for binary file
  /On     Address offset (to add to HEX records)
  /M      Merge data into existing BIN file
  /Q      Quiet mode (no statistics are displayed)
  /X      Don&amp;#39;t process ext. segment/linear address records

  /?      This help text
&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: syntax for hex2bin</title><link>https://community.arm.com/thread/52501?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2008 15:13:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0a9b0c4e-49bc-4f04-9462-0e86f283a113</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
In what way is it &amp;quot;not clear&amp;quot;?&lt;/p&gt;

&lt;p&gt;
How can anyone explain it more clearly, if they don&amp;#39;t know what
you need clarifying?!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>