Cannot install Freescale CDC driver using fsl_ucwxp.inf

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot install Freescale CDC driver using fsl_ucwxp.inf

3,135件の閲覧回数
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 返答(返信)

2,105件の閲覧回数
richardsabourin
Contributor II

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

0 件の賞賛
返信

2,105件の閲覧回数
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 件の賞賛
返信

2,105件の閲覧回数
mircopizzichini
Contributor III

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

0 件の賞賛
返信