The first step is to install the u2if firmware from the Adafruit fork onto the Raspberry Pi Pico. This is super easy:
- Download the latest release of u2if_pico.uf2 from the repo: https://github.com/adafruit/u2if/releases
- Put the Pico in bootloader mode by holding the BOOTSEL button while plugging in the board.
- Drag the downloaded UF2 file to the RPI-RP2 folder.
- DONE!
The board will reset after the copy is complete. Note that no folders will show up. So it may seem like nothing happened.
No folders will show up after reset - this is normal.
Now the Pico will show up as two USB devices:
- USB HID (Human Interface Device)
- USB CDC (Communication Device Class)
The former provides a generic interface for sending 64 byte "reports" back and forth. The later is essentially a serial interface, aka "com port". How these show up on your PC will depend on OS.
[Mon Apr 26 13:07:36 2021] usb 2-1.5: new full-speed USB device number 12 using ehci-pci [Mon Apr 26 13:07:36 2021] usb 2-1.5: New USB device found, idVendor=cafe, idProduct=4005, bcdDevice= 1.00 [Mon Apr 26 13:07:36 2021] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [Mon Apr 26 13:07:36 2021] usb 2-1.5: Product: U2IF [Mon Apr 26 13:07:36 2021] usb 2-1.5: Manufacturer: Pico [Mon Apr 26 13:07:36 2021] usb 2-1.5: SerialNumber: 0xE6604430433F5326 [Mon Apr 26 13:07:36 2021] cdc_acm 2-1.5:1.0: ttyACM0: USB ACM device [Mon Apr 26 13:07:36 2021] hid-generic 0003:CAFE:4005.000C: hiddev1,hidraw7: USB HID v1.11 Device [Pico U2IF] on usb-0000:00:1d.0-1.5/input2
Text editor powered by tinymce.