<?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: K10 and Keil uVision Trace Exception Bug in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-Keil-uVision-Trace-Exception-Bug/m-p/355022#M17670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your attached 'Trace Exception' view, the interrupt vector number is IRQ number add 32 not 16, which is incorrect.&lt;/P&gt;&lt;P&gt;For example, INT_DMA0, which IRQ number should be 0, and vector number is 16; while the 'Trace Exception' view shows vector number is 32.&lt;/P&gt;&lt;P&gt;If you using vector number 84 -32 is&amp;nbsp; 52, which is&amp;nbsp; UART3 error IRQ number.&lt;/P&gt;&lt;P&gt;I checked &amp;lt;MK10D10.h&amp;gt; header file with the correct IRQ number.&lt;/P&gt;&lt;P&gt;I will contact with Keil about this issue, sorry for the inconvenience might bring.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 01:26:04 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2015-02-09T01:26:04Z</dc:date>
    <item>
      <title>K10 and Keil uVision Trace Exception Bug</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-Keil-uVision-Trace-Exception-Bug/m-p/355021#M17669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a 'Trace Exceptions' view from Keil uVision5 with a uLink PRO debugger connected to a Kinetis MK10.&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;&lt;EM&gt;names&lt;/EM&gt;&lt;/STRONG&gt; of the exceptions &amp;gt;16 are wrong! They're 16 greater than they should be.&lt;/P&gt;&lt;P&gt;Taking the first line below: 84 – 16 = 68. From MK10D10.h 68 is PIT0_IRQ.&lt;/P&gt;&lt;P&gt;This is correct. My code has PIT0 interrupting every 256us but doesn't use UART3 at all.&lt;/P&gt;&lt;P&gt;The next line is correct 15 is the RTOS SysTick timer IRQ. (in this case set for 1ms)&lt;/P&gt;&lt;P&gt;The fourth line, labelled as INT_CAN_... is 61-16=45. From MK10D10.h 45 is UART0_RX_TX_IRQn.&lt;/P&gt;&lt;P&gt;Again this is correct. My code uses UART0 IRQs but not CAN0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Keil_Exception_Trace.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50305i5B46E761BB773E4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Keil_Exception_Trace.jpg" alt="Keil_Exception_Trace.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I know that Keil uses files supplied by Freescale to support their chips but who's bug is this?&lt;/P&gt;&lt;P&gt;Is this something I can correct in a configuration file myself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 16:31:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-Keil-uVision-Trace-Exception-Bug/m-p/355021#M17669</guid>
      <dc:creator>Xlerb</dc:creator>
      <dc:date>2015-02-06T16:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: K10 and Keil uVision Trace Exception Bug</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-Keil-uVision-Trace-Exception-Bug/m-p/355022#M17670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your attached 'Trace Exception' view, the interrupt vector number is IRQ number add 32 not 16, which is incorrect.&lt;/P&gt;&lt;P&gt;For example, INT_DMA0, which IRQ number should be 0, and vector number is 16; while the 'Trace Exception' view shows vector number is 32.&lt;/P&gt;&lt;P&gt;If you using vector number 84 -32 is&amp;nbsp; 52, which is&amp;nbsp; UART3 error IRQ number.&lt;/P&gt;&lt;P&gt;I checked &amp;lt;MK10D10.h&amp;gt; header file with the correct IRQ number.&lt;/P&gt;&lt;P&gt;I will contact with Keil about this issue, sorry for the inconvenience might bring.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 01:26:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-Keil-uVision-Trace-Exception-Bug/m-p/355022#M17670</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-02-09T01:26:04Z</dc:date>
    </item>
  </channel>
</rss>

