Re: Error while reading COM2
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Wed, 27 Sep 2006 12:29:36 -0700
Well, look up error 6 first. It's "The handle is invalid." according to the
eVC Error Lookup tool. At a guess, I'd say that there isn't a serial port,
COMn:, corresponding to whatever you're telling bthuart.dll to use (or
something along those lines). Verify, first of all, that in
HKLM/Drivers/Active, you see the serial port name that you're trying to use.
It would be worthwhile to look back through the serial debug messages, too,
as it seems unlikely to me that the error code given there would be the
first indication of a problem.
Paul T.
"Omkar Singh" <OmkarSingh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:18F44428-6EE2-4C42-90AB-598B1D74050A@xxxxxxxxxxxxxxxx
I am using PB 4.2 and pxa255 board.
When I am trying to load 'bthuart.dll' but it is giving error while
reading
on COM2.
"4294793688 PID:83c7c61e TID:839f4b8e Error reading COM port: GetLastError
=
0x00000006 (6)"
The registry entry for serial is:
-----------------------------------
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1]
"Dll"="xsc1bd_serial.Dll"
"IoBase"=dword:a6400000 ;BTUART_BASE_U_VIRTUAL
"Irq"=dword:0 ;22 - Dummy value. This subkey is not really used by the
driver.
"Tsp"="Unimodem.dll"
"IoLen"=dword:24
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
"Index"=dword:3
"Order"=dword:0
;"Priority256"=dword:67 ; Using default priority value
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL2
; Eliminate flow control bit
"DevConfig"=hex:
10,00,00,00,05,00,00,00,10,01,00,00,00,4B,00,00,00,00,08,00,00,00,00,00,00
"Is485"=dword:1
"RTSDelay"=dword:500
Can anyone tell me wat should i do???
.
- Prev by Date: Re: TimeSVC and begin DST, one more time...
- Next by Date: Re: Error while reading COM2
- Previous by thread: Re: Getting a SDIO card running ?
- Next by thread: Re: Error while reading COM2
- Index(es):
Relevant Pages
|