<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HCS12XDP512: Global EEPORM Adressing in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12XDP512-Global-EEPORM-Adressing/m-p/136102#M1813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;constant addresses specified in the ANSI C source code are considered as logical addresses for the compiler.&lt;/DIV&gt;&lt;DIV&gt;Rather that defining the variable as:&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#666666"&gt;&amp;nbsp; unsigned char&lt;/FONT&gt; &lt;A href="mailto:ChannelID_EEPROM@0x13f000" rel="nofollow" target="_blank"&gt;&lt;FONT color="#666666"&gt;ChannelID_EEPROM@0x13f000&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color="#666666"&gt;;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#666666"&gt;you have to use the corresponding logical address:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#666666"&gt;&amp;nbsp; unsigned char&lt;/FONT&gt; &lt;A href="mailto:ChannelID_EEPROM@0xFC0800" rel="nofollow" target="_blank"&gt;&lt;FONT color="#666666"&gt;ChannelID_EEPROM@0xFC0800&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color="#666666"&gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;If you are uncertain on how to convert global into logical addresses, there is a tool&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {Install}\prog\hcs12xadrmap.exe which can help you to evaluate the corresponding logical address.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just put the Global address in Global field and the corresponding address will be displayed in the Logical and XGATE edit box.&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2006 20:23:09 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2006-11-10T20:23:09Z</dc:date>
    <item>
      <title>HCS12XDP512: Global EEPORM Adressing</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12XDP512-Global-EEPORM-Adressing/m-p/136100#M1811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-family: 'Times New Roman';"&gt;&lt;SPAN style=": ; font-size: 3;"&gt;I’m porting code from HC12D60A to HCS12XDP512 (banked memory model).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;By HC12 I could read addresses in the EEPROM using the global address modifier (@adress).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt; &lt;SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;unsigned char ChannelID_EEPROM@0x0C00&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 3;"&gt;Using the global address modifier for accessing the EEPROM by the HCS12X (e.g.&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;unsigned char&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ChannelID_EEPROM@0x13F000"&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 2;"&gt;ChannelID_EEPROM&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 2;"&gt;@0x13F000&lt;/SPAN&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;) don’t work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I read absolute addresses in the EEPROM?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 17:20:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12XDP512-Global-EEPORM-Adressing/m-p/136100#M1811</guid>
      <dc:creator>Pitsch</dc:creator>
      <dc:date>2006-11-10T17:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12XDP512: Global EEPORM Adressing</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12XDP512-Global-EEPORM-Adressing/m-p/136101#M1812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Pitsch,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Global Addressing require the use of "&lt;STRONG&gt;FAR&lt;/STRONG&gt;" in C language to take into account the long address.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 19:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12XDP512-Global-EEPORM-Adressing/m-p/136101#M1812</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-11-10T19:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12XDP512: Global EEPORM Adressing</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12XDP512-Global-EEPORM-Adressing/m-p/136102#M1813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;constant addresses specified in the ANSI C source code are considered as logical addresses for the compiler.&lt;/DIV&gt;&lt;DIV&gt;Rather that defining the variable as:&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#666666"&gt;&amp;nbsp; unsigned char&lt;/FONT&gt; &lt;A href="mailto:ChannelID_EEPROM@0x13f000" rel="nofollow" target="_blank"&gt;&lt;FONT color="#666666"&gt;ChannelID_EEPROM@0x13f000&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color="#666666"&gt;;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#666666"&gt;you have to use the corresponding logical address:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#666666"&gt;&amp;nbsp; unsigned char&lt;/FONT&gt; &lt;A href="mailto:ChannelID_EEPROM@0xFC0800" rel="nofollow" target="_blank"&gt;&lt;FONT color="#666666"&gt;ChannelID_EEPROM@0xFC0800&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color="#666666"&gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;If you are uncertain on how to convert global into logical addresses, there is a tool&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {Install}\prog\hcs12xadrmap.exe which can help you to evaluate the corresponding logical address.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just put the Global address in Global field and the corresponding address will be displayed in the Logical and XGATE edit box.&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 20:23:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12XDP512-Global-EEPORM-Adressing/m-p/136102#M1813</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-11-10T20:23:09Z</dc:date>
    </item>
  </channel>
</rss>

