Unable to connect LPC Link-2 to LPC54606 using SWD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to connect LPC Link-2 to LPC54606 using SWD

Jump to solution
1,591 Views
hemanthvasista
Contributor IV

Hello ,

I am unable to connect LPC Link-2 to NXP LPC54606 controller.

SWDIO (PIO0_12) with pullup to LPC Link-2 (J7 pin-2)
SWO (PIO0_8) with pullup to LPC Link-2 (J7 pin-6)
SWCLK (PIO0_11) with pulldown to LPC Link-2 (J7 pin-4)
RESETN with pullup to LPC Link-2 (J7 pin-10)

1. Are there any other conditions that needs to be considered?
2. SWO can be PIO0_8 or PIO0_10, should any configuration be done by user?
3. What should be the state of ISP0, ISP1 & ISP2 pins? (All these pins are pulled up)


regards,
Hemanth

0 Kudos
1 Solution
1,529 Views
hemanthvasista
Contributor IV

 

The issue was because of the existing code in the flash which configured the SWD pins as Analog Pins.

Erasing of the flash and then SWD interface started to work.

View solution in original post

0 Kudos
5 Replies
1,558 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello hemanthvasista,

 

You can also have a look at the schematic about LPCpresso54628 board:

https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mc... 

 

 

0 Kudos
1,580 Views
hemanthvasista
Contributor IV

I tried the things described in the that link without any success

0 Kudos
1,567 Views
converse
Senior Contributor V

Check power. And double check your debug connections.

0 Kudos
1,530 Views
hemanthvasista
Contributor IV

 

The issue was because of the existing code in the flash which configured the SWD pins as Analog Pins.

Erasing of the flash and then SWD interface started to work.

0 Kudos