<?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: Target marked as not debuggable in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574554#M21907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Jun 16 04:28:16 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please read the FAQ:&lt;/SPAN&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%2Ftarget-marked-not-debuggable" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/target-marked-not-debuggable&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:27:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:27:41Z</dc:date>
    <item>
      <title>Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574553#M21906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MindBender on Tue Jun 16 04:23:36 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Since halfway this morning I can no longer debug my Embedded Artists LPC1788 board. When I'm trying run my code I'm getting a window with the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error reported by target&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02: Failed on connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Target marked as not debuggable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Emu(0): Conn&amp;amp;Reset. Was: None. DpID: 00000000. CpuID: 00000000. Info: (null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aside from the regular unplugging and replugging of the LPC-Link2 it was working pretty well so far, but now unplugging, replugging, resetting and power-cycling doesn't get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574553#M21906</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574554#M21907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Jun 16 04:28:16 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please read the FAQ:&lt;/SPAN&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%2Ftarget-marked-not-debuggable" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/target-marked-not-debuggable&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574554#M21907</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574555#M21908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MindBender on Tue Jun 16 06:05:21 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem started after programming an image, so I can rule out cable and power related problems. I'm using an Embedded Artists LPC1788, which is considered to be a reference design, so I can rule out electronic design related problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using a stripped version of the Embedded Artists demo application and I did not manipulate any CRP fuses. I can't rule out they aren't touched as a side-effect of something else, but that's not very likely. The same goes for the debug pins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I was mucking around with the CPU clock in my last download. I nearly overlooked that in your FAQ: Please consider making that a separate bullet point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have worked &lt;/SPAN&gt;&lt;I&gt;a lot&lt;/I&gt;&lt;SPAN&gt; with JTAG tools, but locking yourself out in this way is pretty rare in my experience. I will try the recommendations in the FAQ, but unfortunately FlashMagic won't work on my Linux workstation :-(. (Pretty awesome there's a Mac version though)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574555#M21908</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574556#M21909</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 Tue Jun 16 06:32:21 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all, boot into ISP and try to debug again&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that fails, use FlashMagic...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And don't forget: UART ISP cannot be used at rates higher than 57,600 bits per second&amp;nbsp; :(( &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574556#M21909</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574557#M21910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Jun 16 06:38:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: MindBender&lt;/STRONG&gt;&lt;BR /&gt;but unfortunately FlashMagic won't work on my Linux workstation&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use lpc21isp (that's what I do).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574557#M21910</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574558#M21911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Tue Jun 16 06:58:20 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;For just erasing a 'bad' image in flash via ISP, you could very probably get away with a terminal emulator. I understand that Linux&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;has a full range of those.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just set baud to 57600 (or less) as there is a ROM bug that can't auto baud any higher.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the UM for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enter "?" (no-return/linefeed?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Should receive 'Synchronized"&amp;lt;CR&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enter "Syncronized"&amp;lt;CR&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enter clock speed in KHz (I think -- see UM) e.g. "72000"&amp;lt;CR&amp;gt; for 72 MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then Issue erase commands ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unlock ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Prepare ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Erase ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blank Check ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Programming is too complicated to do by hand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For syntax etc, I again refer you to the device UM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: the bloody bloody posting code removes anything in angle brackets! Imagine some "left angle bracket CR right angle bracket"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;scattered about in the obvious places. Sheesh -- it gets me every single bloody time!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574558#M21911</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574559#M21912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Tue Jun 16 07:00:15 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: starblue&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: MindBender&lt;/STRONG&gt;&lt;BR /&gt;but unfortunately FlashMagic won't work on my Linux workstation&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;You can use lpc21isp (that's what I do).&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lpc twenty one isp? shouldn't that be eighteen less --- lpc two ipc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know, I am not a Linux user&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574559#M21912</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574560#M21913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MindBender on Tue Jun 16 08:03:57 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Wow, you guys are way too fast for me to keep up, but I've got it working now. I went the FlashMagic way, using a virtual machine, because that was the fist tip I got.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A couple of caveats I'm willing to admit here: An LPC-Link2 shows up as a serial port on a Windows machine, but that's &lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt; the serial port you need to use. You need to use the serial port connected to UART0 on your SoC. The SoC has a bootloader in ROM listening to UART0 when powered up with the signal ISPEN activated. Using FlashMagic on that &lt;/SPAN&gt;&lt;I&gt;serial&lt;/I&gt;&lt;SPAN&gt; port, at a bit rate of 57k6 or lower (I used 19k2) and the board powered up with ISPEN activated, FlashMagic can work its magic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Linux, you can probably do the things FlashMagic does automatically, manually in minicom. They appear to be human readable commands. I didn't try this myself though. The tool lpc21isp can do this automatically under Linux and can be found here:&lt;/SPAN&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%2Fsourceforge.net%2Fprojects%2Flpc21isp" rel="nofollow" target="_blank"&gt;http://sourceforge.net/projects/lpc21isp&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't try that one either, but I'm sure I will, because I'm trying to underclock my LPC1788.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all the help guys!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574560#M21913</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574561#M21914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Jun 16 08:08:01 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: MikeSimmonds&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: starblue&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;You can use lpc21isp (that's what I do).&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;lpc twenty one isp?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My guess is it means LPC21xx In System Programming. Though nowadays it can handle a bit more than just LPC21xx.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574561#M21914</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Target marked as not debuggable</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574562#M21915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Jun 16 08:17:16 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I should point out that if you are debugging, you do not need to erase the target flash. Just boot your target into ISP mode, and then the debugger will connect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the FAQ says, there are certain things your code can do (such as incorrectly setup the clock) so that NO debugger will be able to connect. However, with ISP mode, the chip is reset, the on-chip (ROM) bootloader is run, and your application is NOT run. At this point any debugger will be able to connect, without you having to erase your (bad) application from the flash. The debugger can download a new application, or, if you are trying to figure out what went wrong, you can debug the application.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:27:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-marked-as-not-debuggable/m-p/574562#M21915</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:27:46Z</dc:date>
    </item>
  </channel>
</rss>

