Usb cdc

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

Usb cdc

951 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by maxlobovsky on Wed May 26 15:45:42 MST 2010
Does anyone have any example code that uses USB CDC to enable a virtual com port to the microcontroller itself, and not to its UART.  It is convenient to use a virtual serial port to talk to the microcontroller.  I know I can work from the example USB CDC code to do this, but I wanted to check if someone had done it first.

Thanks,
Max

Original Attachment has been moved to: 1100420_LPCXpresso.zip

0 项奖励
回复
3 回复数

901 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by domen on Thu Jun 03 10:08:16 MST 2010
tried making USB_Configuration volatile?
0 项奖励
回复

901 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by maxlobovsky on Thu Jun 03 09:35:49 MST 2010
I've had intermittent problems with that same line, but only in the CDC demo, I believe.  Currently, I have it commented out, and just make sure that no code that might use the USB connection runs before I physically connect  USB.
0 项奖励
回复

901 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Lean966 on Mon May 31 12:47:23 MST 2010
Max, I trying to use cdc too. But I have problems with "while (!USB_Configuration)", I think that I have something with my hardware because all the LPCXpresso examples didn't work.
I connected the USB_VBUS to USB 5V, I don't you that I must you with USB_Connect...
If you could help me, I will thank you.
0 项奖励
回复