Unable to connect LPC Link-2 to LPC54606 using SWD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Unable to connect LPC Link-2 to LPC54606 using SWD

跳至解决方案
1,558 次查看
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

标记 (3)
0 项奖励
1 解答
1,496 次查看
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 项奖励
5 回复数
1,525 次查看
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 项奖励
1,550 次查看
converse
Senior Contributor V
0 项奖励
1,547 次查看
hemanthvasista
Contributor IV

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

0 项奖励
1,534 次查看
converse
Senior Contributor V

Check power. And double check your debug connections.

0 项奖励
1,497 次查看
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 项奖励