<?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>Locating code into a segment</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16467/locating-code-into-a-segment</link><description> Using the latest C51 tools. I&amp;#39;m having to write an IAP (in application programming) bootloader of sorts and need to make sure it lies in a known segment. How can I allocate a given segment to my IAP code such that no other code besides the IAP code is</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Locating code into a segment</title><link>https://community.arm.com/thread/71649?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2003 09:55:25 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3dad086a-b623-4db7-9920-71fa18e12b24</guid><dc:creator>Keil  Support Intl.</dc:creator><description>&lt;p&gt;Sounds like the answer can be found in the Knowledgebase.  For example: &lt;a href="http://www.keil.com/support/docs/2670.htm"&gt;http://www.keil.com/support/docs/2670.htm&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locating code into a segment</title><link>https://community.arm.com/thread/40577?ContentTypeID=1</link><pubDate>Fri, 14 Nov 2003 13:09:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0a525815-62b6-45e5-9d88-4a5b28b4474b</guid><dc:creator>Erik H Gawtry</dc:creator><description>&lt;p&gt;Did you ever get a good answer on this one?  I need to do the same thing.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
-Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locating code into a segment</title><link>https://community.arm.com/thread/71654?ContentTypeID=1</link><pubDate>Thu, 17 Jul 2003 15:57:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:87ca37ff-fb5b-4ddf-b9e2-23df7a9564cf</guid><dc:creator>J Guy</dc:creator><description>&lt;p&gt;That&amp;#39;s a start, but you also need to create a linker file to only allow the bootloader segment into the saved Flash memory segment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locating code into a segment</title><link>https://community.arm.com/thread/40565?ContentTypeID=1</link><pubDate>Thu, 17 Jul 2003 15:07:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2cb5eae2-387d-4912-9b63-9ae46d35b50f</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;The easy way is to put all the IAP code into its own .c file.  Each file gets its own segment name, of the form ?CO?FILENAME.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>