Hi all … I really like the look of the Pimoroni Pico W on board products - especially the LED matrices. But I use C++ for Pico programming and always flash my using openocd and the SWD interface.
The Pico W on board products do not connect up the debug pins - has anyone got any tips about how these could be wired up?
Yes, just wanted some pratical tips on how to solder some pins into the pads. Could just add some leads but pins are nicer!
@ahnlak Are you building on a pi? If so openocd is really simple and makes the build/flash cycle much faster. I’d recommend the debug probe since it gives you a serial port too.
Looking at the back of my Unicorn, you could probably solder pins into the debug header - you’d have to do it with bare pins though, so you could reach the pads to solder them to.
And I have used openocd before (I’ve even got a PicoProbe set up … somewhere) but I only really dig that out if I hit an annoying bug I can’t squash offline. It probably slows down my build/debug cycle a bit, but the last thing my desk needs is more cables running across it :-)
No cables what so over, the hat connects the relevant pins of the pico and pi. This is of course no solution to the orginal question, it does not help for on board products. It is a real pity that Pimoroni not just breaks out the debug pins like they did on the Badger 2040.
If you take a male 3 pin header, and reverse it, long end down.
You should be able to carefully solder it in place.
Leaving the base on will hold all the pins up nice and straight, and in line.
Then just carefully push the black base part down.
With a bit of luck what’s left on top will be long enough to plug a female jumper into.
The reset button just reboots, but it does mean you can hold down bootsel and tap reboot to get into bootsel mode, rather than faffing around unplugging things.
Debugging is not as deep as when you’re using openocd - you’re pretty much limited to blinking lights and dumping stuff to stdout, but I’m old enough to almost pre-date debuggers :-)
There is conductive glue (although I’ve never used it) - but the pads are pretty accessible, so it wouldn’t be too much of a nightmare to solder the pins in.
It would be nice if Pimoroni could add the headers on during manufacturing, but I suspect that would add several layers to the machining and make them more of a pain in the butt for them to put together.