37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
|
usbcdc
|
||
|
=====================
|
||
|
This project contains an CDC USB example for the LPCXpresso board
|
||
|
mounted with an LPC1343 Cortex-M3 part.
|
||
|
|
||
|
To run this example, you must attach a USB cable to the board. See
|
||
|
the "Getting Started Guide" appendix for details. You may also
|
||
|
connect the LPCXpresso board to a base board from a 3rd party tool
|
||
|
partner.
|
||
|
|
||
|
When downloaded to the board and executed, the PC will recognize
|
||
|
a USB "VCOM" device. Point windows to the .inf file in the usbcdc
|
||
|
project directory. Windows should install the default UART driver.
|
||
|
At this point, you should be able to send characters into the USB
|
||
|
virtual COM port and have them transmitted out of the serial port
|
||
|
on the LPC1343. The transmit baud rate will equal the CDC port
|
||
|
configured baud rate.
|
||
|
|
||
|
One thing we have seen that can cause trouble with the USB examples
|
||
|
is the Windows driver install. Since the example projects all use
|
||
|
the same USB Vendor ID and Product ID, if you try out the HID
|
||
|
example and then try out the CDC example, Windows may try
|
||
|
to use the HID driver it had already installed with the CDC
|
||
|
example code. To fix this, go to the Windows Device Manager,
|
||
|
find the broken "HID" device and select "Uninstall." Then unplug the
|
||
|
device and plug it back in. Windows should correctly identify the
|
||
|
device as being a CDC device and install the correct
|
||
|
driver.
|
||
|
|
||
|
The project makes use of code from the following library projects:
|
||
|
- CMSISv1p30_LPC13xx : for CMSIS 1.30 files relevant to LPC13xx
|
||
|
|
||
|
This library project must exist in the same workspace in order
|
||
|
for the project to successfully build.
|
||
|
|
||
|
For more details, read the comments in config.h
|