<?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: Em(02) error - can't launch debug. Is LPC locked?</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591815#M29761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ziemowit on Tue Sep 18 05:51:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ad #1 I'm talking about LPCXpresso LPC1114 (sorry)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ad #2 Nice video :) As I see, pull-ups are not necessary...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ad #3 :O I took it from LPC111x User Manual (UM10398 Rev. 11), table 159 on page 143:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[I]PIO0_3 â€” General purpose digital input/output pin. This pin is monitored&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;during reset: Together with a LOW level on pin PIO0_1, a LOW level starts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the flash ISP command handler via C_CAN and a [COLOR=Red]HIGH level starts the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;flash ISP command handler via UART[/COLOR].[/I]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understand well, low level calls CAN routine of bootloader, but I pulled down this pin, as you suggested and... it works!!! Now I can upload hex via UART :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I have to thank you, Zero :) It seems you're right! But what about NXP doc?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:28:49 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:28:49Z</dc:date>
    <item>
      <title>Em(02) error - can't launch debug. Is LPC locked?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591813#M29759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ziemowit on Tue Sep 18 04:19:18 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally I faced problem I can't find solution in any thread to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some attempts to change clock to watchdog oscillator, I lost connection with my LPCXpresso board. I can't launch neither debug nor program flash mode. Every attempt ends with an error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]02: Failed on connect: Em(02). MEM-AP is not selected.[/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I've tried to recover debug access to target chip, described on CodeRedWiki web page [COLOR=Blue]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fsupport.code-red-tech.com%2FCodeRedWiki%2FDebugAccessChip%5B%2FCOLOR%5D" rel="nofollow" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip[/COLOR]&lt;/A&gt;&lt;SPAN&gt;, but without success.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried to enter bootloader ISP mode and upload [I]'working'[/I] hex via UART (using Flash Magic tool) but it looks like uC doesn't enter bootloader code: I've 30k pull-up resistors on [COLOR=blue]RST[/COLOR], [COLOR=blue]PIO0.1[/COLOR] (FT/GPIO pad) and [COLOR=blue]PIO0.3[/COLOR] (USB-VBUS pad). I force low level on RST then on PIO0.1 pin (for short time) but when I start upload after that, I receive [COLOR=Red]failed to autobaud[/COLOR] message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I found out (in PuTTY terminal), target uC doesn't response to "?" autobaud command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can I do more in this case? Is my LPC deadly locked?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanx for all replies... (but be lenient for newbie user ;))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Maybe) important notice: [COLOR=red]LED[/COLOR] is shining all the time, even after bootloader 'entering', but gives weak pale light.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:28:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591813#M29759</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Em(02) error - can't launch debug. Is LPC locked?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591814#M29760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Sep 18 04:45:40 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 What are we talking about here ? LPCXpresso1343 hardware or own board?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 LED after ISP:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://"&gt;http://youtu.be/chFv1EiZcYo&lt;/A&gt;&lt;SPAN&gt; ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#3 ISP via UART is working with PIO0_3 low :eek::mad::p&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UM10375&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;PIO0_3 — General purpose digital input/output pin. LPC1343 only:&lt;BR /&gt;A [COLOR=Red]LOW level on this pin during reset starts the ISP[/COLOR] command&amp;nbsp; handler, a HIGH level starts the USB device enumeration.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:28:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591814#M29760</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Em(02) error - can't launch debug. Is LPC locked?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591815#M29761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ziemowit on Tue Sep 18 05:51:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ad #1 I'm talking about LPCXpresso LPC1114 (sorry)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ad #2 Nice video :) As I see, pull-ups are not necessary...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ad #3 :O I took it from LPC111x User Manual (UM10398 Rev. 11), table 159 on page 143:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[I]PIO0_3 â€” General purpose digital input/output pin. This pin is monitored&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;during reset: Together with a LOW level on pin PIO0_1, a LOW level starts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the flash ISP command handler via C_CAN and a [COLOR=Red]HIGH level starts the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;flash ISP command handler via UART[/COLOR].[/I]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understand well, low level calls CAN routine of bootloader, but I pulled down this pin, as you suggested and... it works!!! Now I can upload hex via UART :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I have to thank you, Zero :) It seems you're right! But what about NXP doc?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:28:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591815#M29761</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Em(02) error - can't launch debug. Is LPC locked?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591816#M29762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Sep 18 06:07:44 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Ziemowit&lt;/STRONG&gt;&lt;BR /&gt;If I understand well, low level calls CAN routine of bootloader, but I pulled down this pin, as you suggested and... it works!!! Now I can upload hex via UART :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we are talking about LPC1114 PIO0_3 has no ISP function :p&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UM10398 is also user manual for LPC11Cxx MCUs (with CAN bootloader) :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since a LPC1114 has neither CAN nor USB PIO0_3 is ISP-useless ;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591816#M29762</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Em(02) error - can't launch debug. Is LPC locked?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591817#M29763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ziemowit on Tue Sep 18 23:09:24 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You're right, Zero. Obviously LPC1114 doesn't have CAN, but I was sure table 159 tells truth. Far, far further in chapter #26 of UM we can read:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[I]If the C_CAN interface is present (LPC11Cx parts), the state of pin PIO0_3 at reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;together with a LOW level on pin PIO0_1 determines whether UART ISP or C_CAN ISP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;routines are called:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]Remark: On parts without C_CAN interface, the state of pin PIO0_3 does not matter.[/B][/I]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really don't know why I had problems with pulled-up PIO0_3. Maybe I just was unlucky ;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Em-02-error-can-t-launch-debug-Is-LPC-locked/m-p/591817#M29763</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:28:50Z</dc:date>
    </item>
  </channel>
</rss>

