<?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: LPC4370 board bootstrapping problems in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672278#M26898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a quick look to your breakout board for the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;LPC4370 and it looks really useful to access more MCU signals during&amp;nbsp;the prototyping phase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I review carefully the thread of your messages exchanged with jeremyzhou&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If you you really reproduced the LPC-Link2 routing of the chip and you&amp;nbsp;choosed a QSPI flash&amp;nbsp;supported by our Boot code and SPIFI API, I agree that your board should start successfully...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You couldn't mention much detail about your project online, it is understandable... but let's try to connect you with a local FAE to better support your development.&lt;BR /&gt;&lt;BR /&gt;As suggested by Jeremy, the right point of contact will be our local distributor. &lt;BR /&gt;The distributors below have facilities in Portland and&amp;nbsp;certainly distributor FAEs specialized in NXP Semiconductor, who will be able visit you and review your design as well as your code. If needed they will work hand to hand with the local NXP FAEs to resolve as fast as possible your issue with our silicon.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Arrow Electronics&lt;/STRONG&gt;&lt;BR /&gt;433 NW 4th Avenue&lt;BR /&gt;Portland, OR 97209&lt;BR /&gt;503-450-1355&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Avnet&lt;/STRONG&gt;&lt;BR /&gt;10260 Sw Greenberg Rd, Suite 400&lt;BR /&gt;Portland, OR 97223&lt;BR /&gt;503-452-6911&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Future Electronics&lt;/STRONG&gt;&lt;BR /&gt;6650 SW Redwood Lane, Suite 365&lt;BR /&gt;Portland, OR 97224&lt;BR /&gt;503-603-0956&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please keep us informed with your progress&lt;BR /&gt;Greg&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 May 2017 16:35:48 GMT</pubDate>
    <dc:creator>GregC</dc:creator>
    <dc:date>2017-05-17T16:35:48Z</dc:date>
    <item>
      <title>LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672268#M26888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Due to the utter lack of any LPC4370 breakout boards (the LPC-Link2 + LabTool gives me a ridiculously tiny number of pins), I was forced to design and fabricate my own breakout.&amp;nbsp; I've attached a picture and the Eagle (7.x) schematic for it for reference.&amp;nbsp; I've been trying to narrow down what's going on, but running into some very strange things.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First off, when I try to load my normal project, I get an error saying that the SPIFI flash is "unsupported".&amp;nbsp; I have a IS25LP080D on my board instead of the Winbond (obsolete) that's on the LPC-Link2.&amp;nbsp; However, that's not where I'm stuck right now.&amp;nbsp; I suspect that'll be an issue next...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment, I'm running a test program that doesn't touch the flash, and it's hard faulting in the clock setup code, in a somewhat non-deterministic way.&amp;nbsp; I'll either get:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0x10322002&lt;BR /&gt;&amp;lt;signal handler called&amp;gt;() at 0xfffffff1&lt;BR /&gt;0x184&lt;BR /&gt;Chip_Clock_SetupMainPLLMult() at clock_18xx_43xx.c:222&lt;BR /&gt;Chip_Clock_SetupMainPLLHz() at clock_18xx_43xx.c:176&lt;BR /&gt;....&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HardFault_Handler() at cr_startup_lpc43xx.c:459&lt;BR /&gt;&amp;lt;signal handler called&amp;gt;() at 0xfffffff1&lt;BR /&gt;Chip_Clock_SetupMainPLLMult() at clock_18xx_43xx.c:222&lt;BR /&gt;0x6766e72&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bss_init() at cr_startup_lpc43xx.c:288&lt;BR /&gt;&amp;lt;signal handler called&amp;gt;() at 0xffffff1&lt;BR /&gt;0x27ac&lt;BR /&gt;0xc8933f14&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I set a breakpoint at Chip_SetupCoreClock() at sysinit_18xx_43xx.c:97 on a call to Chip_Clock_SetupMainPLLHz(), then resume from there, the chip works just fine at least to the test code that toggles a pin.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to get these boards going so I can continue with my work, does anybody have any ideas what on earth might be happening here???&lt;/P&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-337921"&gt;lpc4370-breakout.sch.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 21:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672268#M26888</guid>
      <dc:creator>omegahacker</dc:creator>
      <dc:date>2017-05-08T21:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672269#M26889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="297495" data-username="omegahacker" href="https://community.nxp.com/people/omegahacker"&gt;Erik Walthinsen&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: small;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;I've gone through the shared sch, and compare with the sch of the LPC-Link 2, I find that they is almost look alike except the external SPI flash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;So I consider the demos which are from the LPCOpen are definitely able to run on your board if relocates the demo in the internal RAM during debugging.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;I was wondering if you can exemplify the details steps to replicate the issue, I think it can help me to figure out the root cause of the issue.&lt;/SPAN&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Wed, 10 May 2017 07:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672269#M26889</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-10T07:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672270#M26890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm curious what's different about the SPIFI besides the part number?&amp;nbsp; I doublechecked every pin several times, so I'm 99% sure I have the schematic correct.&amp;nbsp; The only difference I'm aware of is the part number, which turns out to be fatal because none of the stock .cfx drivers will write to that flash, as it has a type/size of 0x6014 instead of the 0x4014 of the Winbond chip.&amp;nbsp; I've ordered some W25Q80&lt;STRONG&gt;D&lt;/STRONG&gt;V chips to swap in and see if that solves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as the startup issue goes, I am literally creating an empty project.&amp;nbsp; M4 standalone, don't add the flash region, compile and run.&amp;nbsp; I'm doing it with the LPC-Link2 providing power over the JTAG cable, but get identical results when powering the board directly from a bench supply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point I have worked around the issue by inserting a delay {for (volatile int i=0;i&amp;lt;100000;i++) ;} around the sysinint.c:97 call to Chip_Clock_SetupMainPLLHz().&amp;nbsp; This is *not* a viable long-term fix because it results in a noticeable boot delay, but is good enough for now, and ironically is approximate offset by the speed gain of not writing flash...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 15:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672270#M26890</guid>
      <dc:creator>omegahacker</dc:creator>
      <dc:date>2017-05-10T15:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672271#M26891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="297495" data-username="omegahacker" href="https://community.nxp.com/people/omegahacker"&gt;Erik Walthinsen&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The Table 25 has exemplified the supported QSPI flash devices, otherwise MCU fail to boot from any unsupported devices.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-05-11_15-38-11.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19150i237A7AA791A44F4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-05-11_15-38-11.jpg" alt="2017-05-11_15-38-11.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Thu, 11 May 2017 07:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672271#M26891</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-11T07:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672272#M26892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I stated above I've ordered replacement SPIFI parts and will deal with that issue when they arrive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this is irrelevant to the primary problem, which is that with stock code the chip refuses to boot.&amp;nbsp; Even with the delays I've added as per my previous reply I will still get periodic boot fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More pressingly, the 24hr delays induced by this forum, and the 48hr delays induced by address the wrong issue, are causing major problems with my schedule.&amp;nbsp; As requested in the private ticket, I would like to be put directly in touch with an FAE in my general area/timezone in order to resolve this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 15:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672272#M26892</guid>
      <dc:creator>omegahacker</dc:creator>
      <dc:date>2017-05-11T15:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672273#M26893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While originally using the LPC-Link2 as a target, I would periodically (15-20% of the time) attempt to start the program and end up on a HardFault.&amp;nbsp; Now that I think about it, that is almost certainly a manifestation of the same problem that I'm seeing with my own boards.&amp;nbsp; That means that the bug in question is present even on NXP's own boards, which is Not Good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 16:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672273#M26893</guid>
      <dc:creator>omegahacker</dc:creator>
      <dc:date>2017-05-11T16:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672274#M26894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not to distract from the original question, which is why this board cannot start up properly with stock code, but replacing the SPIFI with the W25Q80DV results in what appears to be a successful write to the flash, but random faults with random stack traces throughout user code, with or without the delays around the PLL startup call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interesting data point as well is that taking a memory dump (of the main 128KB AHB block) through the Memory Browser goes fairly quickly when an LPC-Link2 is the target, but is significantly slower against my board. That points to an issue of some kind with the JTAG/SWD interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, pertaining to the random similar failures on the LPC-Link2 board as target, I remembered that this is actually nothing new, and occurs with equal regularity when developing against an LPCxpresso 1549 board. &amp;nbsp;Also to rule out a common factor, it doesn't matter whether the host is Linux or MacOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There seems to be a significant problem here with stock boards and tools that is just exacerbated for some reason on my board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still waiting to break out of this 24hr forum cycle and talk to a local FAE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 06:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672274#M26894</guid>
      <dc:creator>omegahacker</dc:creator>
      <dc:date>2017-05-12T06:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672275#M26895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik Walthnsen,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I was wondering if you can exemplify the detailed steps to replicate the issue when using the LPC-Link2 as a target.&lt;/P&gt;&lt;P&gt;Actually, I've not encountered the any similar issues you demonstrated when I used the LPCOpen library.&lt;/P&gt;&lt;P&gt;About the supporting, you can contact with the local DFAE for checking as online AE can't help you to debug the board in reality.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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, 12 May 2017 07:11:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672275#M26895</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-12T07:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672276#M26896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is why I requested contact with an FAE from the very beginning.&amp;nbsp; Yet there is ABSOLUTELY NO INFORMATION about how to get in contact with said FAE.&amp;nbsp; Please provide me with contact information for a west-coast US (Oregon) FAE ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 15:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672276#M26896</guid>
      <dc:creator>omegahacker</dc:creator>
      <dc:date>2017-05-12T15:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672277#M26897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik Walthnsen,&lt;/P&gt;&lt;P&gt;You can contact with the Distributor FAE via the link, and they will escalate your question to the local FAE.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/support/sales-and-support/distributor-network:DISTRIBUTORS#CANADA_UNITEDSTATES" title="http://www.nxp.com/support/sales-and-support/distributor-network:DISTRIBUTORS#CANADA_UNITEDSTATES"&gt;Distributor Network|NXP&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Mon, 15 May 2017 02:43:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672277#M26897</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-15T02:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672278#M26898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a quick look to your breakout board for the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;LPC4370 and it looks really useful to access more MCU signals during&amp;nbsp;the prototyping phase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I review carefully the thread of your messages exchanged with jeremyzhou&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If you you really reproduced the LPC-Link2 routing of the chip and you&amp;nbsp;choosed a QSPI flash&amp;nbsp;supported by our Boot code and SPIFI API, I agree that your board should start successfully...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You couldn't mention much detail about your project online, it is understandable... but let's try to connect you with a local FAE to better support your development.&lt;BR /&gt;&lt;BR /&gt;As suggested by Jeremy, the right point of contact will be our local distributor. &lt;BR /&gt;The distributors below have facilities in Portland and&amp;nbsp;certainly distributor FAEs specialized in NXP Semiconductor, who will be able visit you and review your design as well as your code. If needed they will work hand to hand with the local NXP FAEs to resolve as fast as possible your issue with our silicon.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Arrow Electronics&lt;/STRONG&gt;&lt;BR /&gt;433 NW 4th Avenue&lt;BR /&gt;Portland, OR 97209&lt;BR /&gt;503-450-1355&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Avnet&lt;/STRONG&gt;&lt;BR /&gt;10260 Sw Greenberg Rd, Suite 400&lt;BR /&gt;Portland, OR 97223&lt;BR /&gt;503-452-6911&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Future Electronics&lt;/STRONG&gt;&lt;BR /&gt;6650 SW Redwood Lane, Suite 365&lt;BR /&gt;Portland, OR 97224&lt;BR /&gt;503-603-0956&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please keep us informed with your progress&lt;BR /&gt;Greg&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 16:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672278#M26898</guid>
      <dc:creator>GregC</dc:creator>
      <dc:date>2017-05-17T16:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 board bootstrapping problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672279#M26899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize this discussion is fairly old, but in case you are still working on this problem: the clock setup code from lpcopen is buggy.&amp;nbsp; For me, SPIFI boot was okay (most of the time) but running init code from RAM caused a crash.&amp;nbsp; Probably the setup code was more likely to work from SPIFI because the instructions would execute slower.&amp;nbsp; The solution was to edit&amp;nbsp;board_sysinit.c and replace the call to&amp;nbsp;Chip_SetupCoreClock(CLKIN_CRYSTAL, MAX_CLOCK_FREQ, true) with this modified function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void My_Chip_SetupCoreClock() {&lt;BR /&gt; Chip_Clock_SetBaseClock(CLK_BASE_MX, CLKIN_IRC, true, false);&lt;BR /&gt; Chip_Clock_EnableCrystal();&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; volatile uint32_t delay = 3000;&lt;BR /&gt; while(delay--) {}&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;uint32_t nsel = 0;&lt;BR /&gt; uint32_t fin = OscRateIn/(nsel+1);&lt;BR /&gt; // determine required postscaler&lt;BR /&gt; uint32_t psel=0;&lt;BR /&gt; // determine M&lt;BR /&gt; uint32_t msel=MAX_CLOCK_FREQ/fin-1;&lt;/P&gt;&lt;P&gt;// now set up new loop parameters without direct mode on&lt;BR /&gt; uint32_t PLL1Reg = (CLKIN_CRYSTAL &amp;lt;&amp;lt; 24) | (msel &amp;lt;&amp;lt; 16) | (nsel &amp;lt;&amp;lt; 12) | (1 &amp;lt;&amp;lt; 11) | (psel &amp;lt;&amp;lt; 8);&lt;BR /&gt; LPC_CGU-&amp;gt;PLL1_CTRL = PLL1Reg;&lt;/P&gt;&lt;P&gt;// wait until PLL1 has locked&lt;BR /&gt; while (!Chip_Clock_MainPLLLocked());&lt;/P&gt;&lt;P&gt;Chip_Clock_SetBaseClock(CLK_BASE_MX, CLKIN_MAINPLL, true, false);&lt;/P&gt;&lt;P&gt;/* Wait for 50uSec */&lt;BR /&gt; {&lt;BR /&gt; volatile uint32_t delay = 250;&lt;BR /&gt; while(delay--) {}&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;// use direct output (no postscaler)&lt;BR /&gt; PLL1Reg |= (1&amp;lt;&amp;lt;7);&lt;BR /&gt; LPC_CGU-&amp;gt;PLL1_CTRL = PLL1Reg;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jan 2018 02:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-board-bootstrapping-problems/m-p/672279#M26899</guid>
      <dc:creator>danstahlke</dc:creator>
      <dc:date>2018-01-14T02:29:48Z</dc:date>
    </item>
  </channel>
</rss>

