SEARCH
TOOLBOX
LANGUAGES
modified on 11 April 2012 at 20:37 ••• 3,850 views

Lincoln usbdev cdc Example

From Manuals

Revision as of 20:37, 11 April 2012 by Support (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Compatibility Lincoln 60, Lincoln 60E

This example demonstrates how to use USB device port as a virtual COM port. It will create a USB to RS232 converter using COM1 on the Lincoln.

Please follow these steps to run the usbdev_cdc example:

  • 1. Compile the usbdev_cdc example.
  • 2. Program the Lincoln with the binary.
  • 3. Set JP2 to device.
  • 4. Press the "RESET" button.
  • 5. If the PC asks load the virtual COM ports driver. It is located in the \Examples\USBDEV\USBCDC\ folder.
  • 6. Connect COM1 to the PC serial port with a terminal program set to 115200 bps, 8 data bits, no parity, 1 stop bit, and no hardware flow control.
  • 7. Check the device manager to see what Windows assigned the "LPC174xx USB VCom Port" to and open a terminal with the settings of 115200 bps, 8 data bits, no parity, 1 stop bit, and no hardware flow control.
  • 8. What ever you type in one terminal will show in the other terminal.