<?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: Is it possible to clear the Illegal opcode reset flag? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147667#M7515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hello Mac,&lt;BR /&gt;&lt;BR /&gt;I checked with confirmed user and software confirms your understanding.&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;B&gt;It is an IMPORTANT change from HC08 to S08.&lt;/B&gt;&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;&lt;B&gt;On HC08, the SRSR is cleared when read.&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;On S08, the SRS is updated on resets only.&lt;/B&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2007 16:31:21 GMT</pubDate>
    <dc:creator>Alban</dc:creator>
    <dc:date>2007-09-20T16:31:21Z</dc:date>
    <item>
      <title>Is it possible to clear the Illegal opcode reset flag?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147663#M7511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to perform a reset in my routine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I choose the illegal opcode reset for my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when my routine occur the reset. The illegal opcde flag can't be clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the MC9S08AW32 datasheet, they don't tell us how to clear the system reset flag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to clear the reset flag in our routine?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 15:41:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147663#M7511</guid>
      <dc:creator>Daniel_FE</dc:creator>
      <dc:date>2007-09-19T15:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to clear the Illegal opcode reset flag?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147664#M7512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I believe that, like on HC08, you simply need to read SRS for its content to be cleared.&lt;BR /&gt;&lt;BR /&gt;That is why I think it it is better to save its content in a variable before doing different tests to learn the cause of the last Reset.&lt;BR /&gt;&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 16:47:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147664#M7512</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-09-19T16:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to clear the Illegal opcode reset flag?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147665#M7513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Alban: I tried it already, when I read the SRS register, it's seem no effect for clearing the reset flag. I use a LED to indicate that illegal opcode reset flag is true or false. But the LED is always on. It's mean that illegal opcode reset flag is always true. I think the HCS08 is different with HC08. Thanks for you reply.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 08:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147665#M7513</guid>
      <dc:creator>Daniel_FE</dc:creator>
      <dc:date>2007-09-20T08:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to clear the Illegal opcode reset flag?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147666#M7514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;My understanding of the AW60 data sheet is that the SRS register provides the source of the last reset, and would not be updated until the next reset occurs.&amp;nbsp; To clear the ILOP bit would need a further reset for which the cause was something other than&amp;nbsp;an illegal opcode.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 09:48:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147666#M7514</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-09-20T09:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to clear the Illegal opcode reset flag?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147667#M7515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hello Mac,&lt;BR /&gt;&lt;BR /&gt;I checked with confirmed user and software confirms your understanding.&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;B&gt;It is an IMPORTANT change from HC08 to S08.&lt;/B&gt;&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;&lt;B&gt;On HC08, the SRSR is cleared when read.&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;On S08, the SRS is updated on resets only.&lt;/B&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 16:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147667#M7515</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-09-20T16:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to clear the Illegal opcode reset flag?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147668#M7516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Alban and Mac:&lt;BR /&gt;&lt;BR /&gt;I'm appreciate yours help.&lt;BR /&gt;&lt;BR /&gt;I'll try it tomorrow.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:12:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147668#M7516</guid>
      <dc:creator>Daniel_FE</dc:creator>
      <dc:date>2007-09-21T08:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to clear the Illegal opcode reset flag?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147669#M7517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Daniel,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Another HC08 to S08 difference here is that the S08 will only show the last reset status whereas the reset causes can accumulate in a HC08 if it is not cleared by reading.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The S08 can have multiple bits set if multiple sources were present&amp;nbsp;at reset.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You only need to check the SRSR on initialisation, reading from it later makes no sense. Also doing it this way, the fact that it is not resettable is irrelevant.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Sep 2007 15:33:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-it-possible-to-clear-the-Illegal-opcode-reset-flag/m-p/147669#M7517</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-09-22T15:33:06Z</dc:date>
    </item>
  </channel>
</rss>

