<?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 Error launching Debug\adc.axf in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-launching-Debug-adc-axf/m-p/543628#M8343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by orro on Tue Jul 19 01:07:55 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to programming with the lpcxpresso board (lpc1343) and was testing the adc example that was provided.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to modify it to poll rather than use interrupt, and removed the #ifdef __JTAG_DISABLED and the #ifdef __SWD_DISABLED check to see what would happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since then, I am not able to debug any programs, and get the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Launching Debug\adc.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02: Failed on connect: Ee(07). Bad ACK returned from status - wire error.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question now is, how can I "reset" all registers so that I can debug programs again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought I could use the reset value for the ADC IN0-4 pins, but I dont know how to run the code without the compiler (would that do it?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Navid&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:50:28 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:50:28Z</dc:date>
    <item>
      <title>Error launching Debug\adc.axf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-launching-Debug-adc-axf/m-p/543628#M8343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by orro on Tue Jul 19 01:07:55 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to programming with the lpcxpresso board (lpc1343) and was testing the adc example that was provided.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to modify it to poll rather than use interrupt, and removed the #ifdef __JTAG_DISABLED and the #ifdef __SWD_DISABLED check to see what would happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since then, I am not able to debug any programs, and get the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Launching Debug\adc.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02: Failed on connect: Ee(07). Bad ACK returned from status - wire error.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question now is, how can I "reset" all registers so that I can debug programs again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought I could use the reset value for the ADC IN0-4 pins, but I dont know how to run the code without the compiler (would that do it?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Navid&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-launching-Debug-adc-axf/m-p/543628#M8343</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error launching Debug\adc.axf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-launching-Debug-adc-axf/m-p/543629#M8344</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 Jul 19 01:17:05 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;With deleting #ifdef __SWD_DISABLED you have sucessfully disabled SWD :eek::eek:,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so switch to ISP as described in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugAccessChipccessChip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#ifdef __SWD_DISABLED
&amp;nbsp; LPC_IOCON-&amp;gt;SWDIO_PIO1_3&amp;nbsp;&amp;nbsp; &amp;amp;= ~0x8F;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; LPC_IOCON-&amp;gt;SWDIO_PIO1_3&amp;nbsp;&amp;nbsp; |= 0x02;&amp;nbsp; /* ADC IN4 */
#endif
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;Note: PIO1_3 (pin 39)&amp;nbsp; is used for debugging (SWDIO). If you switch it's function to AD4, your Debug connection isn't working any more.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-launching-Debug-adc-axf/m-p/543629#M8344</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error launching Debug\adc.axf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-launching-Debug-adc-axf/m-p/543630#M8345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by orro on Tue Jul 19 02:25:28 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for the help! Works now again, and lesson learned!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-launching-Debug-adc-axf/m-p/543630#M8345</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:50:29Z</dc:date>
    </item>
  </channel>
</rss>

