cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor II

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
Reply
1 Solution
Employee

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
Employee

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
Reply
New Contributor II

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
Reply
New Contributor II

My latest try at changing the VID and PID.

0 Likes
Reply
Employee

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
Reply
New Contributor II

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

0 Likes
Reply
Employee

Can you please share your project.

0 Likes
Reply
New Contributor II

See the attached file.

   

Randy

0 Likes
Reply
Employee

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
Reply
New Contributor II

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
Reply
Employee

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