<?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: Illegal BP error MC9S08</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Illegal-BP-error-MC9S08/m-p/162917#M9994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;b-rad wrote:&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;If its not an unmapped interrupt or the watchdog then the other two options are an illegal address or a stack overflow, right?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There are other things that can cause that problem, like mis-jumping to an address that does not contain valid code, or jumping to valid code but not aligned correctly to the instruction. If your using C, check for un-initialized pointers. In assembler, there are dozens of things that can cause that. I think I've done most of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2011 03:00:03 GMT</pubDate>
    <dc:creator>rocco</dc:creator>
    <dc:date>2011-08-30T03:00:03Z</dc:date>
    <item>
      <title>Illegal BP error MC9S08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Illegal-BP-error-MC9S08/m-p/162916#M9993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm implementing SPI communications using the&amp;nbsp;MC9S08GT16A. The code has been working perfectly for ages and now, all of a sudden, im getting an illegal BP error.&lt;/P&gt;&lt;P&gt;I keep getting the error even with the watchdog disabled and no interrupts present in my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If its not an unmapped interrupt or the watchdog then the other two options are an illegal address or a stack overflow, right?&lt;/P&gt;&lt;P&gt;Ive made the stack as large as possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, how do I check if its trying to access an illegal address, and if so, fix that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 00:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Illegal-BP-error-MC9S08/m-p/162916#M9993</guid>
      <dc:creator>b_rad</dc:creator>
      <dc:date>2011-08-30T00:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal BP error MC9S08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Illegal-BP-error-MC9S08/m-p/162917#M9994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;b-rad wrote:&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;If its not an unmapped interrupt or the watchdog then the other two options are an illegal address or a stack overflow, right?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There are other things that can cause that problem, like mis-jumping to an address that does not contain valid code, or jumping to valid code but not aligned correctly to the instruction. If your using C, check for un-initialized pointers. In assembler, there are dozens of things that can cause that. I think I've done most of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 03:00:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Illegal-BP-error-MC9S08/m-p/162917#M9994</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2011-08-30T03:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal BP error MC9S08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Illegal-BP-error-MC9S08/m-p/162918#M9995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you happen to be using full chip simulation (FCS) mode?&amp;nbsp; If so, the SPI code may not operate as intended.&amp;nbsp; Best to use the actual hardware when testing your SPI code.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:10:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Illegal-BP-error-MC9S08/m-p/162918#M9995</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-08-30T11:10:10Z</dc:date>
    </item>
  </channel>
</rss>

