Skip to content

shufps/raspi-pico-dap

Repository files navigation

raspi-pico-dap

Small PCB for a Raspberry Pi Pico to 2x5 1.27mm pin socket.

note: This works best with a PCB thickness of 0.8mm

SWD Pinout:

image

Digikey parts:
1175-1627-ND

1528-2009-ND

2648-SC0915CT-ND

Install probe-rs

# install probe-rs
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-installer.sh | sh

It is also suggested to install the udev rules:

# /etc/udev/rules.d/99-pico.rules
#picoprobe
SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", MODE="0666"

After adding execute following lines and disconnect and connect the USB device:

sudo udevadm control --reload-rules &&  sudo udevadm trigger 

Using it on Windows running WSL

For windows the usbipd is needed. Install it from here:

https://github.com/dorssel/usbipd-win/releases

Afterwards reboot your PC (Windows ... 😑) and open the cmd as Administrator.

Then:

C:\Windows\System32>usbipd list
Connected:
BUSID  VID:PID    DEVICE                                                        STATE
2-1    046d:c52b  Logitech USB Input Device, USB-Eingabegerät                   Not shared
3-1    0c76:161f  USB PnP Audio Device, USB-Eingabegerät                        Not shared
3-2    046d:c52b  Logitech USB Input Device, USB-Eingabegerät                   Not shared
3-3    046d:c548  Logitech USB Input Device, USB-Eingabegerät                   Not shared
4-1    8087:0aa7  Intel(R) Wireless Bluetooth(R)                                Not shared
4-2    2e8a:000c  Picoprobe CMSIS-DAP v2, Serielles USB-Gerät (COM3)            Attached

Note the BUSID for the Picoprobe. Then

C:\Windows\System32> usbipd bind --busid 4-2

Afterwards start your WSL Linux

Then attach the device with:

C:\Windows\System32> usbipd attach --wsl --busid 4-2

When it is running you can check in your WSL-Linux if the probe is detected:

thomas@DESKTOP-ANQNAQ4:~$ probe-rs list
The following debug probes were found:
[0]: Picoprobe CMSIS-DAP (VID: 2e8a, PID: 000c, Serial: E66138528337A532, CmsisDap)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published