Enable USB Virtual Com Port with Beestack and KW24

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

Enable USB Virtual Com Port with Beestack and KW24

2,199件の閲覧回数
alejandrovelez
Contributor III

Good Afternoon:

I am trying to configure the virtual com port application with the Beestack and the KW24 Processor with no results.

I initialize these modules in the BeeAppInit.c file:

USB_Init();

  (void)CDC_ModuleInit();

and define the variable:

#ifndef gVirtualCOMPort_d

  #define gVirtualCOMPort_d    TRUE

#endif

in CDC_Interface.h file

then I try to send a string to the virtual com with the function:

bool_t CDC_Transmit(unsigned char const *pBuf, index_t bufLen, void (*pfCallBack)(unsigned char const *pBuf))

the application runs, but when I connect the device to the computer the system doesn't recognize it, and I get this error from device manager:

pastedImage_3.png

How could I solve this problem?

or there are an example with USB-CDC in BeeStack?

I'm working with BeeKit and IAR Embedded Workbench

Thanks!

ラベル(3)
0 件の賞賛
返信
4 返答(返信)

1,841件の閲覧回数
isaacavila
NXP Employee
NXP Employee

Hello Alejandro,

Has your issue been resolved?

Best Regards,

Isaac

0 件の賞賛
返信

1,841件の閲覧回数
alejandrovelez
Contributor III

Hi Isaac,

Yes, I solved it, it seems that the problem was my board,

thank you

BR.

0 件の賞賛
返信

1,841件の閲覧回数
fabricetocci
Contributor III

Hi Alejandro,

I had same problem and succeeded to resolve.

You need to install Windows driver for Freescale Kinetis product.

You can find the cdc.inf file enclosed in the followinf thread.

Kinetis USB CDC driver supported on Windows8, Windows10

in

Erich Styger  reply

Regards.

Fabrice.

0 件の賞賛
返信

1,841件の閲覧回数
alejandrovelez
Contributor III

Hi Fabrice

Thanks for the help, it seems that my board was the problem too, I change it and it works

BR

0 件の賞賛
返信