1 Reply Latest reply on Nov 12, 2019 12:58 AM by EktaN_26

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

    DaNe_3729541

      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?

        • 1. Re: Can a custom VID/PID be embedded in a PSoC device to overwrite the default values
          EktaN_26

          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:

          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