<?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: ILOP and ILAD in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150043#M8032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After many tests on the subject, ILAD flag is not available on the mc9s08aw16 MCU...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I did what I had to do with watchdog reboot !&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2009 19:11:47 GMT</pubDate>
    <dc:creator>vcz</dc:creator>
    <dc:date>2009-12-09T19:11:47Z</dc:date>
    <item>
      <title>ILOP and ILAD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150040#M8029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I need to different type of reboot on my firmware, but unfortunately i can't use watchdog...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I choose ILOP and ILAD but I seems to be the same flag (ILOP of SRS register), could you please comfirm or invalidate this apsect ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 15:43:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150040#M8029</guid>
      <dc:creator>vcz</dc:creator>
      <dc:date>2009-10-28T15:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: ILOP and ILAD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150041#M8030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vcz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The STS register has separate bits for ILOP and ILAD.&amp;nbsp; ILOP is bit D4 and ILAD is bit D3 in the SRS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can generate an illegal instruction in C using inline assembly with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;asm(dbc $8d);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can generate an invalid address by creating a pointer, setting it to an invalid memory address and then writing to that address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that the micrcontroller will reset and in your startup code, you can read the SRS to see if you got an ILOP, ILAD or other reset cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 11:11:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150041#M8030</guid>
      <dc:creator>abartky</dc:creator>
      <dc:date>2009-10-29T11:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: ILOP and ILAD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150042#M8031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunatly, I'm using mc9s08aw16 MCU and bit 3 of SRS register is empty, according to the datasheet...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moreover I'm using SDCC as compiler, so&amp;nbsp; "asm(dbc $8d);" does not works, but this is not the problem I know how to make SDCC generate ILOP and ILAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, the real problem is that ILAD and ILOP seems to be the same flag in SRS register...&lt;/P&gt;&lt;P&gt;Indeed when the MCU reboot after ILOP or ILAD, ILOP flag is 1 for the both. When I electically reset the MCU, ILOP flag is 0. So I cannot make difference between ILOP and ILAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 14:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150042#M8031</guid>
      <dc:creator>vcz</dc:creator>
      <dc:date>2009-10-29T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: ILOP and ILAD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150043#M8032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After many tests on the subject, ILAD flag is not available on the mc9s08aw16 MCU...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I did what I had to do with watchdog reboot !&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 19:11:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150043#M8032</guid>
      <dc:creator>vcz</dc:creator>
      <dc:date>2009-12-09T19:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: ILOP and ILAD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150044#M8033</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;Yes, you are correct, ILAD is not available as a reset source for the 9S08AWxx devices. The reason for this is that the 9S08AW60 does not have an unavailable address within its memory map.&amp;nbsp; Since the 9S08AW16 is based on the larger device, it also does not offer illegal address detection.&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>Thu, 10 Dec 2009 02:02:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ILOP-and-ILAD/m-p/150044#M8033</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2009-12-10T02:02:13Z</dc:date>
    </item>
  </channel>
</rss>

