You are here

USB Module - Vendor ID and Product ID

You have to specify valid Vendor ID and Product ID. Vendor ID can not be chosen arbitrarily. To obtain valid Vendor ID contact the USB Implementers Forum. Product ID is assigned by the equipment manufacturer in accordance with its own policies. All necessary information about Vendor ID and Product ID assignment can be found at the USB Implementers Forum.

USB Vendor ID and Product ID are specified inside the USB device descriptor. All bootloader descriptors are defined inside the usb_desc.asm file. This file uses macros from the usb_desc.inc file. You have to modify these macros.

To specify USB Vendor ID and Product ID, modify BOOTLOADER_VID and BOOTLOADER_PID macros. These macros are defined in usb_desc.inc file as shown below:

#define BOOTLOADER_VID 0x1234
#define BOOTLOADER_PID 0x5678

These macros values should correspond to real USB Vendor ID and Product ID.