-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add RP2040-Tiny #8796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RP2040-Tiny #8796
Conversation
|
I think you'll need to fill out a form instead of making a PR to that repo. |
|
I saw the form, however it requires company info and stuff. |
that seems to be on the main RP repo, not circuitpython? |
Yes, that PR is directed towards RP, for a product id (PID) from their vendor id (VID, 0x2E8A). |
|
ah okay, that makes sense |
Is that really true? Why do you need to have a unique VID:PID? Why can't you instead have a standard VID:PID for a particular piece of silicon and identify the board through the Product ID? |
I'm not sure what you're suggesting here. The "Product ID" is the "PID". The RP2040 chip itself presents a single VID:PID because it has a built-in bootloader in ROM. But when the board is running Arduino or CircuitPython, it presents an Arduino-specific VID:PID or a CircuitPython-specific VID:PID for that particular kind of board. So a Pico and an Adafruit RP2040 have different Arduino and CircuitPython VID:PIDs. The different VID:PID for each kind of board allow an IDE or other external software to identify the kind of board. |
Host OSes (like Windows) may cache the USB information based on the VID:PID combination. For Adafruit boards we usually do one PID per board x software combination to ensure that caching isn't triggered. |
|
Sorry I wasn't being clear, the iProduct field in the device descriptor defines the product string descriptor. You could use a single VID/PID descriptor for a particular device, then use the product string descriptor to identify the specific board. This is the way the ARM CMSIS-DAP works, it just needs "CMSIS-DAP" in the product string descriptor and OpenOCD will automatically detect the device. |
|
Drafting till I get the usb pid:vid, since it may take a while. |
|
Got a VID. |
dhalbert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your patience!
Another weird board. The USB port is detachable.
Looks almost identical to RP2040-Zero, but has less pins exposed.
USB pid:vid pending.