A passive USB 1.1 packet sniffer using the RP2040 PIO coprocessor
Ângelo Moisés Alves has released USBSnifferPIO_RP2040 on GitHub. It’s a USB packet sniffer which runs on a Raspberry Pi Pico . It reads the traffic between a computer and a USB device. Both ends keep working as normal while it listens.
The RP2040’s own USB hardware can act as a host or a device. The sniffer reads the raw USB lines with the PIO coprocessor instead. Captured data goes into two buffers. Both cores decode at the same time.
An 8-hour test run captured every packet, with the results checked against Wireshark. The library is in the Arduino Library Manager. It works on the Pico W too. The license is MIT.
See more on GitHub .




Comments
No comments yet. Be the first to share your thoughts.