Cannot install Freescale CDC driver using fsl_ucwxp.inf

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cannot install Freescale CDC driver using fsl_ucwxp.inf

2,033 次查看
isaotakashima
Contributor IV

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

标签 (1)
标记 (3)
0 项奖励
3 回复数

1,003 次查看
richardsabourin
Contributor II

Yes, you need to change either the descriptor file or the .inf file so the VID and PID match.

0 项奖励

1,003 次查看
isaotakashima
Contributor IV

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


0 项奖励

1,003 次查看
mircopizzichini
Contributor III

Hi Isao, I've the same problem. Did you solve it?

0 项奖励