<?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: [SOLVED] Dead LPC1788 ? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523294#M5930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Sat Jan 03 16:10:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got a small LPC1768 board from eBay since few weeks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've played a lot with it, uploaded several code examples using lpc21isp while pressing the P2.10 button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, this afternoon, after uploading a bad firmware, the ISP mode was not accessible any more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even pressing the P2.10 button, it never turn on the ISP mode, it is jumping straight into my bad firmware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To confirm that, I'm seeing on serial port the startup banner of my before it reach the bad code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I'm used to add a blinking LED into the DefaultHandler of all my samples to ease debugging, and when it reach the bad code, that LED start blinking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried to open serial terminal and directly trying to send few "?", and I never got a "Synchronized" answer. I wish to enter ISP mode but no response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It sound strange to me since the ISP bootloader is in ROM, so it must have some precedence over my fault code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea ? Is the chip bricked (but I can't believe it) ? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:01:50 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:01:50Z</dc:date>
    <item>
      <title>[SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523291#M5927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jacquot on Thu Oct 23 04:11:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear LPC community,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been using an LPC1788 for a while now [on an FDI uEZGUI-1788-70WVM board]. As a debugger, i use the J-Link LITE ARM from SEGGER. For the IDE, i use CrossWorks for now....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was pretty happy about all of these [except the fact that the debugger cannot `stop processor' quite frequently] until this morning. Indeed I've been developping for some months on this platform and very often flashing the device, it used to work well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This morning i flashed the device several times and after a while i ended up with a "Can't find debug component in ROM table" message. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked everything that may seem related to this issue for me, but i cannot find any solution to this, and my device is now not powering up [i mean, i can see the power supply LED on, but the screen does not light or anything] and reluctant to being flashed [still the same error message]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The checks i have made are as follow :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Check power supply : OK [checked with another board and it works]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Check USB cables/various connections [PC&amp;lt;-&amp;gt;Debugger, debugger &amp;lt;-&amp;gt; board looks okay too]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Launched the JLINK commander, i get the following message&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
WARNING: at least one of the connected devices is not JTAG compliant
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;and then the commander checks for JTAG, SWD, FINE, in both normal and slow speed and cannot find anything&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Tried to connect to the target using Flash Magic with no success&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Tried to plug/unplug power supply multiple times without any noise/light from the board&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am afraid i broke everything though the firmware i flashed in the last session was roughly the same as before and i am not hacking lowlevel things, just doing a basic GUI with it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Crawling through the forum i'm aware of this &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Flpc1788-cannot-find-debug-component-rom-table" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/content/forum/lpc1788-cannot-find-debug-component-rom-table&lt;/A&gt;&lt;SPAN&gt; which seems useful, but i wonder whether i should dig into this since i did not play with anything as low level as the OP.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated, i used to like this board &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;J.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523291#M5927</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523292#M5928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Thu Oct 23 04:27:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Jacquot&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;- Tried to connect to the target using Flash Magic with no success&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Switch to ISP and use FlashMagic...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fregaining-debug-access" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that's not working, your chip is dead...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523292#M5928</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523293#M5929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jacquot on Thu Oct 23 07:36:04 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your fast answer, and thanks for the pointer !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I finally managed to make it work back again !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just for the record, i don't know what made it work back but here's what I did:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Follow the steps in your pointer [i.e. on the uEZGUI-1788-70WMV connect pins 3 and 4 on J1 [i.e. put the board in ISP mode]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Flashed while holding this ISP mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Removed adaptive clocking and set the clock speed to something slow [100kHz i think]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It now works back as in the past.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523293#M5929</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523294#M5930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Sat Jan 03 16:10:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got a small LPC1768 board from eBay since few weeks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've played a lot with it, uploaded several code examples using lpc21isp while pressing the P2.10 button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, this afternoon, after uploading a bad firmware, the ISP mode was not accessible any more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even pressing the P2.10 button, it never turn on the ISP mode, it is jumping straight into my bad firmware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To confirm that, I'm seeing on serial port the startup banner of my before it reach the bad code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I'm used to add a blinking LED into the DefaultHandler of all my samples to ease debugging, and when it reach the bad code, that LED start blinking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried to open serial terminal and directly trying to send few "?", and I never got a "Synchronized" answer. I wish to enter ISP mode but no response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It sound strange to me since the ISP bootloader is in ROM, so it must have some precedence over my fault code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea ? Is the chip bricked (but I can't believe it) ? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523294#M5930</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523295#M5931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Sun Jan 04 16:30:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Since yesterday, the more I think about the issue, the more I become frustrated !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This BOOT ROM should be a ROM ! How can it be erased or disconnected from the Reset bootstrap flow ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I came to the conclusion that since my board come from China, it is possible that the LPC1768 is in fact a clone one which probably has a ROM which is in fact another Flash, been erased somehow ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Fortunately, I can continue my experiments using another board, from China too, an Mini-DK2. The defective one was a Minimal-MCU123. I won't play too much with Secondary-Bootloader code like yesterday, I'm so afraid to brick another one)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will now order some genuine chips to replace the defective one and use the other for real prototyping...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit : I found something interesting but embarrassing :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;Caution:&lt;BR /&gt;If CRP3 is enabled, changes to the&lt;BR /&gt;flash space can only be performed using&lt;BR /&gt;IAP in the user application. Assuming a valid&lt;BR /&gt;user application is present, the secondary&lt;BR /&gt;USB bootloader will NOT enter ISP mode if CRP3 is selected. &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This means that probably my chip entered in CRP3 somehow, and there is no way to clear that since my code enter in DefaultHandler ! So, it is definitely bricked ! :-( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523295#M5931</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523296#M5932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sun Jan 04 19:12:23 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fregaining-debug-access" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is describing how to boot into ISP&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case: ground ISP pin (P2.10) and power cycle your board...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Fwhat-are-code-read-protect-crp-levels-lpc17xx" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/what-are-code-read-protect-crp-levels-lpc17xx&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is describing CRP modes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps your cheap board has hardware problems (button), so checking ISP and Reset could be useful...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523296#M5932</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523297#M5933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Sun Jan 04 20:13:14 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi R2D2,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunayely, I've already seens those links... :-(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For the P2.10 button, I've already try to take a jumper on P2.10 and short it to ground.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No way, Reset jump directly to my bad firmware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your second link, the following quote confirm my fears :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;CRP3 (Level 3): No ISP access. Even NXP can't access the code a CRP3 level. IAP reprogramming is possible&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(in the AN, it is mentionned on page 4 as I read before : "the user code should already have this 'back door' prepared in order to break CRP3 when necessary")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortnately, my bad firmware can't provide me such backdoor. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the chip is really bricked !!! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP really make this difference between CRP2 and CRP3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I've even read in my searches that some board companies are not responsible for any returned boards which are in CRP3 state)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will have to unsolder and resolder new chip :-(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523297#M5933</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523298#M5934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Mon Jan 05 00:35:25 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It is very very difficult to select CRP3 accidentally. You need to place the value 0x43218765 at address 0x2fc. Using a bootloader will not do this unless you specifically set the value at the address&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523298#M5934</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523299#M5935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Mon Jan 05 00:46:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you check RSTOUT? I had once a case with a LPC1768, where the chip resetted again and again (once every 1ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and internal bootloader was not accessable anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523299#M5935</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523300#M5936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Mon Jan 05 15:47:29 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@capiman, I've looked at RSTOUT, and it reflect exactly the RST done using the push button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I wasn't suspecting Reset every millisec, since it is stuck in my DefaultHandler code where I've placed a small loop blink a LED with one short blink followed by a long one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@TheFallGuy, I know that probabilities are thin, but what can it be otherwise ? My previous assumption of chinese clone getting into a erased ROM ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said, my DefaultHandler is blinking the LED, so the CPU is working fine, but ISP is prohibited somehow ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, I've just verify something : The UART is also initialized properly because I've added UART_printf in ResetHandler and some other place, I receive them properly because it goes in DefaultHandler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish the NXP had provided some other method to unlock CRP3, such High Voltage erasing ... :-(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523300#M5936</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523301#M5937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jacquot on Tue Jan 06 01:58:20 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear Martinayotte,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not an LPC expert, but by any chance, have you tried the solution that did work for me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;- Put the board in ISP mode&lt;BR /&gt;- Flash while holding this mode, using an official firmware and FlashMagic&lt;BR /&gt;- Remove adaptive clocking and set the clock speed to something slow [100kHz ?]&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to be clear, did you try the 2nd {flashmagic} and 3rd {remove adaptive clocking} points&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best luck for your issue, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since it is unlikely that your chip is dead, i guess you'll soon find a solution !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523301#M5937</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523302#M5938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Tue Jan 06 07:31:02 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jacquot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My chip doesn't want to jump to ISP mode, that's the whole issue since the beginning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is jumping straight thru my defective firmware which hang on specific instruction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the definition of CRP3 :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;In a higher level of protection, the user can also prevent others from downloading their&lt;BR /&gt;own code, which would mean some kind of hardware protection, i.e., &lt;STRONG&gt;it will prevent others&lt;BR /&gt;from reusing the hardware&lt;/STRONG&gt;. In this last case, CRP3 prevents entering ISP by pulling&lt;BR /&gt;P2.10 low (hardware mechanism which allows entering ISP when there is valid code in&lt;BR /&gt;the user’s flash). In this way, unauthorized users can’t use ISP to access the device&lt;BR /&gt;flash, so this mode provides the maximum level of protection.&lt;BR /&gt;The user should note that in effect, &lt;STRONG&gt;with CRP3 there is no way to update the user flash,&lt;BR /&gt;which means no further code updates are possible&lt;/STRONG&gt;. However, the user code could make&lt;BR /&gt;use of Re-Invoke ISP (one of the In-Application Commands – IAP) which invokes the&lt;BR /&gt;boot loader in ISP mode.&lt;BR /&gt;&lt;BR /&gt;When we use Re-Invoke ISP, we are breaking CRP3 protection, which ultimately means&lt;BR /&gt;we are downgrading to level CRP2. Although in this level we can’t read the flash, we can&lt;BR /&gt;download a new code. &lt;STRONG&gt;Of course, the user code should already have this “back door”&lt;BR /&gt;prepared in order to break CRP3 when necessary&lt;/STRONG&gt;, and the mechanism used for this&lt;BR /&gt;would be kept secret as it will be the key to break with the hardware protection, as we&lt;BR /&gt;saw above.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523302#M5938</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523303#M5939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Jan 06 08:01:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure you are following the correct ISP procedure. Suggest you tell us what you do to try to get it into ISP mode.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523303#M5939</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523304#M5940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jacquot on Tue Jan 06 08:06:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, well i got your point...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just told you this because i had exactly the same thought at first: my chip is dead into CRP3...and i cannot go to ISP mode...&amp;nbsp; then i flashed it using flashmagic as written earlier, successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It was just it was not clear for me that you tried to re-flash the chip + stop using automatic clock detection [since both of those steps were meaningful for me]. I guess you should try to explicitly tell here what you have tried to state it's dead... especially if you tried the whole procedures cited here as references...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry the intervention.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523304#M5940</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523305#M5941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Tue Jan 06 11:25:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi TheFallGuy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I played with this board for almost 3 weeks, using "lpc21isp" to upload different samples over the days, playing with some code, even have some I2C peripherals hooked-up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've even written small python application that communicate in ISP to be able to do a "Read-Dump" of the current Flash (taking care of sector 0 remapping) because "lpc21isp" doesn't have such function, this allowed me to do a backup of another board, my Mini-DK2, for which I didn't have a backup of the demo firmware. All that to say that I'm now quite familiar with the ISP protocol, "?" to autobaud-sync, then "Syncrhonized" exchange, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After almost more than 100 firmware uploads, while playing with USB secondary bootloader code, which I didn't make it work yet (except by using pre-built binary), I was suddently stuck by not been able to upload again. Stuck trying to enter in ISP even using a TTL-Uart manually sending "?". The CPU fall directly into my defective bootloader, flashing my debug LED. If it was in CRP1 or CRP2, I would have been able to reflash, but I think I don't have other issue to throw awat the chip and replacing it (I've ordered some ast night)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523305#M5941</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523306#M5942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Tue Jan 06 11:33:31 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Just an idea: Have you tried to power-up the board to get into ISP mode instead of pressing reset button?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Assuming ISP pin already has the right level)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523306#M5942</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523307#M5943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Tue Jan 06 11:35:05 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jacquot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't try "flashmagic" since I'm working almost exclusively on Linux, so that why I'm using "lpc21isp".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I will try it, although I'm doubt it will work, since I tried also to enter in ISP using manual typing in TTL-Uart, except if there another "backdoor" that "flashmagic" is using and that is not documented somewhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean by "automatic clock detection" ? Do you mean the "autobaud detection" of ISP mode ? The ISP mode doesn't even start when P2.10 is low, CPU goes directly into my defective firmware, clocking properly (since I have even a Reset banner into the Uart at 115200B just before it hangs in my DefaultHandler, blink a LED)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, thanks for the advice, I will stil try that famous "flashmagic" later today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523307#M5943</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523308#M5944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Tue Jan 06 11:38:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi capiman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I did ... same thing, it goes directly to start by defective firmware ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lesson learned : if the whole story is really what I'm thinking of, I will add new code to my default handler, not only blinking LED, but provide a "backdoor" to clear that CRP3 state ... :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523308#M5944</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523309#M5945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Tue Jan 06 11:45:46 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;A colleague of me was once able to recover my board via JTAG. But I can't tell how he has done it, via JTAG or SWD?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think he told me he has tried it again and again with a fast JTAG clock and suddenly he was able to access and delete the chip.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps also something to test, if you have a working JTAG dongle...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I don't think it is the CRP3, something else which we don't yet know).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: Do you have the exact same firmware (latest one) which you flashed, where the problem occurred? If yes, can you store it (or even upload it)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523309#M5945</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Dead LPC1788 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523310#M5946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by martinayotte on Tue Jan 06 12:12:05 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi capiman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, I don't have a JTAG dongle. But I think I should get one, since it will always be useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm uploading 2 versions of the firmware, since I don't which one I've used when the drama occurs, because I've continued some work that day with another board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are about 2 hours differences between both builds. (Note : there are not both from same sources, there are 2 different versions found on the web, that I've translated/modified for the GNU toolchain).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If those binaries inspires you, thanks in advance for your help :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh ! looking at timestamp of my original post, it should be usbbootloader-badfirmware.zip, since the other seems to be after my post (if timezones are ok)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:02:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SOLVED-Dead-LPC1788/m-p/523310#M5946</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:02:01Z</dc:date>
    </item>
  </channel>
</rss>

