<?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中的主题 ILLEGAL_BP and reset</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217414#M9085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using the MC9S12XEQ512.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had my share of ILLEGAL_BP, but this one I don't understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use the following code that we lifted from the Freescale sample bootloader to do soft reset:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; COPCTL = 0x01;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ARMCOP = 0x00;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When inside the debugger, a soft reset or the hard button reset causes an ILLEGAL_BP (the IP is the customary 0xff13), not always, but &amp;lt; 1 / 5 times.&amp;nbsp; If I exit out of the debugger, the target doesn't seem to have any problem with either the soft or the hard reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to set up a user-defined end trigger and trace, but I can never get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If somebody can shed some light, will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2011 08:24:00 GMT</pubDate>
    <dc:creator>JimSung</dc:creator>
    <dc:date>2011-06-24T08:24:00Z</dc:date>
    <item>
      <title>ILLEGAL_BP and reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217414#M9085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using the MC9S12XEQ512.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had my share of ILLEGAL_BP, but this one I don't understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use the following code that we lifted from the Freescale sample bootloader to do soft reset:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; COPCTL = 0x01;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ARMCOP = 0x00;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When inside the debugger, a soft reset or the hard button reset causes an ILLEGAL_BP (the IP is the customary 0xff13), not always, but &amp;lt; 1 / 5 times.&amp;nbsp; If I exit out of the debugger, the target doesn't seem to have any problem with either the soft or the hard reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to set up a user-defined end trigger and trace, but I can never get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If somebody can shed some light, will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 08:24:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217414#M9085</guid>
      <dc:creator>JimSung</dc:creator>
      <dc:date>2011-06-24T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: ILLEGAL_BP and reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217415#M9086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is you can't debug properly over resets, or at least I don't know how. All settings made to breakpoint registers are lost. Debugger detects that something happened, but it is not clear what it was.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice to use MCU built in trace module to trace over resets. But I think this is also not possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jun 2011 01:52:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217415#M9086</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-06-25T01:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: ILLEGAL_BP and reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217416#M9087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The weird thing is that I get this even when I don't have any breakpoint set.&amp;nbsp; I just "run".&amp;nbsp; And as mentioned, the ILLEGAL_BP doesn't happen all the time, but &amp;lt; 1 / 5 times with either the "soft" reset or the hard button reset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 21:50:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217416#M9087</guid>
      <dc:creator>JimSung</dc:creator>
      <dc:date>2011-06-27T21:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: ILLEGAL_BP and reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217417#M9088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You see ILLEGAL_BP when debugger detects something.&amp;nbsp;Debugger can&amp;nbsp;see this&amp;nbsp;"something" when MCU is reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 23:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ILLEGAL-BP-and-reset/m-p/217417#M9088</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-06-27T23:42:37Z</dc:date>
    </item>
  </channel>
</rss>

