Changing vendor/product ID in DFU #15793
Unanswered
victorallume
asked this question in
STM32 / Pyboard
Replies: 2 comments 3 replies
-
The Vendor ID (VID) and Product ID (PID) are used to identify the USB device. When the device enters DFU mode, these IDs help the host (e.g., a computer or other flashing tool) recognize and interact with the device correctly. |
Beta Was this translation helpful? Give feedback.
1 reply
-
VIDs / PIDs are centrally managed, so you can register for a fee. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wanting to change the vendor/product ID in the DFU firmware binary so that I can ensure compatibility of the firmware prior to flashing it (which I believe is the original purpose of this field in the DFU spec). I see I can set this via
BOOTLOADER_DFU_USB_VID
andBOOTLOADER_DFU_USB_PID
in the Makefile. From what I can tell, this is ignored in the flashing process, but I wanted to ask if anyone is aware of any problems that might arise if I change these? Are these used anywhere?Beta Was this translation helpful? Give feedback.
All reactions