Skip to content

viliusstanga/usb-to-usb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USB to USB HID Protocol Converter

Makes USB keyboards appear as basic boot protocol HID devices to the host

Wiring Diagram

Wiring diagram

Setup

At the time of writing, pico SDK included outdated TinyUSB, so it was merged with master branch.

cd $PICO_SDK_PATH/lib/tinyusb
git pull
git merge origin/master

Building the project.

mkdir build
cd build
cmake ..
make

Images can be flashed with OpenOCD.

cd build
sudo openocd -f interface/cmsis-dap.cfg -c "adapter speed 5000" -f target/rp2040.cfg -c "program device.elf reset exit"
sudo openocd -f interface/cmsis-dap.cfg -c "adapter speed 5000" -f target/rp2040.cfg -c "program host.elf reset exit"

Device firmware acts as a USB HID device, host firmware understands USB HID. Pico connected to PC needs to have device FW.

About

USB to USB HID Protocol Converter

Resources

Stars

Watchers

Forks

Packages

No packages published