# Making use of those SWCLK & SWDIO pads

**URL:** <https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254>\
**Category:** Nano RP2040 Connect\
**Created:** [December 2, 2024, 10:32pm UTC](https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254 "2024-12-02T22:32:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattu1582](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@mattu1582](https://forum.arduino.cc/u/mattu1582)\
**Post date:** [December 2, 2024, 10:32pm UTC](https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254/1 "2024-12-02T22:32:53Z")

</div>

I noticed that on the back of the Nano 2040, there's five contact pads. They appear to be wired to all the necessary pins to run a debugger...has anyone had any success doing this? Specifically curious what sort of connector/interface you wound up going with to actually make the physical connection.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/3/6/d/36d8085070e87c5c4c67f0ea809e272b9995f0b5.png)

---

<div class="post-metadata">

**Author:** ![westfw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/westfw/32/213443_2.png) [@westfw](https://forum.arduino.cc/u/westfw)\
**Post date:** [December 3, 2024, 10:25am UTC](https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254/2 "2024-12-03T10:25:10Z")

</div>

RPi has instructions for using a second pico as a debug probe.

---

<div class="post-metadata">

**Author:** ![JohnLincoln](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@JohnLincoln](https://forum.arduino.cc/u/JohnLincoln)\
**Post date:** [December 3, 2024, 12:22pm UTC](https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254/3 "2024-12-03T12:22:22Z")

</div>

> [@mattu1582](#):
>
> Specifically curious what sort of connector/interface you wound up going with to actually make the physical connection.

I would suggest using something like this: [2 x 3 pogo pins, 0.1" spacing](https://www.adafruit.com/product/5382), built into a custom made jig with dowels/screws/standoffs to locate the PCB.

 ![5382-01](https://europe1.discourse-cdn.com/arduino/original/4X/9/6/9/96938c3b409e6fadf6009082ee9493fc55182df8.jpeg)

Adafruit have produced a tutorial: [how to make a pogo pin test jig](https://learn.adafruit.com/how-to-make-a-pogo-pin-test-jig).

---

<div class="post-metadata">

**Author:** ![mattu1582](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@mattu1582](https://forum.arduino.cc/u/mattu1582)\
**Post date:** [December 3, 2024, 2:04pm UTC](https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254/4 "2024-12-03T14:04:27Z")

</div>

This looks like it would work nicely! I had considered pogo connectors, but never a full jig. I'm going to scoop up one of those 2x3's and see what I have lying around.

---

<div class="post-metadata">

**Author:** ![jaguilar84](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jaguilar84/32/1116703_2.png) [@jaguilar84](https://forum.arduino.cc/u/jaguilar84)\
**Post date:** [December 3, 2024, 4:21pm UTC](https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254/5 "2024-12-03T16:21:52Z")

</div>

You can just put them on perfboard and wire the relevant pins into a group of three for connecting to a [Raspberry Pi Debug Probe](https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html) or dupont wires for connecting directly to Raspberry Pi GPIOs, which can also drive SWD debugging.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [December 4, 2024, 8:54pm UTC](https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254/6 "2024-12-04T20:54:29Z")

</div>

Here is some nice inspiration for a very simple approach to making a debug/programming jig:

[https://www.instagram.com/p/B9eTOlcnSQP/](https://www.instagram.com/p/B9eTOlcnSQP/)

It just uses a standard female header as the way to mechanically hold the Nano to the jig.

That one uses the individual pogo pins instead of the 2x3 component like the one in your picture. I think using the single component would be super nice because it is a bit tricky to get the alignment of the individual pins right with this particular design. I'm not sure if the pins on the 2x3 component are tall enough for that approach though.

Other than the [classic **Nano**](https://docs.arduino.cc/hardware/nano), all Nano boards have the debug/programming pins broken out to test pads at the same locations, so the jig can be used for all of them. If you are interested in using the Nano Every, you should take note that the ATmega4809 uses a UPDI interface rather than SWD as the other boards, so the test pads are a little different on that board (though still at the same location).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [June 2, 2025, 8:54pm UTC](https://forum.arduino.cc/t/making-use-of-those-swclk-swdio-pads/1328254/7 "2025-06-02T20:54:40Z")

</div>

Closed on June 2, 2025, 8:54pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
