- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
ispn:39618:1:0
-
l1:314:1:0
-
PSoC5LP
- Tags:
- hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My latest try at changing the VID and PID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wish this worked but it didn't. The vid value is: 04B4 and the pid value is: f139 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please share your project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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