Enable USB Virtual Com Port with Beestack and KW24

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

Enable USB Virtual Com Port with Beestack and KW24

1,729 次查看
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!

0 项奖励
回复
4 回复数

1,371 次查看
isaacavila
NXP Employee
NXP Employee

Hello Alejandro,

Has your issue been resolved?

Best Regards,

Isaac

0 项奖励
回复

1,371 次查看
alejandrovelez
Contributor III

Hi Isaac,

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

thank you

BR.

0 项奖励
回复

1,371 次查看
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,371 次查看
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 项奖励
回复