Using On-Chip USB Driver for Communications via virtual COM Port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using On-Chip USB Driver for Communications via virtual COM Port

898 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sakphul on Sat May 14 09:01:50 MST 2011
Hello
is it possible to use the On Chip USB Driver within the ROM for Communication via a Virtual COM Port?
I have seen the usbcdc example using a self written usb Driver which consumes about 6kB of Flash.
I would like to use the on-Chip USB Driver instead of this self written one. But within the Users manual of the LPC1343 it says that the On-Chip Driver only supports HID and MSC.

So is it possible to run a communications connection with the On-Chip Driver just by changing the USB Device Descriptor?
0 Kudos
Reply
2 Replies

882 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sakphul on Sat May 14 09:46:14 MST 2011
Ok, then another Question:
For Debugging Purposes i would like print some Test strings via USB.

Is there any tool out there where i can log/see the data transmitted by a HID Device? Like a terminal programm for RS232? Or do i have to write my own Programm for that?
0 Kudos
Reply

882 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ktownsend on Sat May 14 09:42:32 MST 2011

Quote: Sakphul
Hello
is it possible to use the On Chip USB Driver within the ROM for Communication via a Virtual COM Port?
I have seen the usbcdc example using a self written usb Driver which consumes about 6kB of Flash.
I would like to use the on-Chip USB Driver instead of this self written one. But within the Users manual of the LPC1343 it says that the On-Chip Driver only supports HID and MSC.

So is it possible to run a communications connection with the On-Chip Driver just by changing the USB Device Descriptor?



Generally, the UM doesn't (intentionally) lie. :)  You can only use the on-chip drivers for HID and MSC.  If you want CDC, etc., you'll have to roll your own.
0 Kudos
Reply