<?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>strange linker behaviour</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18390/strange-linker-behaviour</link><description> Ok, I think, BL51 tries to fool me. I tell him where to place my code segments and he gives me this link map: 
 
 TYPE BASE LENGTH RELOCATION SEGMENT NAME
 -----------------------------------------------------

 * * * * * * * D A T A M E M O R Y * *</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: strange linker behaviour</title><link>https://community.arm.com/thread/137980?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2005 03:58:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:877d3541-c5c9-4b91-9605-bdc9408fa426</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;I expected...&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Don&amp;#39;t just expect; as Hans-Bernhard said, go through the tutorials and &lt;b&gt;find out!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You need to start by reading the uVision &lt;i&gt;Getting Started&lt;/i&gt; Guide, &lt;b&gt;and working through the example projects in it.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This will give you a proper introduction to the tools, how they work, and how to use them - rather than just jumping-in blindly at the deep end.&lt;br /&gt;
&lt;br /&gt;
(The uVision &lt;i&gt;Getting Started&lt;/i&gt; Guide is available on the &amp;#39;Books&amp;#39; tab in the &amp;#39;Project&amp;#39; Window; The &amp;#39;Books&amp;#39; window is also available &lt;i&gt;via&lt;/i&gt; the &amp;#39;Help&amp;#39; menu; failing all that, search for &lt;b&gt;GS51.PDF&lt;/b&gt; in your Keil folder)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange linker behaviour</title><link>https://community.arm.com/thread/129936?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2005 08:46:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:464fe4d9-773b-4320-92cd-82d17729ec35</guid><dc:creator>Eckhard Doll</dc:creator><description>&lt;p&gt;Yes, you&amp;#39;re both right. I expected to get the raw image. as it comes from some other assembler-linker-sets I worked with. i.e. ASXXXX (free product) or 2500AD (now Avocat Systems). stupid me to think executable could mean, by the mc...&lt;br /&gt;
thx for response&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange linker behaviour</title><link>https://community.arm.com/thread/122661?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2005 03:14:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ce24bee3-371e-4c23-9a8a-ee13e141749b</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;i&gt;result is not an executable...&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Still wrong.  That file is an executable all-right, it&amp;#39;s just not the raw image file you believe it to be --- it&amp;#39;s in object file format, and it holds tons of debug information that you can use by running it in the Keil debugger.&lt;br /&gt;
&lt;br /&gt;
Please stop barging blindly ahead and start going through the actual tutorials and manuals provided with the tools.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange linker behaviour</title><link>https://community.arm.com/thread/122660?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2005 02:12:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4b2fa37b-78a1-428e-bf6e-98b3af368653</guid><dc:creator>clever dick</dc:creator><description>&lt;p&gt;Have you checked the &amp;quot;Create hex file&amp;quot; box, and does the file you are burning have a .hex extension?&lt;br /&gt;
It sounds like you are trying to burn the file (with no extension) which is used by the debugger&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange linker behaviour</title><link>https://community.arm.com/thread/111285?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2005 01:28:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e0cc7112-0959-490a-803d-abbcc2ad7dda</guid><dc:creator>Eckhard Doll</dc:creator><description>&lt;p&gt;yes, it looks like it is not. but this is the file, I name in the &amp;#39;options for target&amp;#39;-dialog, tab &amp;#39;output&amp;#39;, field &amp;#39;name of executable&amp;#39;. and I also check button &amp;#39;create executable: .\obj\filename&amp;#39;&lt;br /&gt;
and this is exactly my problem. result is not an executable...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange linker behaviour</title><link>https://community.arm.com/thread/96900?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2005 12:30:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d016a5d2-a7ec-4377-a66e-fc5d932764a3</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;You&amp;#39;re missing the point.  By a mile.&lt;br /&gt;
&lt;br /&gt;
That &amp;quot;ready-to-burn&amp;quot; file you hex-dumped is *not* the file you think it is.  In particular, it&amp;#39;s not ready to burn.  Hardly any programmer will know what to do with it.&lt;br /&gt;
&lt;br /&gt;
In other words, you&amp;#39;re barking up the wrong tree.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange linker behaviour</title><link>https://community.arm.com/thread/73020?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2005 11:19:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:26568f56-3c51-48ec-8d43-e313ec3582da</guid><dc:creator>Eckhard Doll</dc:creator><description>&lt;p&gt;think, it should be hard to find a micro controller which executes hex-code. it&amp;#39;s just a more or less necessary translation step. depends on your programmer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange linker behaviour</title><link>https://community.arm.com/thread/43495?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2005 10:55:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:334356df-d83f-465d-8f07-630421459cd3</guid><dc:creator>Andrey Shemet</dc:creator><description>&lt;p&gt;You should view *.hex file instead of *.obj, because just hex-file is executable for the microcontroller&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>