<?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のトピックNot branching to ISR</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Not-branching-to-ISR/m-p/488788#M21856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have used Processor Expert for a test code with MC9RS08LA8CFT. Code is attached.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added the void TPM2_isr(void) interrupt service routine before main(). I have enabled the TPM2 interrupt to occur via the processor expert(see image)&lt;span class="lia-inline-image-display-wrapper" image-alt="127900_127900.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120980i2503B54993D4CFC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="127900_127900.jpg" alt="127900_127900.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1_14_16b.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6877iE8A1751B3CD01125/image-size/large?v=v2&amp;amp;px=999" role="button" title="1_14_16b.jpg" alt="1_14_16b.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also see the debug session that execution doesn't enter the TPM2_isr() when TPM2 overflow occur.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="127919_127919.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120981iEF289F6D0D17EFCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="127919_127919.jpg" alt="127919_127919.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1_14_16a.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34365i3FE6402ED94A948F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1_14_16a.jpg" alt="1_14_16a.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do in order the execution goes to TPM2_isr() when TPM2 overflow occur?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337732"&gt;Test2.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 11:46:06 GMT</pubDate>
    <dc:creator>BlueTower</dc:creator>
    <dc:date>2016-01-14T11:46:06Z</dc:date>
    <item>
      <title>Not branching to ISR</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Not-branching-to-ISR/m-p/488788#M21856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have used Processor Expert for a test code with MC9RS08LA8CFT. Code is attached.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added the void TPM2_isr(void) interrupt service routine before main(). I have enabled the TPM2 interrupt to occur via the processor expert(see image)&lt;span class="lia-inline-image-display-wrapper" image-alt="127900_127900.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120980i2503B54993D4CFC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="127900_127900.jpg" alt="127900_127900.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1_14_16b.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6877iE8A1751B3CD01125/image-size/large?v=v2&amp;amp;px=999" role="button" title="1_14_16b.jpg" alt="1_14_16b.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also see the debug session that execution doesn't enter the TPM2_isr() when TPM2 overflow occur.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="127919_127919.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120981iEF289F6D0D17EFCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="127919_127919.jpg" alt="127919_127919.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1_14_16a.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34365i3FE6402ED94A948F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1_14_16a.jpg" alt="1_14_16a.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do in order the execution goes to TPM2_isr() when TPM2 overflow occur?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337732"&gt;Test2.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 11:46:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Not-branching-to-ISR/m-p/488788#M21856</guid>
      <dc:creator>BlueTower</dc:creator>
      <dc:date>2016-01-14T11:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Not branching to ISR</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Not-branching-to-ISR/m-p/488789#M21857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not worked on the RS08, but can not find or do not see you enable global interrupt mask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 02:14:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Not-branching-to-ISR/m-p/488789#M21857</guid>
      <dc:creator>Leojunin</dc:creator>
      <dc:date>2016-01-15T02:14:16Z</dc:date>
    </item>
  </channel>
</rss>

