<?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 TWR-K70 MSD HOST Bootloader : PLL error in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418670#M23873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the K70 bootloader found here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102616" rel="nofollow noopener noreferrer" target="_blank"&gt;TWR-K70 MSD HOST Bootloader based on AN4368 source code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already tested it on the board without any problem.&lt;/P&gt;&lt;P&gt;Now I want re test the boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I compile, flash with the P&amp;amp;E, all work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I unplug the P&amp;amp;E to Run the board in standalone.&lt;/P&gt;&lt;P&gt;Board do nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I "Attach" the debugger, code is stay here in the following while(1). Anybody know where can come from my problem?:&lt;/P&gt;&lt;P&gt;in P3.c, _bsp_platform_init&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14435222369239327" data-renderedposition="386_8_1232_224" jivemacro_uid="_14435222369239327"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; /* Initialize PLL0 */
 /* PLL0 will be the source for MCG CLKOUT so the core, system, FlexBus, and flash clocks are derived from it */ 
 mcg_clk_hz = pll_init(OSCINIT,&amp;nbsp;&amp;nbsp; /* Initialize the oscillator circuit */
&amp;nbsp;&amp;nbsp; OSC_0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Use CLKIN0 as the input clock */
&amp;nbsp;&amp;nbsp; CLK0_FREQ_HZ,&amp;nbsp; /* CLKIN0 frequency */
&amp;nbsp;&amp;nbsp; LOW_POWER,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set the oscillator for low power mode */
&amp;nbsp;&amp;nbsp; CLK0_TYPE,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Crystal or canned oscillator clock input */
&amp;nbsp;&amp;nbsp; PLL_0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PLL to initialize, in this case PLL0 */
&amp;nbsp;&amp;nbsp; PLL0_PRDIV,&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PLL predivider value */
&amp;nbsp;&amp;nbsp; PLL0_VDIV,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PLL multiplier */
&amp;nbsp;&amp;nbsp; MCGOUT);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Use the output from this PLL as the MCGOUT */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; /* Check the value returned from pll_init() to make sure there wasn't an error */
 if (mcg_clk_hz &amp;lt; 0x100)
&amp;nbsp; while(1);&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;For information, in pll_init, return value is 0x11:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (MCG_S &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; MCG_S_IREFST_MASK) &lt;/SPAN&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;return&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;0x11&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="; color: #008000; font-size: 10pt;"&gt;&lt;EM&gt;// check bit is really clear and return with error if not set&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm using the same as Tower K70 system (with external quartz of 12MHz).&lt;/P&gt;&lt;P&gt;I don't know if following configuration is Ok for that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14435236516033500" data-renderedposition="837_8_1232_848" jivemacro_uid="_14435236516033500"&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CLK0_FREQ_HZ&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;50000000&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CLK0_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CANNED_OSC



&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CLK1_FREQ_HZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;12000000&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CLK1_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRYSTAL

&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* Select Clock source */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* USBHS Fractional Divider value for 120MHz input */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* USBHS Clock = PLL0 x (USBHSFRAC+1) / (USBHSDIV+1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USBHS_FRAC&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USBHS_DIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;SIM_CLKDIV2_USBHSDIV&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USBHS_CLOCK&amp;nbsp;&amp;nbsp; MCGPLL0


&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* USB Fractional Divider value for 120MHz input */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/** USB Clock = PLL0 x (FRAC +1) / (DIV+1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/** USB Clock = 120MHz x (1+1) / (4+1) = 48 MHz&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USB_FRAC&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_CLKDIV2_USBFSFRAC_MASK
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USB_DIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;SIM_CLKDIV2_USBFSDIV&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)




&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* Select Clock source */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USB_CLOCK&amp;nbsp;&amp;nbsp; MCGPLL0
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;//#define USB_CLOCK&amp;nbsp;&amp;nbsp; MCGPLL1
//#define USB_CLOCK&amp;nbsp;&amp;nbsp; MCGFLL
//#define USB_CLOCK&amp;nbsp;&amp;nbsp; PLL1
//#define USB_CLOCK&amp;nbsp;&amp;nbsp; CLKIN

&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* The expected PLL output frequency is:
 * PLL out = (((CLKIN/PRDIV) x VDIV) / 2)
 * where the CLKIN can be either CLK0_FREQ_HZ or CLK1_FREQ_HZ.
 * 
 * For more info on PLL initialization refer to the mcg driver files
 */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PLL0_PRDIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PLL0_VDIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;24&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PLL1_PRDIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PLL1_VDIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#endif&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;



&lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; uint32_t ___VECTOR_RAM[];
&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Sep 2015 10:24:40 GMT</pubDate>
    <dc:creator>arnogir</dc:creator>
    <dc:date>2015-09-29T10:24:40Z</dc:date>
    <item>
      <title>TWR-K70 MSD HOST Bootloader : PLL error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418670#M23873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the K70 bootloader found here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102616" rel="nofollow noopener noreferrer" target="_blank"&gt;TWR-K70 MSD HOST Bootloader based on AN4368 source code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already tested it on the board without any problem.&lt;/P&gt;&lt;P&gt;Now I want re test the boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I compile, flash with the P&amp;amp;E, all work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I unplug the P&amp;amp;E to Run the board in standalone.&lt;/P&gt;&lt;P&gt;Board do nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I "Attach" the debugger, code is stay here in the following while(1). Anybody know where can come from my problem?:&lt;/P&gt;&lt;P&gt;in P3.c, _bsp_platform_init&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14435222369239327" data-renderedposition="386_8_1232_224" jivemacro_uid="_14435222369239327"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; /* Initialize PLL0 */
 /* PLL0 will be the source for MCG CLKOUT so the core, system, FlexBus, and flash clocks are derived from it */ 
 mcg_clk_hz = pll_init(OSCINIT,&amp;nbsp;&amp;nbsp; /* Initialize the oscillator circuit */
&amp;nbsp;&amp;nbsp; OSC_0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Use CLKIN0 as the input clock */
&amp;nbsp;&amp;nbsp; CLK0_FREQ_HZ,&amp;nbsp; /* CLKIN0 frequency */
&amp;nbsp;&amp;nbsp; LOW_POWER,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set the oscillator for low power mode */
&amp;nbsp;&amp;nbsp; CLK0_TYPE,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Crystal or canned oscillator clock input */
&amp;nbsp;&amp;nbsp; PLL_0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PLL to initialize, in this case PLL0 */
&amp;nbsp;&amp;nbsp; PLL0_PRDIV,&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PLL predivider value */
&amp;nbsp;&amp;nbsp; PLL0_VDIV,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PLL multiplier */
&amp;nbsp;&amp;nbsp; MCGOUT);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Use the output from this PLL as the MCGOUT */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; /* Check the value returned from pll_init() to make sure there wasn't an error */
 if (mcg_clk_hz &amp;lt; 0x100)
&amp;nbsp; while(1);&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;For information, in pll_init, return value is 0x11:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (MCG_S &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; MCG_S_IREFST_MASK) &lt;/SPAN&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;return&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;0x11&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="; color: #008000; font-size: 10pt;"&gt;&lt;EM&gt;// check bit is really clear and return with error if not set&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm using the same as Tower K70 system (with external quartz of 12MHz).&lt;/P&gt;&lt;P&gt;I don't know if following configuration is Ok for that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14435236516033500" data-renderedposition="837_8_1232_848" jivemacro_uid="_14435236516033500"&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CLK0_FREQ_HZ&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;50000000&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CLK0_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CANNED_OSC



&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CLK1_FREQ_HZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;12000000&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CLK1_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRYSTAL

&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* Select Clock source */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* USBHS Fractional Divider value for 120MHz input */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* USBHS Clock = PLL0 x (USBHSFRAC+1) / (USBHSDIV+1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USBHS_FRAC&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USBHS_DIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;SIM_CLKDIV2_USBHSDIV&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USBHS_CLOCK&amp;nbsp;&amp;nbsp; MCGPLL0


&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* USB Fractional Divider value for 120MHz input */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/** USB Clock = PLL0 x (FRAC +1) / (DIV+1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/** USB Clock = 120MHz x (1+1) / (4+1) = 48 MHz&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USB_FRAC&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_CLKDIV2_USBFSFRAC_MASK
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USB_DIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;SIM_CLKDIV2_USBFSDIV&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)




&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* Select Clock source */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; USB_CLOCK&amp;nbsp;&amp;nbsp; MCGPLL0
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;//#define USB_CLOCK&amp;nbsp;&amp;nbsp; MCGPLL1
//#define USB_CLOCK&amp;nbsp;&amp;nbsp; MCGFLL
//#define USB_CLOCK&amp;nbsp;&amp;nbsp; PLL1
//#define USB_CLOCK&amp;nbsp;&amp;nbsp; CLKIN

&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;
&lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 10pt;"&gt;/* The expected PLL output frequency is:
 * PLL out = (((CLKIN/PRDIV) x VDIV) / 2)
 * where the CLKIN can be either CLK0_FREQ_HZ or CLK1_FREQ_HZ.
 * 
 * For more info on PLL initialization refer to the mcg driver files
 */&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PLL0_PRDIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PLL0_VDIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;24&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PLL1_PRDIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PLL1_VDIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;

&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;#endif&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;



&lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; uint32_t ___VECTOR_RAM[];
&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 10:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418670#M23873</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-09-29T10:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 MSD HOST Bootloader : PLL error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418671#M23874</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 modified the Loop constant from 2000 to 20000.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14435255978307481 jive_text_macro" data-renderedposition="92_8_1232_80" jivemacro_uid="_14435255978307481"&gt;&lt;P&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (i &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; ; i &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;20000&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; ; i&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;++&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;
 &lt;/SPAN&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(MCG_S &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; MCG_S_IREFST_MASK)) &lt;/SPAN&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;break&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="; color: #008000; font-size: 10pt;"&gt;&lt;EM&gt;// jump out early if IREFST clears before loop finishes
&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;
 &lt;/SPAN&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (MCG_S &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; MCG_S_IREFST_MASK) &lt;/SPAN&gt;&lt;SPAN style="; color: #000080; font-size: 10pt;"&gt;&lt;STRONG&gt;return&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 10pt;"&gt;0x11&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="; color: #008000; font-size: 10pt;"&gt;&lt;EM&gt;// check bit is really clear and return with error if not set&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="; color: #008000; font-size: 10pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This work now, just the Frequency should not be ok, because Serial communication is not to the configured speed (Serial Com Ok when Debbuger P&amp;amp;E is plugged)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think I have a&amp;nbsp; problem of my constant value in Clock configuration, but I'm unable to know where, Clock system and PLL are very sofisticated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 11:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418671#M23874</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-09-29T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 MSD HOST Bootloader : PLL error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418672#M23875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any body can inform me about PLL configuration for my case?:smileycry:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 14:49:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418672#M23875</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-10-01T14:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 MSD HOST Bootloader : PLL error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418673#M23876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arnaud Girard:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay. I used the same bootloader project and ran into the same problem. Can you tell me your board schematic's version?&lt;/P&gt;&lt;P&gt;Depending on the version there is a jumper to enable the on-board 50 MHz oscillator (&lt;STRONG&gt;J18&lt;/STRONG&gt; or &lt;STRONG&gt;J19&lt;/STRONG&gt;). See the &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/user_guide/TWRK70F120MUM.pdf"&gt;&lt;STRONG&gt;manual&lt;/STRONG&gt;&lt;/A&gt; &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/user_guide/TWRK70F120MUM"&gt;http://cache.freescale.com/files/microcontrollers/doc/user_guide/TWRK70F120MUM&lt;/A&gt;for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please place the jumper and test again.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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>Fri, 02 Oct 2015 21:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418673#M23876</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-10-02T21:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 MSD HOST Bootloader : PLL error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418674#M23877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like I said, I'm using a very similar tower K70 scheme, but not the Tower&amp;nbsp; K70.&lt;/P&gt;&lt;P&gt;I&amp;nbsp; attached the scheme of my board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact there are two clock. One of 12MHz (Linked to the PTE24/PTE25) and other oscillator linked to "EXTAL_MAIN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how know which clock is selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 05:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418674#M23877</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-10-05T05:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 MSD HOST Bootloader : PLL error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418675#M23878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arnaud, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I did not read you have a custom board.&lt;/P&gt;&lt;P&gt;If you have the same clocking options as the TWR-K70F120M then the project should work without any changes. It's hard to say what is wrong since I don't have your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- In that bootloader project the 50 MHz oscillator is used as reference to get the system clock. Do you have a way to check the oscillator's output with a scope (U5-OUT), to see if there is clock?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I also find strange that you have the signal &lt;STRONG&gt;RMII_CLKOUT&lt;/STRONG&gt; shared between 50 MHz oscillator (U5) and 25 MHz crystal (Y3). Are both populated and active at the same time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 04:04:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418675#M23878</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-10-07T04:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 MSD HOST Bootloader : PLL error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418676#M23879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I will check Clock Out and back here to inform you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sorry, the 25MHz crystal is not mounted. So only the 50MHz goes to the ethernet Phy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we must keep in our mind that all worked some month ago. I come back on this project now and all work with P&amp;amp;E debuger, but not working in standalone.&lt;/P&gt;&lt;P&gt;I don't think I change anything.. It is very strange.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 05:29:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418676#M23879</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-10-07T05:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 MSD HOST Bootloader : PLL error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418677#M23880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This mornig I made the Test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I restart the project, I have not make a new build, I had directly download the last build where problem occurs.&lt;/P&gt;&lt;P&gt;Then the problem occurs &lt;SPAN style="text-decoration: underline;"&gt;with and without&lt;/SPAN&gt; the debugger.:smileyconfused:&lt;/P&gt;&lt;P&gt;50Mhz chrystal was Ok. (oscilloscope)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stopped, and make a Clean to re build all. Then download. (Like I done last week!)&lt;/P&gt;&lt;P&gt;I downloaded and now, all work correctly, with and without debugger...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made no change!:smileyconfused:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THe only difference with last week is codewarrior was stopped, computer was restarted...&lt;/P&gt;&lt;P&gt;Like I use SVN, there are two difference in the project.&lt;/P&gt;&lt;P&gt;The .elf is different (very minor difference), but this file is not easy readable...&lt;/P&gt;&lt;P&gt;and the .launch.&lt;/P&gt;&lt;P&gt;I attached here the two files. Some line are different.&lt;/P&gt;&lt;P&gt;Maybe you can read the difference and seen why with one all work and not with other?&lt;/P&gt;&lt;P&gt;:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 05:52:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-MSD-HOST-Bootloader-PLL-error/m-p/418677#M23880</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-10-08T05:52:28Z</dc:date>
    </item>
  </channel>
</rss>

