1 |
The Virtual COM port project is a demo program for CP-JR ARM7 LPC2368 Board |
---|
2 |
using the Philips LPC2368 Microcontroller. |
---|
3 |
|
---|
4 |
It demonstrates an USB Virtual COM port based on a Windows USB host |
---|
5 |
driver (usbser.sys). |
---|
6 |
|
---|
7 |
The PC will install a virtual COM port on the PC (see Driver Installation). |
---|
8 |
After installation an additional port "LPC2368 USB VCom Port(COMx)" |
---|
9 |
can be found under System/Hardware/Device Manager/Ports(COM&LPT). |
---|
10 |
Number "x" is not fixed as different PC configuration may have different |
---|
11 |
"x" displayed on the device manager. The USB host driver assigns "x" |
---|
12 |
dynamically based on the existing COM port configuration of the system. |
---|
13 |
|
---|
14 |
Testing the USB Virtual COM port with serial cable: |
---|
15 |
|
---|
16 |
Open two Hyperterminal windows. |
---|
17 |
One with "LPC2368 USB VCom Port(COMx)" |
---|
18 |
One with "Communications Port (UART-0)". |
---|
19 |
Connect PC port COM1 to LPC2368 UART-0 and open "COM1" and "COMx". |
---|
20 |
Data from UART-0 will be echoed on "COMx" and visa versa. |
---|
21 |
So, this is bi-directional communication between the physical UART-0 |
---|
22 |
on LPC2368 and the virtual COM port COMx on host PC. |
---|
23 |
|
---|
24 |
The Virtual COM Port program is available for the following targets: |
---|
25 |
LPC2368: configured for on-chip Flash ROM |
---|
26 |
(used for production or target debugging) |
---|
27 |
|
---|
28 |
Note: set jumper J11 to [12]3 (jumper towards JTAG connector) |
---|
29 |
for USB soft connect |
---|
30 |
|
---|
31 |
|
---|
32 |
Driver Installation: |
---|
33 |
-------------------- |
---|
34 |
"Welcome to the Found New Hardware Wizard" appears |
---|
35 |
- select 'No, not this time' |
---|
36 |
- press 'Next' |
---|
37 |
|
---|
38 |
- select 'Install from a list or specific location (Advanced)' |
---|
39 |
- press 'Next' |
---|
40 |
|
---|
41 |
- select 'Search for the best driver in these locations' |
---|
42 |
- check 'include this location in the serach' |
---|
43 |
- set to <project folder> |
---|
44 |
- press 'Next' |
---|
45 |
|
---|
46 |
|
---|
47 |
"Hardware Installation" appears |
---|
48 |
"has not passed Windows Logo testing..." |
---|
49 |
- press 'Continue Anyway' |
---|
50 |
|
---|
51 |
"Completing the Found New Hardware Wizard" appears |
---|
52 |
- press 'Finish' |
---|