<?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: When accessing the register. An interrupt appears. in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/When-accessing-the-register-An-interrupt-appears/m-p/683127#M7409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="245704" data-username="profprogrammer" href="https://community.nxp.com/people/profprogrammer"&gt;Prof Programmer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a normal behavior. You need to enable the ENET module before you can access enet registers, otherwise,&amp;nbsp; hard fault will happen.&lt;/P&gt;&lt;P&gt;For example, if you put your code in the lwip_httpsrv_bm demo, after netif_set_up(&amp;amp;fsl_netif0);&amp;nbsp; then it can work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Daniel&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>Tue, 08 Aug 2017 09:11:15 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2017-08-08T09:11:15Z</dc:date>
    <item>
      <title>When accessing the register. An interrupt appears.</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/When-accessing-the-register-An-interrupt-appears/m-p/683126#M7408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I used MK60DN512. &amp;nbsp;KSDK 1.2&lt;/P&gt;&lt;P&gt;I want to work with the interface of the RMII.&lt;/P&gt;&lt;P&gt;When accessing the register MMFC&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;uint32_t* Data_mmfr = (uint32_t *) 0x400c0040;‍
uint32_t tmp = *Data_mmfr;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That program gets interrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/*
** ===================================================================
**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp; Cpu_Cpu_Interrupt (component MK60DN512LL10)
**
**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description :
**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This ISR services an unused interrupt/exception vector.
**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This method is internal. It is used by Processor Expert only.
** ===================================================================
*/
PE_ISR(Cpu_Interrupt)
{
&amp;nbsp; /* This code can be changed using the CPU component property "Build Options / Unhandled int code" */
&amp;nbsp; PE_DEBUGHALT();
}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;No possibility to read data from MMFR.&lt;/P&gt;&lt;P&gt;Because of what this can happen?&lt;/P&gt;&lt;P&gt;How to fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 14:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/When-accessing-the-register-An-interrupt-appears/m-p/683126#M7408</guid>
      <dc:creator>profprogrammer</dc:creator>
      <dc:date>2017-07-25T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: When accessing the register. An interrupt appears.</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/When-accessing-the-register-An-interrupt-appears/m-p/683127#M7409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="245704" data-username="profprogrammer" href="https://community.nxp.com/people/profprogrammer"&gt;Prof Programmer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a normal behavior. You need to enable the ENET module before you can access enet registers, otherwise,&amp;nbsp; hard fault will happen.&lt;/P&gt;&lt;P&gt;For example, if you put your code in the lwip_httpsrv_bm demo, after netif_set_up(&amp;amp;fsl_netif0);&amp;nbsp; then it can work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Daniel&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>Tue, 08 Aug 2017 09:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/When-accessing-the-register-An-interrupt-appears/m-p/683127#M7409</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-08-08T09:11:15Z</dc:date>
    </item>
  </channel>
</rss>

