<?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: Cannot connect to LPC-link in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-connect-to-LPC-link/m-p/530739#M2139</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 Wed Aug 19 11:38:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried booting your part into the ISP, erasing flash, then download a known working example? If you can, this might suggest your application has destabilized the part (e.g. invalid PLL setting), or interfered with debug operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access"&gt;Regaining debug access to target MCU&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please include the debug log output to the console after your connection fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/debug-log"&gt;The Debug Log&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible your Launch (Debug) Configuration is corrupt, or wrong? Delete the configuration, and use the Quickstart Panel to start the Debug session (and also creates a new launch configuration).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:44:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:44:41Z</dc:date>
    <item>
      <title>Cannot connect to LPC-link</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-connect-to-LPC-link/m-p/530738#M2138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by andres.cass on Wed Aug 19 11:14:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi. I am working with element4 (Embest) LPC4357-EVB. I was programming it with a LPC-link from an LPCXPRESSO 1769 board without any problem with a custom made adapter for the 20 pin JTAG connector ni the EVB board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I tried to download a simple program that turns on a LCD display. The program downloads to the microcontroller but the LPCxpresso show me an error that I can't remember and now I cant connect again to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to debug from LPCxpresso it shows me a window with the message "JTAG Cpmfoguration. Not available devices found." as is no microcontroller connected to the LPC-link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, when I connect the LPC-link to the EVB board it seems as it's being reseted contnuosly by the LPC-link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm on windows 7 with LPCXpresso v7.5.0 [Build 254] [2014-10-31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one knows what can be happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andres&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: here is the code of my program:&lt;/SPAN&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;
/**
 * Systick 1mS clock required for emWin time functions
 */
volatile uint32_t systick_timems;

/* mSec delay */
static void lcdDelay(uint32_t delay)
{
delay += systick_timems;
while (systick_timems &amp;lt; delay) {}
}

/**
 * @briefSystick handler
 * @returnNothing
 */
void SysTick_Handler(void)
{
systick_timems++;
}

int main(void) {

&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: insert code here
&amp;nbsp;&amp;nbsp;&amp;nbsp; SystemCoreClockUpdate();
/* Enable and setup SysTick Timer at a periodic rate */
SysTick_Config(SystemCoreClock / 1000);
Chip_GPIO_Init(LPC_GPIO_PORT);

&amp;nbsp;&amp;nbsp;&amp;nbsp; // Force the counter to be placed into memory
&amp;nbsp;&amp;nbsp;&amp;nbsp; volatile static int i = 0 ;

&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SCU_PinMuxSet(0x7, 7, (SCU_MODE_FUNC0 | SCU_MODE_PULLDOWN)); //GPIO3_15 func 0
&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SCU_PinMuxSet(0xA, 3, (SCU_MODE_FUNC0 | SCU_MODE_PULLDOWN)); //GPIO4_10 func 0

&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinDIROutput(LPC_GPIO_PORT, 3, 15);
&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinDIROutput(LPC_GPIO_PORT, 4, 10);

&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SCU_PinMuxSet(0xE, 7, (SCU_MODE_FUNC4 | SCU_MODE_PULLDOWN));
&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinDIROutput(LPC_GPIO_PORT, 7, 7);

&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinOutHigh(LPC_GPIO_PORT, 3, 15);
&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinOutHigh(LPC_GPIO_PORT, 4, 10);

&amp;nbsp;&amp;nbsp;&amp;nbsp; // Enter an infinite loop, just incrementing a counter

&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i++ ;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lcdDelay(500);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinToggle(LPC_GPIO_PORT, 7, 7);

&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:44:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-connect-to-LPC-link/m-p/530738#M2138</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to LPC-link</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-connect-to-LPC-link/m-p/530739#M2139</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 Wed Aug 19 11:38:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried booting your part into the ISP, erasing flash, then download a known working example? If you can, this might suggest your application has destabilized the part (e.g. invalid PLL setting), or interfered with debug operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access"&gt;Regaining debug access to target MCU&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please include the debug log output to the console after your connection fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/debug-log"&gt;The Debug Log&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible your Launch (Debug) Configuration is corrupt, or wrong? Delete the configuration, and use the Quickstart Panel to start the Debug session (and also creates a new launch configuration).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:44:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-connect-to-LPC-link/m-p/530739#M2139</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to LPC-link</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-connect-to-LPC-link/m-p/530740#M2140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by andres.cass on Wed Aug 19 12:45:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;For now I found that I can reprogram the MCU while pushing down the reset button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So for the time it is resolved. I am waiting for LPC-Link 2 to arrive to me, because I've purchased it a little time ago.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regars.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andres&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-connect-to-LPC-link/m-p/530740#M2140</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:44:42Z</dc:date>
    </item>
  </channel>
</rss>

