Pinout for MCU-Link Pro to LPC832 in CMSIS-DAP debugging

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

Pinout for MCU-Link Pro to LPC832 in CMSIS-DAP debugging

跳至解决方案
1,842 次查看
aaronm
Contributor IV

Hi.  I'm using a free-standing LPC832 - not part of any EVK - and the SWD connections as referenced in *1 work fine if I'm using the J-Link debugger.  However, if I debug with LinkServer and the MCU-Link Pro, with the same pin connections, I get the following:

02: Failed on Connect
Target marked as not debuggable.
Probe(0): Connected&Reset
Remote communication error. Target disconnected.: Connection reset by peer.

Does the stand-alone LPC832 not support CMSIS-DAP debugging?  Are my pins connected incorrectly?  I could flash the MCU-Link Pro with Segger firmware and use it as another J-Link debug probe, but I'd rather have two types of probes.

Thanks

*1: https://community.nxp.com/t5/LPC-Microcontrollers/Pinout-and-debugger-configuration-for-reliable-SWD...

标签 (1)
0 项奖励
回复
1 解答
1,820 次查看
aaronm
Contributor IV

I figured it out: the TDO pin needs to be connected for CMSIS-DAP debugging.  Evidently, this is not necessary with J-Link debugging - as I've experienced in actual practice.  The MCU-LINK Pro schematic helped.  See page 4, "Cortex Debug (SWD/JTAG) interface."

https://www.nxp.com/downloads/en/schematics/MCU-LINK-SCH.pdf

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,821 次查看
aaronm
Contributor IV

I figured it out: the TDO pin needs to be connected for CMSIS-DAP debugging.  Evidently, this is not necessary with J-Link debugging - as I've experienced in actual practice.  The MCU-LINK Pro schematic helped.  See page 4, "Cortex Debug (SWD/JTAG) interface."

https://www.nxp.com/downloads/en/schematics/MCU-LINK-SCH.pdf

0 项奖励
回复
1,833 次查看
frank_m
Senior Contributor III

Some debug probes have configurable options to enable/disable the 3.3V supply to the target through the debug adapter.
Perhaps this is your problem ?

1,818 次查看
brendonslade
NXP TechSupport
NXP TechSupport

Good point, but MCU-Link (base model) cant power a target. MCU-Link Pro can.

0 项奖励
回复