Re: Serial Driver --> Unable to open COM1 Port ( transport and download port)
- From: Imti <imtiazkhank@xxxxxxxxx>
- Date: 19 Apr 2007 23:05:07 -0700
On Apr 19, 9:40 pm, "GraemeW" <gwin...@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Ok so you're using serial for download and then swapping it to kitl
afterwards?
If this is the case you won't have a driver loaded on COM1 instead it is the
kernel talking to the HW directly, you need to make sure that the kernel
isn't using this hardware (i.e. that kernel serial kitl code is turned off)
and load a 16550 driver or similar onto the HW (as you are for COM2 i think)
--
GraemeW
Blog -http://ce4all.blogspot.com
"Imti" <imtiazkh...@xxxxxxxxx> wrote in message
news:1176980664.727733.262380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Apr 19, 3:37 pm, "GraemeW" <gwin...@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
The kernel will communicate to the serial port directly for your debug
output (i.e. there is no CE driver needed), the other com port accessable
to
applications will require a 16550 or other loaded and registers in the
system, check this driver is loaded in the modules on pb if you have a
debugger present (or under the HKLM\drivers\active\)
--
GraemeW
Blog -http://ce4all.blogspot.com
"Imti" <imtiazkh...@xxxxxxxxx> wrote in message
news:1176976927.935137.167150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Our target has two COM ports, one for debug(COM2) and other for
transport and download port (COM1).
We are able to download the image on to the target and view the
messages on to the debug port and tested several applications and
drivers (SD Card,USB).
Now we are developing the applications which will be using the COM
ports for reading/writing data to external devices connected through
COM ports.
I am able to open, read/write on COM2 port i.e. debug port.
But I am unable to open the transport port i.e. COM1. I assume that
COM1 port is locked by either bootloader or OAL code
Could any one help me in this regard....
Here are some target details.
Processor : OMAP
WINCE 5.0
We are using COM_MDD2.LIB only
Thanks in advance...
Regards,
Imtiaz Khan.K.- Hide quoted text -
- Show quoted text -
Hi GraemeW,
Thanks for your info......
If I am not wrong you have not got my question (i.e. due to my bad
description of the problem)
I have two COM port, one for debug(COM2) and other for download
(COM1).
Now I want both the COM ports to be used by applications for reading/
writing data from external devices connected to it. To do this
I have to release both the COM ports for the application. ( This is
what I think I should do).
COM2 is used for debug messages. I have redirected the output onto the
console (COM2).
I have written two applications for accessing COM1 and COM2 ports.
I am able to open COM2 port and perform read/write through the
application .
But the other application I am unable to open the COM1 port. (Download
Port).
Application will be using the serial driver (COM_MDD2.LIB --> What we
have included)
If some library or dll is missing then COM2 port application should
not have worked as COM1 application.
any help in this regard for accessing COM1 for application.
Regards,
Imtiaz Khan.K.- Hide quoted text -
- Show quoted text -
Hi,
Ok so you're using serial for download and then swapping it to kitl
afterwards?
No, after download (we don't want KITL), once image comes up on
target, our application should take control of COM ports. So for these
drivers are required.??
Once the image comes up, if we run application for accessing COM2
port(debug port) for read/write. The application runs successfully.
But If we run application for accessing COM1 port(transport and
download port) for read/write. The application gives me error.
Unable to open COM1 port. I think it has been locked by either
bootloader or OAL ?? I think so...
Did u get my problem ???
Regards,
Imtiaz Khan
.
- References:
- Serial Driver --> Unable to open COM1 Port ( transport and download port)
- From: Imti
- Re: Serial Driver --> Unable to open COM1 Port ( transport and download port)
- From: GraemeW
- Re: Serial Driver --> Unable to open COM1 Port ( transport and download port)
- From: Imti
- Re: Serial Driver --> Unable to open COM1 Port ( transport and download port)
- From: GraemeW
- Serial Driver --> Unable to open COM1 Port ( transport and download port)
- Prev by Date: ping problem in ce5.0
- Next by Date: Bad messages in menus, bar, etc..
- Previous by thread: Re: Serial Driver --> Unable to open COM1 Port ( transport and download port)
- Next by thread: Re: How to find your USB mass storage device on the PC
- Index(es):
Relevant Pages
|