<?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>Logical address versus physical address</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/21321/logical-address-versus-physical-address</link><description> 
I need to put some ?CO? and ?XD? segments at a physical address
which is different than the logical one (used in the program). I
don&amp;#39;t know how to. 

 
I have succeeded doing this only with executable segments with
this syntax: 
?PR?*?SEG(logical_address</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/144190?ContentTypeID=1</link><pubDate>Sun, 25 Feb 2007 10:54:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:09f4e7ea-8346-441a-a3f3-22af1a120f05</guid><dc:creator>Jonny Doin</dc:creator><description>&lt;p&gt;&lt;p&gt;
Like Jay Daniel, I have searched deep into Philips sites and have
not found any datasheet for that family. Since it is targeted to
serious criptographic applications, like digital passports, it may
require NDA binds to get access to the documentation. If that is the
case, you would be breaking such agreements by disclosing the
datasheets to third parties.&lt;/p&gt;

&lt;p&gt;
Without having access to the documentation, I can only speculate
on how virtual-to-physical addresses are resolved by the compiler and
linker. You probably have a well-documented MMU programming interface
by which you can dynamically map physical addresses (as pages or
blocks probably) to virtual addresses (as segments probably) accessed
by your program. You may also have a linker scripting interface to
map static physical-to-virtual relocations that will allow the binary
image to be loaded to physical rom locations with information to a
loader that maps the MMU virtual addresses to the static physical
objects. In either case, you should have compiler #pragmas or linker
locator commands to control absolute physical location and force
physical-to-virtual mapping of selected absolutely located
segments.&lt;/p&gt;

&lt;p&gt;
Please if you can disclose any datasheet information, or can
supply a link to the datasheet, do so.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/141725?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2007 07:42:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:01fa366e-b584-4ab2-8fec-5350e8b10fc5</guid><dc:creator>Jason Daniel</dc:creator><description>&lt;p&gt;&lt;p&gt;
I&amp;#39;ve contacted Philips requesting a datasheet for this controller,
but haven&amp;#39;t heard back. I can&amp;#39;t seem to find anything on their
website aside from their &amp;quot;short form specification.&amp;quot; If you have the
datasheet for your chip, please forward it to me at
jdaniel@NOSPAM.ieee.org. (remove the NOSPAM. to get my real email
address).&lt;/p&gt;

&lt;p&gt;
I&amp;#39;m actually interested in what the notion of an MMU for the 8051
looks like, so I&amp;#39;d be willing to try and help you figure this
out.&lt;/p&gt;

&lt;p&gt;
-Jay Daniel&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/138386?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2007 15:41:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9d417329-98c7-4c1a-9f95-30ff919bd83e</guid><dc:creator>ZE Tony</dc:creator><description>&lt;p&gt;&lt;p&gt;
the chip is a Philips SmartMx (8-bit microcontroller).&lt;/p&gt;

&lt;p&gt;
Any idea to help me?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/134924?ContentTypeID=1</link><pubDate>Sun, 18 Feb 2007 05:47:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f38bcab0-1c82-42b3-b4ce-f6a759c818ac</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;&lt;p&gt;
See here for more information about the usage of the SEGMENT
directive.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/123653?ContentTypeID=1</link><pubDate>Sat, 17 Feb 2007 11:23:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c63da780-86cd-4bb0-84b7-c2d575812c76</guid><dc:creator>Jonny Doin</dc:creator><description>&lt;p&gt;&lt;p&gt;
Would you please tell which chip are you using?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/112656?ContentTypeID=1</link><pubDate>Sat, 17 Feb 2007 04:02:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:62ae85a7-356a-4239-8cfa-cbe4cfddd72a</guid><dc:creator>ZE Tony</dc:creator><description>&lt;p&gt;&lt;p&gt;
I am very interested since i already tried to implement the MMU of
a Philips 8-bit micro-controller and i&amp;#39;ve got a lot of problem :&lt;br /&gt;
- i cannot put ?CO? segments with virtual addresses&lt;br /&gt;
- i cannot debug (put some breakpoints) directly inside C source
files but only in dissasembly mode (not very easy)&lt;br /&gt;
...&lt;/p&gt;

&lt;p&gt;
Thanks,&lt;br /&gt;
/tony&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/98904?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2007 09:52:38 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c0159980-3300-4541-b905-92264c034ddd</guid><dc:creator>Jonny Doin</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;Indeed it has a MMU. Any clue?&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
I see, this is a contest. How many tries we have, and what are the
prizes?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/98905?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2007 07:54:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:24b8c515-681c-4f0c-888b-fbec0fe2ccaf</guid><dc:creator>Jason Daniel</dc:creator><description>&lt;p&gt;&lt;p&gt;
Please tell us what the exact chip you&amp;#39;re using is, then maybe we
can have a look at the data sheet and see what&amp;#39;s what.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/74816?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2007 04:12:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:be86f3a8-10e1-4754-9b4b-b068993ec982</guid><dc:creator>Emmanuel Barau</dc:creator><description>&lt;p&gt;&lt;p&gt;
Indeed it has a MMU.&lt;/p&gt;

&lt;p&gt;
Any clue?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logical address versus physical address</title><link>https://community.arm.com/thread/47782?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2007 09:34:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ce1e94b4-683e-4ffc-b59a-f6f653aeb511</guid><dc:creator>Jonny Doin</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;I need to put some ?CO? and ?XD? segments at a physical
address which is different than the logical one (used in the
program). I don&amp;#39;t know how to.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Unless the 8051 derivative you are using has a MMU, I really don&amp;#39;t
know what you are talking about.&lt;/p&gt;

&lt;p&gt;
Could you please explain the difference between logical and
physical addresses?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>