<?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 segments in HDATA by default</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/42282/locating-segments-in-hdata-by-default</link><description> Okay, I think this should be an easy one! 
 
I have a program/data partition at 0x20000. I also have internal SRAM from 0-0x1300. 
 
Without the &amp;#39;Use internal SRAM&amp;#39; box checked, I get this config: 
 
 XDATA (X:0x20000-X:0x2FFFF)
 HDATA (X:0x20000-X:0x2FFFF</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Locating segments in HDATA by default</title><link>https://community.arm.com/thread/110774?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2004 03:17:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bb2da771-581b-42be-a3ac-8c93dded30ec</guid><dc:creator>Jay Miller</dc:creator><description>&lt;p&gt;Heh, that does help as it doesn&amp;#39;t seem like the stock dialog boxes are going to drop everything into place.&lt;br /&gt;
&lt;br /&gt;
The main problem, though, is that I&amp;#39;m not even sure of the customizations I need to apply!&lt;br /&gt;
&lt;br /&gt;
- My classes seem correct.  As I pasted in my original post, above, I have a small XDATA class and a larger HDATA class (it can&amp;#39;t be addressed as XDATA since it&amp;#39;s out of XDATA&amp;#39;s standard 16 bit range).&lt;br /&gt;
&lt;br /&gt;
- My segments &lt;b&gt;do not&lt;/b&gt; seem correct and herein is the real trouble!  They are all apparently being located off of that small XDATA class.  Because it&amp;#39;s so small this is a Bad Thing, and I&amp;#39;m not sure how to correct it.. as I mentioned, explicitly locating them doesn&amp;#39;t seem to work.&lt;br /&gt;
&lt;br /&gt;
Any more thoughts are most welcome!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locating segments in HDATA by default</title><link>https://community.arm.com/thread/96147?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2004 19:47:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1fe9492b-d003-47a0-aea4-1aad7f441989</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;Here&amp;#39;s what you need to do.&lt;br /&gt;
&lt;br /&gt;
1. In Options for Target...Setup the memory in the target window the way you kind-of want.  Just get it close.&lt;br /&gt;
&lt;br /&gt;
2. Click on the LX51 Locate tab.&lt;br /&gt;
&lt;br /&gt;
3. Copy the stuff in the C classes list.&lt;br /&gt;
&lt;br /&gt;
4. Paste this stuff into the User Classes section.&lt;br /&gt;
&lt;br /&gt;
5. Un-check the Uses Memory Layout from Target Dialog checkbox.&lt;br /&gt;
&lt;br /&gt;
6. Modify the classes as you need.&lt;br /&gt;
&lt;br /&gt;
When configurations get sophisticated there&amp;#39;s nothing like manually controlling where everything goes.  Hope this helps.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locating segments in HDATA by default</title><link>https://community.arm.com/thread/72317?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2004 17:14:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:153d946b-bd2e-40fb-a541-01e5695fe00e</guid><dc:creator>Jay Miller</dc:creator><description>&lt;p&gt;Dallas&amp;#39;s 5250.&lt;br /&gt;
&lt;br /&gt;
I was hoping that wouldn&amp;#39;t matter, since a) it seems like the solution should generalize and b) we can&amp;#39;t really talk about the chip&amp;#39;s inner workings anyway (sigh).&lt;br /&gt;
&lt;br /&gt;
Regardless, if there are any other bits of info that might seem helpful, please don&amp;#39;t hesitate to ask!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locating segments in HDATA by default</title><link>https://community.arm.com/thread/41799?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2004 17:00:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:23ca820e-c626-4239-9817-c3cf978e5e41</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;Any ideas on what I&amp;#39;ve missed?&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Telling us what variant you&amp;#39;re using, for a start!  ;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>