<?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>8-bit MicrocontrollersのトピックRe: Need suggestions for debugging memory error</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Need-suggestions-for-debugging-memory-error/m-p/202825#M16725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Brad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;JBM wrote:&lt;BR /&gt;&lt;P&gt;I'm working with CodeWarrior and an MC9S08QE128.&amp;nbsp; I have gone to banked memory due to the size of the code and everything was working but as of today I have an error I can't run down.&amp;nbsp; At a point in the code when a function is called, the code jumps to the wrong function and in fact jumps to the middle of the wrong function.&amp;nbsp; I then get an ILLEGAL BP and it resets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;All code except for main.c has been moved to the banked memory using pragmas.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The ISR code must also use unbanked memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 May 2010 11:45:14 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2010-05-22T11:45:14Z</dc:date>
    <item>
      <title>Need suggestions for debugging memory error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Need-suggestions-for-debugging-memory-error/m-p/202824#M16724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with CodeWarrior and an MC9S08QE128.&amp;nbsp; I have gone to banked memory due to the size of the code and everything was working but as of today I have an error I can't run down.&amp;nbsp; At a point in the code when a function is called, the code jumps to the wrong function and in fact jumps to the middle of the wrong function.&amp;nbsp; I then get an ILLEGAL BP and it resets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All code except for main.c has been moved to the banked memory using pragmas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not doing any dynamic memory allocation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have watched the registers and everything look OK to me.&amp;nbsp; I thought at first it was a stack problem, but the stack is fine (I have it at 2K at the moment to ensure it's the the problem).&amp;nbsp; There is enough RAM for all the data, I've checked that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I can't post the code (13+ K lines) since it's not mine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how to run this down?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 May 2010 06:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Need-suggestions-for-debugging-memory-error/m-p/202824#M16724</guid>
      <dc:creator>JBM</dc:creator>
      <dc:date>2010-05-22T06:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need suggestions for debugging memory error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Need-suggestions-for-debugging-memory-error/m-p/202825#M16725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Brad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;JBM wrote:&lt;BR /&gt;&lt;P&gt;I'm working with CodeWarrior and an MC9S08QE128.&amp;nbsp; I have gone to banked memory due to the size of the code and everything was working but as of today I have an error I can't run down.&amp;nbsp; At a point in the code when a function is called, the code jumps to the wrong function and in fact jumps to the middle of the wrong function.&amp;nbsp; I then get an ILLEGAL BP and it resets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;All code except for main.c has been moved to the banked memory using pragmas.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The ISR code must also use unbanked memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 May 2010 11:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Need-suggestions-for-debugging-memory-error/m-p/202825#M16725</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2010-05-22T11:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need suggestions for debugging memory error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Need-suggestions-for-debugging-memory-error/m-p/202826#M16726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that was it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 06:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Need-suggestions-for-debugging-memory-error/m-p/202826#M16726</guid>
      <dc:creator>JBM</dc:creator>
      <dc:date>2010-05-25T06:28:43Z</dc:date>
    </item>
  </channel>
</rss>

