<?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>S12 / MagniV Microcontrollers中的主题 Re: Invalid_BP when changing to internal RAM</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126767#M591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The way the initialization files were setup one of the entry point initialization functions was getting bypassed and causing the issue. I believe it was the INITRM register that was the main problem.&lt;BR /&gt;&lt;BR /&gt;James&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2006 01:27:01 GMT</pubDate>
    <dc:creator>JamesPev</dc:creator>
    <dc:date>2006-08-29T01:27:01Z</dc:date>
    <item>
      <title>Invalid_BP when changing to internal RAM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126764#M588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been developing an application on the HCS12NE64 eval board. It was running fine using the external memory on that board (the default PRM does not use the 0x2000-0x3FFF internal memory, only 0x400 to 0x1FFF which is mapped to external ram). My application hardware does not have any external ram, so I changed the PRM file to map to internal memory. It compiles/links fine, but when I run the debugger it halts part way through the startup code (specifically in the zero initialization phase) with a "INVALID_BP".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I'm not sure what is happening here. Comparing the .map's from the two different builds shows the only differences being the change in RAM address.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2006 22:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126764#M588</guid>
      <dc:creator>JamesPev</dc:creator>
      <dc:date>2006-08-15T22:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid_BP when changing to internal RAM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126765#M589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I have discovered that the issue only occurs when the stack is moved to the internal RAM. If I leave the stack in the external ram but move everything else it still operates correctly.&lt;BR /&gt;&lt;BR /&gt; I'm pretty confused as to why this is happening. Any ideas would be greaty appreciated.&lt;BR /&gt;&lt;BR /&gt;James&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 01:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126765#M589</guid>
      <dc:creator>JamesPev</dc:creator>
      <dc:date>2006-08-16T01:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid_BP when changing to internal RAM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126766#M590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Where do you set the INITRM register?&lt;BR /&gt;It has to be set before the call to Init, otherwise Init wont return as its return address is on the stack.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 03:05:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126766#M590</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-08-16T03:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid_BP when changing to internal RAM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126767#M591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The way the initialization files were setup one of the entry point initialization functions was getting bypassed and causing the issue. I believe it was the INITRM register that was the main problem.&lt;BR /&gt;&lt;BR /&gt;James&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 01:27:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Invalid-BP-when-changing-to-internal-RAM/m-p/126767#M591</guid>
      <dc:creator>JamesPev</dc:creator>
      <dc:date>2006-08-29T01:27:01Z</dc:date>
    </item>
  </channel>
</rss>

