Reply to a new post on the Read-Only thread, http://www.keil.com/forum/21035/
Ramesh goud > am working on IAR evalution board (LPC2148) for USB virtual com. The sample code from keil is not working in this board.
Did you really try it? I believe the CDC example (Keil\ARM\Boards\Keil\MCB2140\RL\USB\Device\CDC\) works on the IAR board without any change.
Here is the schematics of both boards,
Keil MCB2140 http://www.keil.com/mcb2140/mcb2140-schematics.pdf
IAR LPC2148 Development board old.iar.com/.../LPC2148-board-schematic.pdf
To run the CDC example, - Both boards mount a 12MHz crystal - MCU VBUS pin (P0.23) connects to VBUS pin of the USB connector over resistors. - DB9 connector on UART1 (COM1 / RS232_1)
The difference is just USB_CONNECT (P0.31) pin. MCB2140 doesn't use USB_CONNECT, but IAR board requires it. The example code enables USB_CONNECT function in USBD_Init(), usbd_LPC214x.c.
In these observations, I believe the Keil CDC example works on the IAR board as it is.
Tsuneo