<?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>Processor Expert SoftwareのトピックRe: question on PE generated vector table for 8bit MCU</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274514#M1822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let’s see what will happen when an interrupt comes:&lt;/P&gt;&lt;P&gt;When an interrupt comes,&amp;nbsp; CW will check the according interrupt table and load the interrupt service subroutine address(for example, 0xE0A4) to PC pointer, then CW will executes the pseudo-&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;instruction from 0xE0A4 until it meets the return instruction(for example RTI). This is the normal interrupt execution process in Codewarrior.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt; If the interrupt service subroutine address is 0xFFFE, when the according interrupt comes, CW will load 0xFFFE to PC pointer then executes the &lt;/EM&gt;&lt;/SPAN&gt;pseudo-&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;instruction from 0xFFFE.&amp;nbsp; Although 0xFFFE loads the startup code address(for example 0xE07B), PC pointer will not load 0xE07B the code will not jump to address 0xE07B but execute the &lt;/EM&gt;&lt;/SPAN&gt;pseudo-&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;instruction of address 0xFFFE.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;If you want see the exact difference between PC pointer pointing 0xFFFE and 0xFFFF. You can check how the code execution for these two line of code, separately:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;asm jmp 0xFFFE;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;asm jmp 0xFFFF;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 10:46:31 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2013-07-29T10:46:31Z</dc:date>
    <item>
      <title>question on PE generated vector table for 8bit MCU</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274511#M1819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use Codwarrior 6.3 processor expert. when creates a new project. processor expert generate vector table that includes UNASSIGNED_ISR defined as 0xFFFF.&lt;/P&gt;&lt;P&gt;so what will happen when this unexceptional UNASSIGNED_ISR happend? program goes to address 0xFFFF and stuck there?&lt;/P&gt;&lt;P&gt;and what will happen if define UNASSIGNED_ISR as 0xfffe?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 09:08:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274511#M1819</guid>
      <dc:creator>hotashu</dc:creator>
      <dc:date>2013-07-16T09:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: question on PE generated vector table for 8bit MCU</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274512#M1820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just generated deafult vector table for DZ60 (please find it attached) where you can find CPU_Interrupt function where the code jumps when unhandled interrupt appear. For details please see Unhandled vectors item on Build Options tab in CPU component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 10:48:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274512#M1820</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2013-07-16T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: question on PE generated vector table for 8bit MCU</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274513#M1821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello hotas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried out these examples? Have they been helpful?&lt;/P&gt;&lt;P&gt;Please don't forget to keep us posted!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Monica.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 01:21:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274513#M1821</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-07-26T01:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: question on PE generated vector table for 8bit MCU</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274514#M1822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let’s see what will happen when an interrupt comes:&lt;/P&gt;&lt;P&gt;When an interrupt comes,&amp;nbsp; CW will check the according interrupt table and load the interrupt service subroutine address(for example, 0xE0A4) to PC pointer, then CW will executes the pseudo-&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;instruction from 0xE0A4 until it meets the return instruction(for example RTI). This is the normal interrupt execution process in Codewarrior.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt; If the interrupt service subroutine address is 0xFFFE, when the according interrupt comes, CW will load 0xFFFE to PC pointer then executes the &lt;/EM&gt;&lt;/SPAN&gt;pseudo-&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;instruction from 0xFFFE.&amp;nbsp; Although 0xFFFE loads the startup code address(for example 0xE07B), PC pointer will not load 0xE07B the code will not jump to address 0xE07B but execute the &lt;/EM&gt;&lt;/SPAN&gt;pseudo-&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;instruction of address 0xFFFE.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;If you want see the exact difference between PC pointer pointing 0xFFFE and 0xFFFF. You can check how the code execution for these two line of code, separately:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;asm jmp 0xFFFE;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal; font-family: 'Calibri','sans-serif';"&gt;&lt;EM&gt;asm jmp 0xFFFF;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 10:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/question-on-PE-generated-vector-table-for-8bit-MCU/m-p/274514#M1822</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2013-07-29T10:46:31Z</dc:date>
    </item>
  </channel>
</rss>

