<?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: QE128 vs Interrupt Vector Redirection</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177014#M12474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just because there is no automatic vector redirection doesn't mean you can't emulate it yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each vector you'll have to add code like the example below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;in your application&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;RedirectedVswi&amp;nbsp; dw SwiHandler&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;in your bootloader code&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ToSWI brset&amp;nbsp; BOOTMODE.,Flags,LocalSWI&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lda&amp;nbsp;&amp;nbsp;&amp;nbsp; RedirectedVswi+1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; psha&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lda&amp;nbsp;&amp;nbsp;&amp;nbsp; RedirectedVswi&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; psha&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; rts&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LocalSWI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; in actual vector area (in bootloader)&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Vswi dw ToSWI&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;P.S. Just edited to show how to work with two ISRs depending on which code is running.&amp;nbsp; BOOTMODE. flag should be set in bootmode and cleared in application.&amp;nbsp; Flags should be shared by both codes.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2010 01:45:55 GMT</pubDate>
    <dc:creator>tonyp</dc:creator>
    <dc:date>2010-02-18T01:45:55Z</dc:date>
    <item>
      <title>QE128 vs Interrupt Vector Redirection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177011#M12471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The HCS08 Reference Manual specifies (HCS08RMV1.pdf section 4.5.5) that the interrupt vector table is relocated to a lower memory location (just below the protected FLASH area) when a region of FLASH is protected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know this applies to the QE8 but does it also apply to the QE64 and QE128 ? The MC9S08QE128RM.pdf document does not mention the relocation of the interrupt vector table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 00:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177011#M12471</guid>
      <dc:creator>pbouf</dc:creator>
      <dc:date>2010-02-18T00:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: QE128 vs Interrupt Vector Redirection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177012#M12472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, QE64, QE96, and QE128 (that is, all the MMU versions) do not have vector redirection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 01:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177012#M12472</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2010-02-18T01:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: QE128 vs Interrupt Vector Redirection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177013#M12473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have a suggestion on how I can managed to use interrupts in my I2C bootloader and also in the application code ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 01:16:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177013#M12473</guid>
      <dc:creator>pbouf</dc:creator>
      <dc:date>2010-02-18T01:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: QE128 vs Interrupt Vector Redirection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177014#M12474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just because there is no automatic vector redirection doesn't mean you can't emulate it yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each vector you'll have to add code like the example below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;in your application&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;RedirectedVswi&amp;nbsp; dw SwiHandler&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;in your bootloader code&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ToSWI brset&amp;nbsp; BOOTMODE.,Flags,LocalSWI&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lda&amp;nbsp;&amp;nbsp;&amp;nbsp; RedirectedVswi+1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; psha&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lda&amp;nbsp;&amp;nbsp;&amp;nbsp; RedirectedVswi&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; psha&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; rts&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LocalSWI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; in actual vector area (in bootloader)&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Vswi dw ToSWI&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;P.S. Just edited to show how to work with two ISRs depending on which code is running.&amp;nbsp; BOOTMODE. flag should be set in bootmode and cleared in application.&amp;nbsp; Flags should be shared by both codes.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 01:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-vs-Interrupt-Vector-Redirection/m-p/177014#M12474</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2010-02-18T01:45:55Z</dc:date>
    </item>
  </channel>
</rss>

