<?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 Hard Reset on a MK60 with Processor Expert Generated Code in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496826#M30922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a new board and when I go to disable the watchdog - it throws a hard reset.&amp;nbsp; This is using Processor Expert generated code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the generated startup:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void __thumb_startup(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__asm void __thumb_startup(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; IMPORT&amp;nbsp; __init_hardware&lt;/P&gt;&lt;P&gt;&amp;nbsp; IMPORT&amp;nbsp; __main&lt;/P&gt;&lt;P&gt;&amp;nbsp; LDR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0, =__init_hardware&lt;/P&gt;&lt;P&gt;&amp;nbsp; BLX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0&lt;/P&gt;&lt;P&gt;&amp;nbsp; LDR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0, =__main&lt;/P&gt;&lt;P&gt;&amp;nbsp; BX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ALIGN 4&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the rest of it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*lint -esym(765,__init_hardware) Disable MISRA rule (8.10) checking for symbols (__init_hardware). The function is linked to the EWL library */&lt;/P&gt;&lt;P&gt;/*lint -esym(765,Cpu_Interrupt) Disable MISRA rule (8.10) checking for symbols (Cpu_Interrupt). */&lt;/P&gt;&lt;P&gt;void __init_hardware(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** !!! Here you can place your own code before PE initialization using property "User code before PE initialization" on the build options tab. !!! ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** ### MK60FX512VLQ15 "Cpu" init code ... ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** PE initialization code after reset ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCB_VTOR = (uint32_t)(&amp;amp;__vect_table); /* Set the interrupt vector table position */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Disable the WDOG module */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* WDOG_UNLOCK: WDOGUNLOCK=0xC520 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_UNLOCK = WDOG_UNLOCK_WDOGUNLOCK(0xC520); /* Key 1 */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;--- never gets past here&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* WDOG_UNLOCK: WDOGUNLOCK=0xD928 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_UNLOCK = WDOG_UNLOCK_WDOGUNLOCK(0xD928); /* Key 2 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the ISR it jumps to is:&lt;/P&gt;&lt;P&gt;PE_ISR(Cpu_ivINT_Hard_Fault)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* This code can be changed using the CPU bean property "Build Options / Unhandled int code" */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* asm (HALT) */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It never gets to main.&lt;/P&gt;&lt;P&gt;I have another project (a native Keil project) that does get past this point...I just don't know why this ISR keeps tripping....nothing has been done on the processor yet.&amp;nbsp; I can't even get to the CLK config before it halts using Processor Expert.&amp;nbsp; I can't use my native Keil project because I want to use the LDD drivers from Processor Expert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 23:01:48 GMT</pubDate>
    <dc:creator>markbishop</dc:creator>
    <dc:date>2016-02-08T23:01:48Z</dc:date>
    <item>
      <title>Hard Reset on a MK60 with Processor Expert Generated Code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496826#M30922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a new board and when I go to disable the watchdog - it throws a hard reset.&amp;nbsp; This is using Processor Expert generated code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the generated startup:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void __thumb_startup(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__asm void __thumb_startup(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; IMPORT&amp;nbsp; __init_hardware&lt;/P&gt;&lt;P&gt;&amp;nbsp; IMPORT&amp;nbsp; __main&lt;/P&gt;&lt;P&gt;&amp;nbsp; LDR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0, =__init_hardware&lt;/P&gt;&lt;P&gt;&amp;nbsp; BLX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0&lt;/P&gt;&lt;P&gt;&amp;nbsp; LDR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0, =__main&lt;/P&gt;&lt;P&gt;&amp;nbsp; BX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ALIGN 4&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the rest of it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*lint -esym(765,__init_hardware) Disable MISRA rule (8.10) checking for symbols (__init_hardware). The function is linked to the EWL library */&lt;/P&gt;&lt;P&gt;/*lint -esym(765,Cpu_Interrupt) Disable MISRA rule (8.10) checking for symbols (Cpu_Interrupt). */&lt;/P&gt;&lt;P&gt;void __init_hardware(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** !!! Here you can place your own code before PE initialization using property "User code before PE initialization" on the build options tab. !!! ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** ### MK60FX512VLQ15 "Cpu" init code ... ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** PE initialization code after reset ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCB_VTOR = (uint32_t)(&amp;amp;__vect_table); /* Set the interrupt vector table position */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Disable the WDOG module */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* WDOG_UNLOCK: WDOGUNLOCK=0xC520 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_UNLOCK = WDOG_UNLOCK_WDOGUNLOCK(0xC520); /* Key 1 */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;--- never gets past here&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* WDOG_UNLOCK: WDOGUNLOCK=0xD928 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_UNLOCK = WDOG_UNLOCK_WDOGUNLOCK(0xD928); /* Key 2 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the ISR it jumps to is:&lt;/P&gt;&lt;P&gt;PE_ISR(Cpu_ivINT_Hard_Fault)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* This code can be changed using the CPU bean property "Build Options / Unhandled int code" */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* asm (HALT) */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It never gets to main.&lt;/P&gt;&lt;P&gt;I have another project (a native Keil project) that does get past this point...I just don't know why this ISR keeps tripping....nothing has been done on the processor yet.&amp;nbsp; I can't even get to the CLK config before it halts using Processor Expert.&amp;nbsp; I can't use my native Keil project because I want to use the LDD drivers from Processor Expert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 23:01:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496826#M30922</guid>
      <dc:creator>markbishop</dc:creator>
      <dc:date>2016-02-08T23:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Reset on a MK60 with Processor Expert Generated Code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496827#M30923</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;I think that you may be getting fooled by the watchdog behavior when debugging:&lt;/P&gt;&lt;P&gt;Beware that it is impossible to step the watchdog unlock sequence with the debugger and so you will never be able to step the code location that you have marked since it will cause a watchdog reset to result.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See page 33 of &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/docs/KINETIS/uTaskerV1.4_Kinetis_demo.pdf" rel="nofollow"&gt;http://www.utasker.com/docs/KINETIS/uTaskerV1.4_Kinetis_demo.pdf&lt;/A&gt;&lt;SPAN&gt; for details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hard fault that you are seeing probably takes place at some later code location when you allow the processor to run out of reset. Usually hard fauts are very simple to resolve:&lt;/P&gt;&lt;P&gt;- set a break point in the hard fault handler&lt;/P&gt;&lt;P&gt;- let the code run until the hard fault occurs (breakpoint hit)&lt;/P&gt;&lt;P&gt;- ensure that the debugger is working in disassemble mode (so that it steps instrutions rather than source code lines)&lt;/P&gt;&lt;P&gt;- do a single step so that the hard fault interrupt is returned from&lt;/P&gt;&lt;P&gt;- you will now see the instruction that cause the hard fault (check the registers involved to see the address that is being read from or written to). Then check whether the address is outside of memory space or, if in a peripheral, that the peripheral is being clocked before use.&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;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis.html" rel="nofollow"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;K60: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60N512.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K60N512.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60D100M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K60D100M.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60F120M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K60F120M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:46:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496827#M30923</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-02-09T10:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Reset on a MK60 with Processor Expert Generated Code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496828#M30924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so that helped a lot, but here is where it is breaking (line 0x77E):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="fp_init.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21804i6CD5D02782DD88F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="fp_init.PNG" alt="fp_init.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all PE code and I am not sure how to find out how to stop it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 15:03:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496828#M30924</guid>
      <dc:creator>markbishop</dc:creator>
      <dc:date>2016-02-09T15:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Reset on a MK60 with Processor Expert Generated Code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496829#M30925</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;I suspect that you are configuring the wrong processor type.&lt;/P&gt;&lt;P&gt;What chip do you actually use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The header you have is for the K60F (with floading point unit) but the exception is due to the fact that the FPU cannot be written to.&lt;/P&gt;&lt;P&gt;Either your chip doesn't have an FPU or else there is something else missing that would allow it to be accessed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 19:50:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496829#M30925</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-02-09T19:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Reset on a MK60 with Processor Expert Generated Code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496830#M30926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed my "Floating Point Hardware" to 'Not Used' and I am moving along now.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21826i15614648EA6F2415/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 20:06:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496830#M30926</guid>
      <dc:creator>markbishop</dc:creator>
      <dc:date>2016-02-09T20:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Reset on a MK60 with Processor Expert Generated Code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496831#M30927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the MK60FX512VLQ15.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 20:42:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496831#M30927</guid>
      <dc:creator>markbishop</dc:creator>
      <dc:date>2016-02-09T20:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Reset on a MK60 with Processor Expert Generated Code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496832#M30928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To use the FPU on this processor you need to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SystemInit () in system_MK60F15.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if (__FPU_USED == 1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Keil&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* enable FPU if available and used */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCB-&amp;gt;CPACR |= ((3UL &amp;lt;&amp;lt; 10*2) |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* set CP10 Full Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (3UL &amp;lt;&amp;lt; 11*2)&amp;nbsp; );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* set CP11 Full Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version 2 – Processor Expert code:&lt;/P&gt;&lt;P&gt;__init_hardware() in Cpu.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** !!! Here you can place your own code after PE initialization using property "User code after PE initialization" on the build options tab. !!! ***/&lt;/P&gt;&lt;P&gt;//#if (__FPU_USED == 1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Keil&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* enable FPU if available and used */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCB_CPACR |= ((3UL &amp;lt;&amp;lt; 10*2) |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* set CP10 Full Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (3UL &amp;lt;&amp;lt; 11*2)&amp;nbsp; );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* set CP11 Full Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;//#endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 22:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Reset-on-a-MK60-with-Processor-Expert-Generated-Code/m-p/496832#M30928</guid>
      <dc:creator>markbishop</dc:creator>
      <dc:date>2016-02-09T22:11:25Z</dc:date>
    </item>
  </channel>
</rss>

