Updating the VID and PID.

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

cross mob
rasec_2385561
Level 4
Level 4
First like received

Previously I had been working on the composite device in AN58726. I
got it to build and download ok. The issue that I found was that if
I changed the Vid or Pid, rebuilt, and reprogrammed the board; when
testing with other test tools the Vid and Pid were not updated. So
is there another step that I might have missed to change the Vid
and Pid ?

   

If I change the Vid and Pid in the KitProg.inf file is this enough
to update the information ?

   

Randy Seedle

   

I have a CY8CKIT-059 PSOC 5LP board.

0 Likes
1 Solution

I updated the main with these statements

CyGlobalIntEnable; /* Uncomment this line to enable global interrupts. */

    USBFS_1_Start(0, USBFS_1_5V_OPERATION);
I am able to change the PID in the project attached

View solution in original post

10 Replies
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

VID and PID could be changed in component configuration, after updating the VID and PID there, uninstall the driver from the Device manager and then reinstall the driver.

0 Likes

I think I did all that and it didn't change anything.

   

1. I changed the VID and PID in the PSOC Creater 4.1

   

2. I did a clean build in the PSOC Creater 4.1 and programmed the board successfully.

   

3. I uninstalled the device driver in Device Manager.

   

4. I unplugged the board and windows looks for the driver on the update website but does not find it. So I install from the

   

C:\Program Files (x86)\Cypress\Programmer\drivers\KitProg directory which was previously installed.

   

I suppose the last step might be questionable. But why doesn't the Windows update website find the device driver for the board ?

0 Likes
rasec_2385561
Level 4
Level 4
First like received

My latest try at changing the VID and PID.

0 Likes
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

You need not to uninstall and reinstall the Kitprog .You need to do the first two steps as you did already, then uninstall the USB Composite device from the Device manager and then plug in the device at the USB port.

0 Likes
rasec_2385561
Level 4
Level 4
First like received

I wish this worked but it didn't. The vid value is: 04B4 and the pid value is: f139 .

0 Likes
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Can you please share your project.

0 Likes
lock attach
Attachments are accessible only for community members.
rasec_2385561
Level 4
Level 4
First like received

See the attached file.

   

Randy

0 Likes

Please use this API for "void USBFS_Start(uint8 device, uint8 mode)" in main .c as this function performs all required initialization for the USBFS component. After this function call, the USB device initiates communication with the host by pull-up D+ line. This is the preferred method to begin component operation.

0 Likes
rasec_2385561
Level 4
Level 4
First like received

I assume that you mean something like this.

USBFS_1_Start(0, USBFS_1_5V_OPERATION);

Unfortunetely it didn't make any difference in changing the PID value.

0 Likes

I updated the main with these statements

CyGlobalIntEnable; /* Uncomment this line to enable global interrupts. */

    USBFS_1_Start(0, USBFS_1_5V_OPERATION);
I am able to change the PID in the project attached