<?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のトピックRe: system_LPC17xx.c error</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556641#M14217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Thu Apr 15 05:49:07 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You can, but you have to be very careful as this code is setting up clocks. If there isn't a stable clock, the debugger will not be able to connect to the chip (which sound exactly like what has happened. Where, exactly, did you set the breakpoint?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:06:44 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:06:44Z</dc:date>
    <item>
      <title>system_LPC17xx.c error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556640#M14216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by blasiis on Thu Apr 15 05:12:41 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I use LPCXpresso Build id: 2010-04-08 (v3.3.4) with LPC17xx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple project with CMSISV1p30 LPC17xx library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When start the debug with LPC-Link, if I have insert a break point in the library file &lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Ffile%3A%2F%2F%2FC%3A%2FSviluppo%2FlpcxPRESSO%2FCMSISv1p30_LPC17xx%2Fsrc%2Fsystem_LPC17xx.c"&gt;system_LPC17xx.c&lt;/A&gt;&lt;SPAN&gt; the debugger goes in error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;15 : Target error from register access&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is possible to debug the code in the library ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338228"&gt;1100302_tftpboot.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:06:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556640#M14216</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: system_LPC17xx.c error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556641#M14217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Thu Apr 15 05:49:07 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You can, but you have to be very careful as this code is setting up clocks. If there isn't a stable clock, the debugger will not be able to connect to the chip (which sound exactly like what has happened. Where, exactly, did you set the breakpoint?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556641#M14217</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: system_LPC17xx.c error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556642#M14218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by blasiis on Thu Apr 15 07:06:15 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;At the start of the SystemInit, my aim is to check the status of basic registers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void SystemInit (void)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#if (CLOCK_SETUP)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Clock Setup&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_SC-&amp;gt;SCS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SCS_Val;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; if (SCS_Val &amp;amp; (1 &amp;lt;&amp;lt; 5)) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* If Main Oscillator is enabled&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ((LPC_SC-&amp;gt;SCS &amp;amp; (1&amp;lt;&amp;lt;6)) == 0);/* Wait for Oscillator to be ready&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*********** HERE I HAVE INSERT TEH BREAK POINT *******&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_SC-&amp;gt;CCLKCFG&amp;nbsp;&amp;nbsp; = CCLKCFG_Val;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Setup Clock Divider&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; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_SC-&amp;gt;PCLKSEL0&amp;nbsp; = PCLKSEL0_Val;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Peripheral Clock Selection&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_SC-&amp;gt;PCLKSEL1&amp;nbsp; = PCLKSEL1_Val;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556642#M14218</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: system_LPC17xx.c error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556643#M14219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Thu Apr 15 07:28:55 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, that would cause the problem you are seeing. The clock setup has started and it is not stable until the clock setup has finished. Until it is stable, the debugger will be unable to connect to the processor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suggest you read the LPC17 UM on clock setup and walk through the code manually.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:06:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556643#M14219</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: system_LPC17xx.c error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556644#M14220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by blasiis on Thu Apr 15 07:43:28 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;Yes, that would cause the problem you are seeing. The clock setup has started and it is not stable until the clock setup has finished. Until it is stable, the debugger will be unable to connect to the processor.&lt;BR /&gt;&lt;BR /&gt;I suggest you read the LPC17 UM on clock setup and walk through the code manually.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, I have understand !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/system-LPC17xx-c-error/m-p/556644#M14220</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:06:46Z</dc:date>
    </item>
  </channel>
</rss>

