<?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>ELF produced binary code vs. JTAG uploaded code</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27745/elf-produced-binary-code-vs-jtag-uploaded-code</link><description> 
Anyone know why the binary code generated by the Keil ELF tool is
different from the JTAG uploaded code? It looks like the last 150
bytes or so are different. I have a automatic firmware update tool
that occasionally fails to restart. I have noticed</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: ELF produced binary code vs. JTAG uploaded code</title><link>https://community.arm.com/thread/91277?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2011 14:02:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aa43fdb4-4160-448c-aff4-8db2955aa4c0</guid><dc:creator>Sutton Mehaffey</dc:creator><description>&lt;p&gt;&lt;p&gt;
That may be true. But, the compiled code from Keil along with the
Keil ELF tool produces a contiguous binary file with no holes. If
some of those areas are unused, they are being filled with something
by the compilation and/or ELF tool. The JTAG upload erases the code
space to FF, so if your statement is true, then the unused areas
should remain FF. And, they don&amp;#39;t.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ELF produced binary code vs. JTAG uploaded code</title><link>https://community.arm.com/thread/66997?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2011 13:52:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e4ad0af7-8e69-4362-95de-fca555809855</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Jtag interface just downloads used areas.&lt;/p&gt;

&lt;p&gt;
The binary file can&amp;#39;t contain holes, so it fills more.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>