<?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>CodeWarrior for MCUのトピックCodeWarrior 8- &amp; 16-bit tools: External RAM 68HC912DG128A</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-8-16-bit-tools-External-RAM-68HC912DG128A/m-p/124986#M141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;To help you find solutions to problems that have already been solved, we have posted this message. It contains an entire topic ported from a separate forum. The original message and all replies are in this single message.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Posted: Jul 27, 2004 - 07:50 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does someone know how I can add external ram on my motorola? I have found 1 electrical schematic, but I don't know how to do the soft.&amp;nbsp;&lt;BR /&gt;I have defined the adresse of my external RAM in the prm (code Warrior 3.1) from 68000 to 6BFFF&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;( Ram_externe = READ_WRITE 0x68000 TO 0x6BFFF;&lt;BR /&gt;DEFAULT_RAM INTO RAM, Ram_externe&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and in my main, I have initialized my register :&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;MISC=0b00001110;&lt;BR /&gt;MODE=0b01111011;&lt;BR /&gt;PEAR=0b00101100;&lt;/P&gt;&lt;P&gt;And to see if I have access to my external RAM when my internal RAM is full I have made an array of 5000 caracters.&lt;/P&gt;&lt;P&gt;unsigned int far i;&lt;BR /&gt;unsigned int far tab[5000];&lt;/P&gt;&lt;P&gt;for (i=0; i&amp;lt;5000; i++)&lt;BR /&gt;{&lt;BR /&gt;tab[i]=0xFFCC;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;So when I compile I have always got the same warning:&lt;BR /&gt;L1128: Cutting value StackOffset Startup data member from 0x6A80F to A80F.&lt;/P&gt;&lt;P&gt;And then it doesn't works.&lt;/P&gt;&lt;P&gt;Does someone can help me please?&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I really thanks you.&lt;BR /&gt;Thomas&amp;nbsp;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Posted: Jul 28, 2004 - 03:57 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Basically the problem here is that some sections cannot be placed in banked RAM.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This is the case for the stack. remember that the stack pointer register is 2 byte wide&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So you will not be able to get the stack on banked RAM.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you are working in banked memory model, DEFAULT_RAM must also be placed in non-banked RAM.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In banked memory model make sure to allocate only sections defined with the PPAGE attribute in banked RAM.&lt;/P&gt;&lt;P&gt;mw_cbezy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jan 2006 02:20:48 GMT</pubDate>
    <dc:creator>marc_paquette</dc:creator>
    <dc:date>2006-01-28T02:20:48Z</dc:date>
    <item>
      <title>CodeWarrior 8- &amp; 16-bit tools: External RAM 68HC912DG128A</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-8-16-bit-tools-External-RAM-68HC912DG128A/m-p/124986#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;To help you find solutions to problems that have already been solved, we have posted this message. It contains an entire topic ported from a separate forum. The original message and all replies are in this single message.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Posted: Jul 27, 2004 - 07:50 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does someone know how I can add external ram on my motorola? I have found 1 electrical schematic, but I don't know how to do the soft.&amp;nbsp;&lt;BR /&gt;I have defined the adresse of my external RAM in the prm (code Warrior 3.1) from 68000 to 6BFFF&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;( Ram_externe = READ_WRITE 0x68000 TO 0x6BFFF;&lt;BR /&gt;DEFAULT_RAM INTO RAM, Ram_externe&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and in my main, I have initialized my register :&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;MISC=0b00001110;&lt;BR /&gt;MODE=0b01111011;&lt;BR /&gt;PEAR=0b00101100;&lt;/P&gt;&lt;P&gt;And to see if I have access to my external RAM when my internal RAM is full I have made an array of 5000 caracters.&lt;/P&gt;&lt;P&gt;unsigned int far i;&lt;BR /&gt;unsigned int far tab[5000];&lt;/P&gt;&lt;P&gt;for (i=0; i&amp;lt;5000; i++)&lt;BR /&gt;{&lt;BR /&gt;tab[i]=0xFFCC;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;So when I compile I have always got the same warning:&lt;BR /&gt;L1128: Cutting value StackOffset Startup data member from 0x6A80F to A80F.&lt;/P&gt;&lt;P&gt;And then it doesn't works.&lt;/P&gt;&lt;P&gt;Does someone can help me please?&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I really thanks you.&lt;BR /&gt;Thomas&amp;nbsp;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Posted: Jul 28, 2004 - 03:57 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Basically the problem here is that some sections cannot be placed in banked RAM.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This is the case for the stack. remember that the stack pointer register is 2 byte wide&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So you will not be able to get the stack on banked RAM.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you are working in banked memory model, DEFAULT_RAM must also be placed in non-banked RAM.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In banked memory model make sure to allocate only sections defined with the PPAGE attribute in banked RAM.&lt;/P&gt;&lt;P&gt;mw_cbezy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jan 2006 02:20:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-8-16-bit-tools-External-RAM-68HC912DG128A/m-p/124986#M141</guid>
      <dc:creator>marc_paquette</dc:creator>
      <dc:date>2006-01-28T02:20:48Z</dc:date>
    </item>
  </channel>
</rss>

