Re: Error while reading COM2

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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???


.



Relevant Pages

  • Bluetooth Serial Port Profile and Tcl communications
    ... Serial port communications I thought should be fairly straightforward, ... An important point to note here is that I can disconnect and connect ...
    (comp.lang.tcl)
  • Serial Port problem
    ... I have a problem in serial port on WinCE 5.0. ... au1uart::HWInit - UnitIndex 3 is invalid ... The registry settings for serial port are as follows: ... ; @CESYSGEN ENDIF COREDLL_SERDEV ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Error while reading COM2
    ... It is COM3, not COM2. ... eVC Error Lookup tool. ... you see the serial port name that you're trying to use. ... first indication of a problem. ...
    (microsoft.public.windowsce.platbuilder)