Reply by hjiongh November 3, 20082008-11-03
HelloAshwin

Now i using is download from www.nxp.com , named "an10420",i have
asked NXP supported who wrote this application. He said the Host
Driver is not steady. And many clients have met this issue also. NXP
still not have a solution to this. He said third party maybe have the
steady edition.

So...... I can not to ask for third party, if there is any problem,
they have no responsibility to help me , so there is a risk of using
produce of third party, do you agree with me?

Regards
Vincent
--- In l..., "Ashwin" wrote:
>
> Hi Vincent,
>
> I have never encountered this issue. Did you try the USBIO demo
application?
>
> Warm regards
> Ashwin
> Founder, NGX Technologies Pvt. Ltd.
> Bangalore- India
> Off : +91-80-23103205
> Fax: +91-80-23103206
> Cell: +91-9886235342
> U.S. Number : +1-408-854-8161
> ----- Original Message -----
> From: hjiongh
> To: l...
> Sent: Monday, November 03, 2008 11:25 AM
> Subject: [SPAM][lpc2000] Re: help --- if LPC 214x USB VirtualCom
will take up UART resource
>
>
> hi, Ashwin
>
> I met a issue of stability in LPC VirtualCom.
> For example: i open HyperTerminal and send "1" to device to light
> LED. It's ok. Then i send "1" continuous every 5ms. On board i
set
> EP1 interval = 1ms . After several seconds , HyperTerminal
stopped
> working and PC die. I have to restart my computer. I had tried
> several times ,but the issue still occured.
>
> I asked for NXP support , he told me that the VirtualCom Host
Driver
> has some mistakes. He said other clients who use this also have
met
> this issue. It caused VirtualCom Host Driver . It seems that he
> still have no effective solution .
>
> I want to know if you have met this issue before? And if almost
> users of using this function in NXP LPC MCU met this issue? If
there
> is a effective solution to solve it? Or there is a whole correct
> VirtualCom Host Driver ?
>
> Thanks!
>
> Regards
> Vincent
>
> --- In l..., "Ashwin" wrote:
> >
> > Hi Vincent,
> >
> > Unfortunately I dont seem to have the older version. If I find
it I
> shall let you know.
> >
> > Warm regards
> > Ashwin
> > Founder, NGX Technologies Pvt. Ltd.
> > Bangalore- India
> > Off : +91-80-23103205
> > Fax: +91-80-23103206
> > Cell: +91-9886235342
> > U.S. Number : +1-408-854-8161
> >
> > ----- Original Message -----
> > From: hjiongh
> > To: l...
> > Sent: Friday, October 31, 2008 12:56 PM
> > Subject: [SPAM]Re:[lpc2000] help --- if LPC 214x USB VirtualCom
> will take up UART resource
> >
> >
> > hello, Ashwin
> >
> > Thanks for your information. I asked for NXP this issue who is
> > author of this example application . He told me that the
example
> from
> > NXP.com i downloaded is a newer example. And its function add
> > internal loop function by UART, so if i want to test VirtualCom
> > function only use USB , not anything other , i must use an
older
> > example from Keil.com . So now i'm waiting for his mail
attached
> > example i need .
> >
> > By the way , do you have the older example of VirtualCom from
> > Keil,not from NXP ?
> >
> > Thanks!
> >
> > with best regards
> > vincent
> >
> > --- In l..., "Ashwin" wrote:
> > >
> > > Hi Vincent,
> > >
> > > USB Virtual Com does not eat up any of the UART resource.
Thats
> why
> > it is called a 'Virtual Com'.
> > >
> > > About your other question regarding setting of the UART
> parameters,
> > you need not reflect those changes onto UART0, it actually
> doesn't
> > make sense to do so. In most application the baud rate and
other
> > settings are virtual.
> > >
> > > Hope this clears you doubt.
> > >
> > > Warm regards
> > > Ashwin
> > > Founder, NGX Technologies Pvt. Ltd.
> > > Bangalore- India
> > > Off : +91-80-23103205
> > > Fax: +91-80-23103206
> > > Cell: +91-9886235342
> > > U.S. Number : +1-408-854-8161
> > >
> > > ----- Original Message -----
> > > From: hjiongh
> > > To: l...
> > > Sent: Friday, October 31, 2008 7:18 AM
> > > Subject: [SPAM][lpc2000] help --- if LPC 214x USB VirtualCom
> will
> > take up UART resource
> > >
> > >
> > > hi,
> > >
> > > Now i use LPC2478 USB VirtualCom, and it is same to LPC214x
USB
> > > VirtualCom . So I downloaded example application of LPC214x
USB
> > > VirtualCom , and i changed it from Keil to IAR and tested
> > successfully.
> > > But now i have a question: if USB VirtualCom function will
take
> > up UART
> > > resource?
> > >
> > > Because when i connect PC and board by USB line, PC use hyper-
> > terminal
> > > Windows and send data to board USB. Board USB will receive
> ASCII
> > data
> > > and be shown on the LEDs on borad. When i press button on
> board ,
> > the
> > > message "Button has been pressed" will be shown on hyper-
> terminal
> > > Windows. So its communication is well,only use USB line to
> > > communicate.
> > >
> > > But when i open the hyper-terminal Windows, its configuration
> > will send
> > > to board USB as a descriptor. Then USB interrupt will receive
> the
> > > descriptor and config baud rate using uart0 registers. (UART0
> > function
> > > is disable.) So i doubt if VirtualCom must take up UART
> resource ?
> > >
> > > Please help me , Thanks. Because my UART resources are
scarce .
> > >
> > > with best regards
> > > Vincent
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>

An Engineer's Guide to the LPC2100 Series

Reply by Ashwin November 3, 20082008-11-03
Hi Vincent,

I have never encountered this issue. Did you try the USBIO demo application?

Warm regards
Ashwin
Founder, NGX Technologies Pvt. Ltd.
Bangalore- India
Off : +91-80-23103205
Fax: +91-80-23103206
Cell: +91-9886235342
U.S. Number : +1-408-854-8161
----- Original Message -----
From: hjiongh
To: l...
Sent: Monday, November 03, 2008 11:25 AM
Subject: [SPAM][lpc2000] Re: help --- if LPC 214x USB VirtualCom will take up UART resource
hi, Ashwin

I met a issue of stability in LPC VirtualCom.
For example: i open HyperTerminal and send "1" to device to light
LED. It's ok. Then i send "1" continuous every 5ms. On board i set
EP1 interval = 1ms . After several seconds , HyperTerminal stopped
working and PC die. I have to restart my computer. I had tried
several times ,but the issue still occured.

I asked for NXP support , he told me that the VirtualCom Host Driver
has some mistakes. He said other clients who use this also have met
this issue. It caused VirtualCom Host Driver . It seems that he
still have no effective solution .

I want to know if you have met this issue before? And if almost
users of using this function in NXP LPC MCU met this issue? If there
is a effective solution to solve it? Or there is a whole correct
VirtualCom Host Driver ?

Thanks!

Regards
Vincent

--- In l..., "Ashwin" wrote:
>
> Hi Vincent,
>
> Unfortunately I dont seem to have the older version. If I find it I
shall let you know.
>
> Warm regards
> Ashwin
> Founder, NGX Technologies Pvt. Ltd.
> Bangalore- India
> Off : +91-80-23103205
> Fax: +91-80-23103206
> Cell: +91-9886235342
> U.S. Number : +1-408-854-8161
>
> ----- Original Message -----
> From: hjiongh
> To: l...
> Sent: Friday, October 31, 2008 12:56 PM
> Subject: [SPAM]Re:[lpc2000] help --- if LPC 214x USB VirtualCom
will take up UART resource
>
>
> hello, Ashwin
>
> Thanks for your information. I asked for NXP this issue who is
> author of this example application . He told me that the example
from
> NXP.com i downloaded is a newer example. And its function add
> internal loop function by UART, so if i want to test VirtualCom
> function only use USB , not anything other , i must use an older
> example from Keil.com . So now i'm waiting for his mail attached
> example i need .
>
> By the way , do you have the older example of VirtualCom from
> Keil,not from NXP ?
>
> Thanks!
>
> with best regards
> vincent
>
> --- In l..., "Ashwin" wrote:
> >
> > Hi Vincent,
> >
> > USB Virtual Com does not eat up any of the UART resource. Thats
why
> it is called a 'Virtual Com'.
> >
> > About your other question regarding setting of the UART
parameters,
> you need not reflect those changes onto UART0, it actually
doesn't
> make sense to do so. In most application the baud rate and other
> settings are virtual.
> >
> > Hope this clears you doubt.
> >
> > Warm regards
> > Ashwin
> > Founder, NGX Technologies Pvt. Ltd.
> > Bangalore- India
> > Off : +91-80-23103205
> > Fax: +91-80-23103206
> > Cell: +91-9886235342
> > U.S. Number : +1-408-854-8161
> >
> > ----- Original Message -----
> > From: hjiongh
> > To: l...
> > Sent: Friday, October 31, 2008 7:18 AM
> > Subject: [SPAM][lpc2000] help --- if LPC 214x USB VirtualCom
will
> take up UART resource
> >
> >
> > hi,
> >
> > Now i use LPC2478 USB VirtualCom, and it is same to LPC214x USB
> > VirtualCom . So I downloaded example application of LPC214x USB
> > VirtualCom , and i changed it from Keil to IAR and tested
> successfully.
> > But now i have a question: if USB VirtualCom function will take
> up UART
> > resource?
> >
> > Because when i connect PC and board by USB line, PC use hyper-
> terminal
> > Windows and send data to board USB. Board USB will receive
ASCII
> data
> > and be shown on the LEDs on borad. When i press button on
board ,
> the
> > message "Button has been pressed" will be shown on hyper-
terminal
> > Windows. So its communication is well,only use USB line to
> > communicate.
> >
> > But when i open the hyper-terminal Windows, its configuration
> will send
> > to board USB as a descriptor. Then USB interrupt will receive
the
> > descriptor and config baud rate using uart0 registers. (UART0
> function
> > is disable.) So i doubt if VirtualCom must take up UART
resource ?
> >
> > Please help me , Thanks. Because my UART resources are scarce .
> >
> > with best regards
> > Vincent
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>


Reply by hjiongh November 3, 20082008-11-03
hi, Ashwin

I met a issue of stability in LPC VirtualCom.
For example: i open HyperTerminal and send "1" to device to light
LED. It's ok. Then i send "1" continuous every 5ms. On board i set
EP1 interval = 1ms . After several seconds , HyperTerminal stopped
working and PC die. I have to restart my computer. I had tried
several times ,but the issue still occured.

I asked for NXP support , he told me that the VirtualCom Host Driver
has some mistakes. He said other clients who use this also have met
this issue. It caused VirtualCom Host Driver . It seems that he
still have no effective solution .

I want to know if you have met this issue before? And if almost
users of using this function in NXP LPC MCU met this issue? If there
is a effective solution to solve it? Or there is a whole correct
VirtualCom Host Driver ?

Thanks!

Regards
Vincent

--- In l..., "Ashwin" wrote:
>
> Hi Vincent,
>
> Unfortunately I dont seem to have the older version. If I find it I
shall let you know.
>
> Warm regards
> Ashwin
> Founder, NGX Technologies Pvt. Ltd.
> Bangalore- India
> Off : +91-80-23103205
> Fax: +91-80-23103206
> Cell: +91-9886235342
> U.S. Number : +1-408-854-8161
>
> ----- Original Message -----
> From: hjiongh
> To: l...
> Sent: Friday, October 31, 2008 12:56 PM
> Subject: [SPAM]Re:[lpc2000] help --- if LPC 214x USB VirtualCom
will take up UART resource
> hello, Ashwin
>
> Thanks for your information. I asked for NXP this issue who is
> author of this example application . He told me that the example
from
> NXP.com i downloaded is a newer example. And its function add
> internal loop function by UART, so if i want to test VirtualCom
> function only use USB , not anything other , i must use an older
> example from Keil.com . So now i'm waiting for his mail attached
> example i need .
>
> By the way , do you have the older example of VirtualCom from
> Keil,not from NXP ?
>
> Thanks!
>
> with best regards
> vincent
>
> --- In l..., "Ashwin" wrote:
> >
> > Hi Vincent,
> >
> > USB Virtual Com does not eat up any of the UART resource. Thats
why
> it is called a 'Virtual Com'.
> >
> > About your other question regarding setting of the UART
parameters,
> you need not reflect those changes onto UART0, it actually
doesn't
> make sense to do so. In most application the baud rate and other
> settings are virtual.
> >
> > Hope this clears you doubt.
> >
> > Warm regards
> > Ashwin
> > Founder, NGX Technologies Pvt. Ltd.
> > Bangalore- India
> > Off : +91-80-23103205
> > Fax: +91-80-23103206
> > Cell: +91-9886235342
> > U.S. Number : +1-408-854-8161
> >
> > ----- Original Message -----
> > From: hjiongh
> > To: l...
> > Sent: Friday, October 31, 2008 7:18 AM
> > Subject: [SPAM][lpc2000] help --- if LPC 214x USB VirtualCom
will
> take up UART resource
> >
> >
> > hi,
> >
> > Now i use LPC2478 USB VirtualCom, and it is same to LPC214x USB
> > VirtualCom . So I downloaded example application of LPC214x USB
> > VirtualCom , and i changed it from Keil to IAR and tested
> successfully.
> > But now i have a question: if USB VirtualCom function will take
> up UART
> > resource?
> >
> > Because when i connect PC and board by USB line, PC use hyper-
> terminal
> > Windows and send data to board USB. Board USB will receive
ASCII
> data
> > and be shown on the LEDs on borad. When i press button on
board ,
> the
> > message "Button has been pressed" will be shown on hyper-
terminal
> > Windows. So its communication is well,only use USB line to
> > communicate.
> >
> > But when i open the hyper-terminal Windows, its configuration
> will send
> > to board USB as a descriptor. Then USB interrupt will receive
the
> > descriptor and config baud rate using uart0 registers. (UART0
> function
> > is disable.) So i doubt if VirtualCom must take up UART
resource ?
> >
> > Please help me , Thanks. Because my UART resources are scarce .
> >
> > with best regards
> > Vincent
> >
> >
> >
> >
> >
> >
> >
>
>
>

Reply by hjiongh October 31, 20082008-10-31
Hello, Ashwin

Ok, thanks a lot .

Best Regards
Vincent

--- In l..., "Ashwin" wrote:
>
> Hi Vincent,
>
> Unfortunately I dont seem to have the older version. If I find it I
shall let you know.
>
> Warm regards
> Ashwin
> Founder, NGX Technologies Pvt. Ltd.
> Bangalore- India
> Off : +91-80-23103205
> Fax: +91-80-23103206
> Cell: +91-9886235342
> U.S. Number : +1-408-854-8161
>
> ----- Original Message -----
> From: hjiongh
> To: l...
> Sent: Friday, October 31, 2008 12:56 PM
> Subject: [SPAM]Re:[lpc2000] help --- if LPC 214x USB VirtualCom
will take up UART resource
> hello, Ashwin
>
> Thanks for your information. I asked for NXP this issue who is
> author of this example application . He told me that the example
from
> NXP.com i downloaded is a newer example. And its function add
> internal loop function by UART, so if i want to test VirtualCom
> function only use USB , not anything other , i must use an older
> example from Keil.com . So now i'm waiting for his mail attached
> example i need .
>
> By the way , do you have the older example of VirtualCom from
> Keil,not from NXP ?
>
> Thanks!
>
> with best regards
> vincent
>
> --- In l..., "Ashwin" wrote:
> >
> > Hi Vincent,
> >
> > USB Virtual Com does not eat up any of the UART resource. Thats
why
> it is called a 'Virtual Com'.
> >
> > About your other question regarding setting of the UART
parameters,
> you need not reflect those changes onto UART0, it actually
doesn't
> make sense to do so. In most application the baud rate and other
> settings are virtual.
> >
> > Hope this clears you doubt.
> >
> > Warm regards
> > Ashwin
> > Founder, NGX Technologies Pvt. Ltd.
> > Bangalore- India
> > Off : +91-80-23103205
> > Fax: +91-80-23103206
> > Cell: +91-9886235342
> > U.S. Number : +1-408-854-8161
> >
> > ----- Original Message -----
> > From: hjiongh
> > To: l...
> > Sent: Friday, October 31, 2008 7:18 AM
> > Subject: [SPAM][lpc2000] help --- if LPC 214x USB VirtualCom
will
> take up UART resource
> >
> >
> > hi,
> >
> > Now i use LPC2478 USB VirtualCom, and it is same to LPC214x USB
> > VirtualCom . So I downloaded example application of LPC214x USB
> > VirtualCom , and i changed it from Keil to IAR and tested
> successfully.
> > But now i have a question: if USB VirtualCom function will take
> up UART
> > resource?
> >
> > Because when i connect PC and board by USB line, PC use hyper-
> terminal
> > Windows and send data to board USB. Board USB will receive
ASCII
> data
> > and be shown on the LEDs on borad. When i press button on
board ,
> the
> > message "Button has been pressed" will be shown on hyper-
terminal
> > Windows. So its communication is well,only use USB line to
> > communicate.
> >
> > But when i open the hyper-terminal Windows, its configuration
> will send
> > to board USB as a descriptor. Then USB interrupt will receive
the
> > descriptor and config baud rate using uart0 registers. (UART0
> function
> > is disable.) So i doubt if VirtualCom must take up UART
resource ?
> >
> > Please help me , Thanks. Because my UART resources are scarce .
> >
> > with best regards
> > Vincent
> >
> >
> >
> >
> >
> >
> >
>
>
>

Reply by Ashwin October 31, 20082008-10-31
Hi Vincent,

Unfortunately I dont seem to have the older version. If I find it I shall let you know.

Warm regards
Ashwin
Founder, NGX Technologies Pvt. Ltd.
Bangalore- India
Off : +91-80-23103205
Fax: +91-80-23103206
Cell: +91-9886235342
U.S. Number : +1-408-854-8161

----- Original Message -----
From: hjiongh
To: l...
Sent: Friday, October 31, 2008 12:56 PM
Subject: [SPAM]Re:[lpc2000] help --- if LPC 214x USB VirtualCom will take up UART resource
hello, Ashwin

Thanks for your information. I asked for NXP this issue who is
author of this example application . He told me that the example from
NXP.com i downloaded is a newer example. And its function add
internal loop function by UART, so if i want to test VirtualCom
function only use USB , not anything other , i must use an older
example from Keil.com . So now i'm waiting for his mail attached
example i need .

By the way , do you have the older example of VirtualCom from
Keil,not from NXP ?

Thanks!

with best regards
vincent

--- In l..., "Ashwin" wrote:
>
> Hi Vincent,
>
> USB Virtual Com does not eat up any of the UART resource. Thats why
it is called a 'Virtual Com'.
>
> About your other question regarding setting of the UART parameters,
you need not reflect those changes onto UART0, it actually doesn't
make sense to do so. In most application the baud rate and other
settings are virtual.
>
> Hope this clears you doubt.
>
> Warm regards
> Ashwin
> Founder, NGX Technologies Pvt. Ltd.
> Bangalore- India
> Off : +91-80-23103205
> Fax: +91-80-23103206
> Cell: +91-9886235342
> U.S. Number : +1-408-854-8161
>
> ----- Original Message -----
> From: hjiongh
> To: l...
> Sent: Friday, October 31, 2008 7:18 AM
> Subject: [SPAM][lpc2000] help --- if LPC 214x USB VirtualCom will
take up UART resource
>
>
> hi,
>
> Now i use LPC2478 USB VirtualCom, and it is same to LPC214x USB
> VirtualCom . So I downloaded example application of LPC214x USB
> VirtualCom , and i changed it from Keil to IAR and tested
successfully.
> But now i have a question: if USB VirtualCom function will take
up UART
> resource?
>
> Because when i connect PC and board by USB line, PC use hyper-
terminal
> Windows and send data to board USB. Board USB will receive ASCII
data
> and be shown on the LEDs on borad. When i press button on board ,
the
> message "Button has been pressed" will be shown on hyper-terminal
> Windows. So its communication is well,only use USB line to
> communicate.
>
> But when i open the hyper-terminal Windows, its configuration
will send
> to board USB as a descriptor. Then USB interrupt will receive the
> descriptor and config baud rate using uart0 registers. (UART0
function
> is disable.) So i doubt if VirtualCom must take up UART resource ?
>
> Please help me , Thanks. Because my UART resources are scarce .
>
> with best regards
> Vincent
>
>
>
>
>
>
>


Reply by hjiongh October 31, 20082008-10-31
hello, Ashwin

Thanks for your information. I asked for NXP this issue who is
author of this example application . He told me that the example from
NXP.com i downloaded is a newer example. And its function add
internal loop function by UART, so if i want to test VirtualCom
function only use USB , not anything other , i must use an older
example from Keil.com . So now i'm waiting for his mail attached
example i need .

By the way , do you have the older example of VirtualCom from
Keil,not from NXP ?

Thanks!

with best regards
vincent

--- In l..., "Ashwin" wrote:
>
> Hi Vincent,
>
> USB Virtual Com does not eat up any of the UART resource. Thats why
it is called a 'Virtual Com'.
>
> About your other question regarding setting of the UART parameters,
you need not reflect those changes onto UART0, it actually doesn't
make sense to do so. In most application the baud rate and other
settings are virtual.
>
> Hope this clears you doubt.
>
> Warm regards
> Ashwin
> Founder, NGX Technologies Pvt. Ltd.
> Bangalore- India
> Off : +91-80-23103205
> Fax: +91-80-23103206
> Cell: +91-9886235342
> U.S. Number : +1-408-854-8161
>
> ----- Original Message -----
> From: hjiongh
> To: l...
> Sent: Friday, October 31, 2008 7:18 AM
> Subject: [SPAM][lpc2000] help --- if LPC 214x USB VirtualCom will
take up UART resource
> hi,
>
> Now i use LPC2478 USB VirtualCom, and it is same to LPC214x USB
> VirtualCom . So I downloaded example application of LPC214x USB
> VirtualCom , and i changed it from Keil to IAR and tested
successfully.
> But now i have a question: if USB VirtualCom function will take
up UART
> resource?
>
> Because when i connect PC and board by USB line, PC use hyper-
terminal
> Windows and send data to board USB. Board USB will receive ASCII
data
> and be shown on the LEDs on borad. When i press button on board ,
the
> message "Button has been pressed" will be shown on hyper-terminal
> Windows. So its communication is well,only use USB line to
> communicate.
>
> But when i open the hyper-terminal Windows, its configuration
will send
> to board USB as a descriptor. Then USB interrupt will receive the
> descriptor and config baud rate using uart0 registers. (UART0
function
> is disable.) So i doubt if VirtualCom must take up UART resource ?
>
> Please help me , Thanks. Because my UART resources are scarce .
>
> with best regards
> Vincent
>
>
>
>
>

Reply by Ashwin October 31, 20082008-10-31
Hi Vincent,

USB Virtual Com does not eat up any of the UART resource. Thats why it is called a 'Virtual Com'.

About your other question regarding setting of the UART parameters, you need not reflect those changes onto UART0, it actually doesn't make sense to do so. In most application the baud rate and other settings are virtual.

Hope this clears you doubt.

Warm regards
Ashwin
Founder, NGX Technologies Pvt. Ltd.
Bangalore- India
Off : +91-80-23103205
Fax: +91-80-23103206
Cell: +91-9886235342
U.S. Number : +1-408-854-8161

----- Original Message -----
From: hjiongh
To: l...
Sent: Friday, October 31, 2008 7:18 AM
Subject: [SPAM][lpc2000] help --- if LPC 214x USB VirtualCom will take up UART resource
hi,

Now i use LPC2478 USB VirtualCom, and it is same to LPC214x USB
VirtualCom . So I downloaded example application of LPC214x USB
VirtualCom , and i changed it from Keil to IAR and tested successfully.
But now i have a question: if USB VirtualCom function will take up UART
resource?

Because when i connect PC and board by USB line, PC use hyper-terminal
Windows and send data to board USB. Board USB will receive ASCII data
and be shown on the LEDs on borad. When i press button on board , the
message "Button has been pressed" will be shown on hyper-terminal
Windows. So its communication is well,only use USB line to
communicate.

But when i open the hyper-terminal Windows, its configuration will send
to board USB as a descriptor. Then USB interrupt will receive the
descriptor and config baud rate using uart0 registers. (UART0 function
is disable.) So i doubt if VirtualCom must take up UART resource ?

Please help me , Thanks. Because my UART resources are scarce .

with best regards
Vincent


Reply by hjiongh October 30, 20082008-10-30
hi,

Now i use LPC2478 USB VirtualCom, and it is same to LPC214x USB
VirtualCom . So I downloaded example application of LPC214x USB
VirtualCom , and i changed it from Keil to IAR and tested successfully.
But now i have a question: if USB VirtualCom function will take up UART
resource?

Because when i connect PC and board by USB line, PC use hyper-terminal
Windows and send data to board USB. Board USB will receive ASCII data
and be shown on the LEDs on borad. When i press button on board , the
message "Button has been pressed" will be shown on hyper-terminal
Windows. So its communication is well,only use USB line to
communicate.

But when i open the hyper-terminal Windows, its configuration will send
to board USB as a descriptor. Then USB interrupt will receive the
descriptor and config baud rate using uart0 registers. (UART0 function
is disable.) So i doubt if VirtualCom must take up UART resource ?

Please help me , Thanks. Because my UART resources are scarce .
with best regards
Vincent