Can a custom VID/PID be embedded in a PSoC device to overwrite the default values

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaNe_3729541
Level 1
Level 1
Welcome!

When the device is powered up (PSoC 5 in this case) windows adds it to the device list in device manager. The vendor id and product id is the default.

Once the custom driver for the device is loaded, which includes the .inf file, it is then reported in device manager with the custom VID/PID.

Is there a way to embed the a custom VID/PID in the device so that it always shows the custom VID/PID without having to install the driver/inf file first?

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello,

The VID and PID for a device are actually are a part of device descriptor (embedded in the device). The driver does not set the VID and PID for a device.The PID and VID associated with a manufacturer and product is used to help link the hardware with a specific driver.

When a device is attached to a host the following enumeration sequence takes place:

pastedImage_1.png

Thus, if we change the VID and PID in the USB component configuration dialog box and then program the PSoC device, the new VID and PID would be reflected in the device manager whenever you connect the device to any Host PC However, for this device to work properly you need to make changes (add custom VID and PID) in the INF file associated with the device or use a custom driver for the device.

Can you please provide more details about your application?

Please feel free to update in case of any queries.

Best Regards

Ekta

View solution in original post

0 Likes
1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello,

The VID and PID for a device are actually are a part of device descriptor (embedded in the device). The driver does not set the VID and PID for a device.The PID and VID associated with a manufacturer and product is used to help link the hardware with a specific driver.

When a device is attached to a host the following enumeration sequence takes place:

pastedImage_1.png

Thus, if we change the VID and PID in the USB component configuration dialog box and then program the PSoC device, the new VID and PID would be reflected in the device manager whenever you connect the device to any Host PC However, for this device to work properly you need to make changes (add custom VID and PID) in the INF file associated with the device or use a custom driver for the device.

Can you please provide more details about your application?

Please feel free to update in case of any queries.

Best Regards

Ekta

0 Likes