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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,052件の閲覧回数
aaronm
Contributor III

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,030件の閲覧回数
aaronm
Contributor III

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,031件の閲覧回数
aaronm
Contributor III

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,043件の閲覧回数
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,028件の閲覧回数
brendonslade
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信