<?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>LPCXpresso IDEのトピックLCP111x Board Not Working without Crystal</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LCP111x-Board-Not-Working-without-Crystal/m-p/535257#M4516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kralux on Tue Jul 06 11:49:28 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;We made our own LPC1111 target board without a crystal connected because we want to use the internal RC oscillator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, when we connect it to the LPC Xpresso board LPC Link (or the red probe), it gets stuck somewhere in the bootloader code before reaching our entry point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The specific line is line 421 of system_LPC11xx.c (by stopping execution with the debugger):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while (!(LPC_SYSCON-&amp;gt;SYSPLLCLKUEN &amp;amp; 0x01));&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Wait Until Updated&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apparently, it is waiting infinitely for the PLL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to our understanding, the LPC1111 should be able to run "out of the box" without a crystal attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition to this, we experimented on the LPCXpresso development board to rule out any issue with our board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We simply unsoldered the crystal from that board and the same behavior was observed: the LPC would hang on the same line as shown in the debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When we put the crystal back on the LPCXpresso board, it works as expected. When we take it out, the debugger hangs around the line mention above. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What should we do to run without a crystal? Do we need to modify the bootloader code? (though the documentation says it is made to run without a crystal).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:47:09 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:47:09Z</dc:date>
    <item>
      <title>LCP111x Board Not Working without Crystal</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LCP111x-Board-Not-Working-without-Crystal/m-p/535257#M4516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kralux on Tue Jul 06 11:49:28 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;We made our own LPC1111 target board without a crystal connected because we want to use the internal RC oscillator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, when we connect it to the LPC Xpresso board LPC Link (or the red probe), it gets stuck somewhere in the bootloader code before reaching our entry point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The specific line is line 421 of system_LPC11xx.c (by stopping execution with the debugger):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while (!(LPC_SYSCON-&amp;gt;SYSPLLCLKUEN &amp;amp; 0x01));&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Wait Until Updated&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apparently, it is waiting infinitely for the PLL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to our understanding, the LPC1111 should be able to run "out of the box" without a crystal attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition to this, we experimented on the LPCXpresso development board to rule out any issue with our board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We simply unsoldered the crystal from that board and the same behavior was observed: the LPC would hang on the same line as shown in the debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When we put the crystal back on the LPCXpresso board, it works as expected. When we take it out, the debugger hangs around the line mention above. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What should we do to run without a crystal? Do we need to modify the bootloader code? (though the documentation says it is made to run without a crystal).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LCP111x-Board-Not-Working-without-Crystal/m-p/535257#M4516</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: LCP111x Board Not Working without Crystal</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LCP111x-Board-Not-Working-without-Crystal/m-p/535258#M4517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kralux on Tue Jul 06 13:21:05 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, I solved my problem by changing this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define SYSPLLCLKSEL_Val&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000001&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;into:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define SYSPLLCLKSEL_Val&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000&amp;nbsp; // 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it before several times but unfortunately, the IDE was never using the new source code (with value set to 0) for some strange reason. I have found that you need to manually delete all the compiled files and recompile everything to get updates propagated. It is useful to double check that with the disassembled output.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LCP111x-Board-Not-Working-without-Crystal/m-p/535258#M4517</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:10Z</dc:date>
    </item>
  </channel>
</rss>

