<?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: HCS08 - ILLEGAL_BP or Trigger A occurred messge in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193907#M15140</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;As you have already found, the simplest way to resolve this issue is to step over the function, or place a break point following the function call.&amp;nbsp; The problem is caused by your attempt to single step the function.&amp;nbsp; If the function works correctly, there is little need&amp;nbsp;for single stepping.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2008 17:42:34 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2008-10-16T17:42:34Z</dc:date>
    <item>
      <title>HCS08 - ILLEGAL_BP or Trigger A occurred messge</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193904#M15137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hi,&lt;BR /&gt;&lt;BR /&gt;I am using MC9S08JM60 , I used SPI interface when I add code for write cycle , in debugger i get&amp;nbsp; either ILLEGAL_BP or Trigger A occurred message .&amp;nbsp; I am not set any Breakpoint or trigger .&lt;BR /&gt;&lt;BR /&gt;I run code by using Stepover it works fine.&lt;BR /&gt;&lt;BR /&gt;please help&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 20:01:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193904#M15137</guid>
      <dc:creator>roop</dc:creator>
      <dc:date>2008-10-15T20:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 - ILLEGAL_BP or Trigger A occurred messge</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193905#M15138</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;The most likely cause of this problem is a COP reset occurring&amp;nbsp;while you are within a wait loop in your SPI communications function.&amp;nbsp; Here I assume that you would be waiting for the SPRF flag to become set.&amp;nbsp; It is possible for the&amp;nbsp;normal register read operation of the debugger to clear the flag before your code can detect that the flag has become set, so that the wait loop would then never exit.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;By stepping over the function, the debugger does not read the SPI registers within the wait loop, so the correct operation of the function occurs.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 20:45:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193905#M15138</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-10-15T20:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 - ILLEGAL_BP or Trigger A occurred messge</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193906#M15139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;I am wait to set SPRF flag to set, but how do I resolve this problem?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 11:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193906#M15139</guid>
      <dc:creator>roop</dc:creator>
      <dc:date>2008-10-16T11:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 - ILLEGAL_BP or Trigger A occurred messge</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193907#M15140</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;As you have already found, the simplest way to resolve this issue is to step over the function, or place a break point following the function call.&amp;nbsp; The problem is caused by your attempt to single step the function.&amp;nbsp; If the function works correctly, there is little need&amp;nbsp;for single stepping.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 17:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-ILLEGAL-BP-or-Trigger-A-occurred-messge/m-p/193907#M15140</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-10-16T17:42:34Z</dc:date>
    </item>
  </channel>
</rss>

