########################################################################
#
#                           VirtualCom.eww
#
#
########################################################################

DESCRIPTION
===========
 This example project should be used only with IAR Embedded Workbench for ARM

 It implements USB CDC (Communication Device Class) device and install
 it like a Virtual COM port. The UART0 is used for physical implementation
 of the RS232 port.


COMPATIBILITY
=============

   The example project is compatible with Olimex LPC-P2378
   evaluation board. By default, the project is configured to use the
  J-Link JTAG interface.

CONFIGURATION
=============

   After power-up the controller get clock from internal RC oscillator that
  is unstable and may fail with J-Link auto detect, therefore adaptive clocking
  should always be used. The adaptive clock can be select from menu:
  Project->Options..., section Debugger->J-Link/J-Trace  JTAG Speed - Adaptive.

   Make sure that the following jumpers are correctly configured
   
  PWR_SEL     - depending of power source
  USBC/USBSC  - USBSC
  RST_E       - unfilled
  ISP_E       - unfilled


GETTING STARTED
===============

  1) Start the IAR Embedded Workbench for ARM.

  2) Select File->Open->Workspace...
     Open VirtualCom.ew workspace:

  3) Connect a serial cable between a Host COM port and Olimex LPC-P2378
     RS232_0 connector and start a terminal emulator program on the Host.
     Configure the PC COM port are same like sittings of the Virual COM port.

  4) Run the program.

  5) The first time the device is connected to the computer, Windows will
     load the driver for identified device. The Virtual COM port driver is
     in the $PROJ_DIR$\VirCOM Driver XP\.

