<?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 K20 Interrupts in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365707#M18822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get a K20 chip up and running using Code Warrier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set up a basic project with Code Warrier both with and without program expert, the interrupt vector table gets populated with a common interrupt vector which generates a breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chip is generating an interrupt when I try to run even the simplest piece of code and when running in debug mode I am ending up in the common interrupt handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to determine what the interrupt source is without having to write a separate vector for each source?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to disable all interrupts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 19:31:27 GMT</pubDate>
    <dc:creator>gerryk</dc:creator>
    <dc:date>2015-01-21T19:31:27Z</dc:date>
    <item>
      <title>K20 Interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365707#M18822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get a K20 chip up and running using Code Warrier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set up a basic project with Code Warrier both with and without program expert, the interrupt vector table gets populated with a common interrupt vector which generates a breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chip is generating an interrupt when I try to run even the simplest piece of code and when running in debug mode I am ending up in the common interrupt handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to determine what the interrupt source is without having to write a separate vector for each source?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to disable all interrupts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 19:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365707#M18822</guid>
      <dc:creator>gerryk</dc:creator>
      <dc:date>2015-01-21T19:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: K20 Interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365708#M18823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check these posts form colleague Erich Styger they might be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/" title="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/"&gt;A Processor Expert Component to Help with Hard Faults | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/" title="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/"&gt;Debugging Hard Faults on ARM Cortex-M | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/02/20/oh-my-an-interrupt/" title="http://mcuoneclipse.com/2012/02/20/oh-my-an-interrupt/"&gt;Oh my! An Interrupt… | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&gt;Technical Support Engineer&lt;BR /&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>Wed, 21 Jan 2015 20:36:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365708#M18823</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2015-01-21T20:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: K20 Interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365709#M18824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can know the interrupt source from NVIC_IABR, NVIC_ISPR or NVIC_ICPR. If it was the hard fault, the possible reason was because the clock for the correspondent module had not been supplied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 02:14:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365709#M18824</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2015-01-22T02:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: K20 Interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365710#M18825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid starting complications you can also use a complete project framework for the K20 boards:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis/FRDM-K20D50M.html" title="http://www.utasker.com/kinetis/FRDM-K20D50M.html"&gt;http://www.utasker.com/kinetis/FRDM-K20D50M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis/TWR-K20D50M.html" title="http://www.utasker.com/kinetis/TWR-K20D50M.html"&gt;http://www.utasker.com/kinetis/TWR-K20D50M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis/TWR-K20D72M.html" title="http://www.utasker.com/kinetis/TWR-K20D72M.html"&gt;µTasker Kinetis TWR-K20D72M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Includes CW support and allows development and debugging a simulated K20 with VisualStudio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When debugging, make sure that you never try stepping the watchdog initialisation code as decribed in &lt;A href="http://www.utasker.com/docs/KINETIS/uTaskerV1.4_Kinetis_demo.pdf" title="http://www.utasker.com/docs/KINETIS/uTaskerV1.4_Kinetis_demo.pdf"&gt;http://www.utasker.com/docs/KINETIS/uTaskerV1.4_Kinetis_demo.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also verify that you have loaded the code correctly to Flash (check in a memory view) otherwise the code will also jump straight to an error handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 03:50:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-Interrupts/m-p/365710#M18825</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-01-22T03:50:09Z</dc:date>
    </item>
  </channel>
</rss>

