Hello friends,
I am trying to implement USB virtual comm on lpc2148 board
I am referring AN801 USB Virtual comport.zip code
which has following files
Demo.c - main entry of the sample software Demo.h - definitions and include file for the main entry Startup.s - boot-up file Type.h - various type definition Usb.h - USB descriptor data structures and class definitions Usbcfg.h - USB configuration header file Usbcore.c - USB standard class request, USB command processor Usbcore.h - definition and include file for usbcore.c Usbdesc.c - USB descriptor configuration Usbdesc.h - definition and include file for usbdesc.c Usbhw.c - USB hardware initialization and lower-level driver APIs Usbhw.h - prototyping for usbhw.c Usbreg.h - hardware USB block register definitions for LPC214x Vcomuser.c - Virtual COM port configuration and physical COM port APIs Vcomuser.h - endpoint event definition and include files for vcomuser.c Virtualcom.prj - Keil uVision III project file
I am stuck in demo.c if ( Data2Host0 || Data2Host1 ) to find out the problem i put few print statements in some functions when i connect my device to usb the pc is not giving any warning like usb detected... please help me....