lpcware

LPC-link not working on custom board but JLink works

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by lpc1700user on Fri Nov 08 08:20:54 MST 2013
Just did  custom board using LPC1768 with SWD (SWDCLK and SWDIO) for programming/debugging.
Everything works fine using the J-link with Keil, but not with LPC-link and Code Red.

Code Red and LPC-link freeze when start debugger on the custom board, displaying:

LPCXpresso Debug Driver v5.2 (Jul  5 2013 11:31:15 - crt_emu_cm3_nxp build 15)
Looked for chip XML file in C:/NXP/LPCXpresso_5.2.6_2137/lpcxpresso/bin/LPC1768.xml
Looked for vendor directory XML file in C:/NXP/LPCXpresso_5.2.6_2137/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/NXP/LPCXpresso_5.2.6_2137/lpcxpresso/bin/crt_directory.xml


Progress bar: 94% (sometimes 97%).


The same project works fine when debugging LPCExpresso1769 in Code Red.

Custom board pull-up/pull-down:

SWDIO - PU 4.7K
SWCLK - PD 4.7K
/RESET - PU 4.7K
SWO - PU 4.7K (not connected, just pull-up)

ISP (P2.10) - PU 4.7K

Note: I did also the same pull-up/pull-down on the Expresso 1769 board and still working.

Does anyone has a similar situation?

Thank you.

Outcomes