SWD connection with TC2050-IDC-NL 10-Pin No-Legs Cable

This is our first time using TC2050 for the smaller footprint in our prototype. But we can't establish a connection with JTAG in nRG Programmer. 

Below is the log from the attempted connection:

19:08:22.150	Selecting device with the serial number 000069661042
19:08:23.217	Error: Failed with exit code 1. Failed to device info one or more devices: * 69661042: [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic. Message: Operation device-info failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
19:08:23.218	Selected device with the serial number 000069661042
19:08:23.218	Using nrfutil device to communicate with target via JLink
19:08:24.123	Reading readback protection status for Application core
19:08:24.123	Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1)
19:08:24.352	Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic. Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
19:08:24.352	Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic. Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).

This is my current setup:

One thing that could improve is the length of the wires.

What might be the possible issues of my setup not working out?

Thank you,
Kevin

Parents Reply Children
  • You can try a very slow SWD clock, 500 kHz sometimes works better with bad cabling.

    I spot 2 big issues: Reset pin must be accessible from the debug port (or at least from a test point), and the debug interface must have access to the actual target voltage (VDD) from the nordic chip.

    If you supplied 5V to the debug pins, you might have grilled the MCU. The pins do not tolerate 5V levels.

    Edit: It would also surprise me if your antenna setup worked for more than 5-10m range. We are missing an important layer but that HF signal does not look properly routed to me. Won't affect the debug connection yet and I don't design 2.4 GHz PCBs - we use 3rd party modules here.

  • Transferred the ticket a to private ticket: Case ID: 350478 for all the schematic design 

Related