We are making the new project for the K24, and this project need USB device CDC (Communication Device Class) function.
The KSDK 1.1.0 has USB device CDC example project. We can build this project and working correctly.
But we cannot install Freescale CDC driver using fsl_ucwxp.inf file.
Because fsl_ucwxp.inf file does not contain Product ID for this example project.
This example project set Product ID to 0x0300 as below at 116 - 119 lines in usb_descriptor.c file.
/* Vendor ID */
0xa2,0x15,
/* Product ID */
0x00,0x03,
But fsl_ucwxp.inf file has two device.
%DESCRIPTION%=DriverInstall, USB\VID_2504&PID_0300
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0800&MI_00
Therefore we need to modify Product ID in code or .inf file to install Freescale CDC driver.
We hope fix this issue next release.
Best regards,
Takashima
Yes, you need to change either the descriptor file or the .inf file so the VID and PID match.
I have two solutions.
1. Use the attached .inf
The FRDM-KL43Z-SC-BAREMETAL include this file. Of course, you can solve this issue if add below line into the current .inf file.
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0300
2. Modify the Product ID
We can solve this issue if modify the Product ID as below in usb_descriptor.c.
/* Product ID */
0x00,0x08,
Best regards,
Takashima
Hi Isao, I've the same problem. Did you solve it?