Re: READ_PORT_UCHAR and COM2

From: ksmith (ksmith_at_discussions.microsoft.com)
Date: 03/01/05


Date: Tue, 1 Mar 2005 09:45:03 -0800

Wally,

I don't believe there is anything sitting on com2, at least not according to
the registry. I am using a standard iPAQ hx47000 so maybe it has a driver I
don't know about. The only references I see are in
HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms\Port = 2 and
Drivers\BuiltIn\Serial_FIR\Prefix = COM & Index = 2.

Serial, Serial_BTUR, Serial_External and Serial_FIR all share IRQ 19.

Do you know if my code looks sound? I'm not sure I'm using iobase and iolen
correctly.

Kyle

"Wally" wrote:

>
> Do you already have a COM2 driver?
> If so could it be reading the data (on interrupt) before you read it.
>



Relevant Pages

  • Re: READ_PORT_UCHAR on COM2
    ... I would guess based on address used in registry that your device isn't x86 ... Basically I'm trying to read in from COM2 ... > ULONG BusNumber, ...
    (microsoft.public.windowsce.embedded)
  • Re: CreateFile fails for COM2
    ... Your COM2 driver is successfully loaded and you have confirmed this. ... Error code 12 means invalid access. ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Fehler beim Öffnen von COM2
    ... Registry von Hand gesäubert. ... Scan den PC mit RegVac im Novice Mode, ... COM2 bereits geöffnet, ...
    (microsoft.public.de.german.windowsxp.setup)
  • Re: Problem with opening COM2
    ... I found that my Emulator 4.1 doesn't have an active COM2 in the registry. ... Tony ...
    (microsoft.public.windowsce.app.development)
  • Re: Serial Port Application
    ... 0, NULL, 0, NULL)" to persist my registry. ... Why does the "COM1" & "COM2" exchange? ...
    (microsoft.public.windowsce.app.development)