Re: Can't open Serial port
- From: Daniel Chi <daniel.chi.sh@xxxxxxxxx>
- Date: Wed, 16 Jul 2008 01:04:35 -0700 (PDT)
Since you can receive the printed messages, then you can not open the
COM1 using application. If you want to open it, please disable the
COM1's debug function. Nothing needs to do to your driver. Just close
the COM tools, such as the SecureCRT or other serial tools, then you
can open the COM1.
If you can not open it yet, then you'd better check your COM driver.
On Jul 16, 8:46 am, John <J...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,
I am new to platform builder. I am trying to build a Wince 6.0 OS supporting
the COM ports. But I can not open the COM port (COM1) when running my
application code on the OS I built. It tells me an unexpected error happened
at System.IO.Ports.SerialStream.WinIOError()
at System.IO.Ports.SerialStream.CheckResult()
at System.IO.Ports.SerialStream.SetBufferSoze()
at System.IO.Ports.SerialPort.Open()
at ...
...
But I can receive these error messages from the COM1. So, the hardware is
ok. In fact, my code (and COM1) runs ok with a sample "NK.bin" came with my
development board. I contacted my board vendor. They think I need download
updates from Microsoft. I did have downloaded CF service pack 2 before which
solved a problem regarding the breakpoint. What microsoft update I may need
to download this time? Any suggestions?
Many thanks.
.
- Prev by Date: Re: Nor flash menroy
- Next by Date: Re: Copying data on Nand-Flash over-writes the image.
- Previous by thread: RE: Can't open Serial port
- Next by thread: RE: Can't open Serial port
- Index(es):
Relevant Pages
|
Loading