WRITE_PORT_CHAR / Serial driver

Guys,
I have driver for serial port (COM2), and it works (now) fine under system,
it loads and unloads without problems. When I call function for writing
(reading I haven’t tried) everything goes OK but when I look out signals
(oscilloscope) I don’t have any change of the signal on the output from
coputer. And this is strange as I use WRITE_PORT_CHAR function, the address
of the port is OK (0x2f8 + number of Tx pin (2) = 0x2fb), and value that I
pass to write function is OK. Has someone any idea what is going in the
system and why I don’t see output?

Regards,
Neno

Because number of Tx pin is 0.
Base port works both as data in (when read) and data out (when written).

Paul

-----P?vodn? zpr?va-----
Od: Prekupec Boris [SMTP:boris.prekupec@vz.tel.hr]
Odesl?no: 4. kv?tna 2000 15:37
Komu: NT Developers Interest List
P?edm?t: [ntdev] WRITE_PORT_CHAR / Serial driver

Guys,
I have driver for serial port (COM2), and it works (now) fine under
system,
it loads and unloads without problems. When I call function for writing
(reading I haven’t tried) everything goes OK but when I look out signals
(oscilloscope) I don’t have any change of the signal on the output from
coputer. And this is strange as I use WRITE_PORT_CHAR function, the
address
of the port is OK (0x2f8 + number of Tx pin (2) = 0x2fb), and value that I
pass to write function is OK. Has someone any idea what is going in the
system and why I don’t see output?

Regards,
Neno


You are currently subscribed to ntdev as: xxxxx@sodatsw.cz
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Pavel,
you mean on address 0x2f8? Maybe my papers have error (I will check), but I
have tried all other pins also. Is range of output for +10.6 to -10.6 V

Neno

----- Original Message -----
From: “Pavel Hrdina”
To: “NT Developers Interest List”
Sent: 2000. svibanj 04 16:09
Subject: [ntdev] RE: WRITE_PORT_CHAR / Serial driver

> Because number of Tx pin is 0.
> Base port works both as data in (when read) and data out (when written).
>
> Paul
>
> > -----P?vodn? zpr?va-----
> > Od: Prekupec Boris [SMTP:boris.prekupec@vz.tel.hr]
> > Odesl?no: 4. kv?tna 2000 15:37
> > Komu: NT Developers Interest List
> > P?edm?t: [ntdev] WRITE_PORT_CHAR / Serial driver
> >
> > Guys,
> > I have driver for serial port (COM2), and it works (now) fine under
> > system,
> > it loads and unloads without problems. When I call function for writing
> > (reading I haven’t tried) everything goes OK but when I look out signals
> > (oscilloscope) I don’t have any change of the signal on the output from
> > coputer. And this is strange as I use WRITE_PORT_CHAR function, the
> > address
> > of the port is OK (0x2f8 + number of Tx pin (2) = 0x2fb), and value that
I
> > pass to write function is OK. Has someone any idea what is going in the
> > system and why I don’t see output?
> >
> > Regards,
> > Neno
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@sodatsw.cz
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntdev as: boris.prekupec@vz.tel.hr
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>

Yes.
Logical one is positive voltage (cca 3 to 12 V).
Logical zero is negative voltage (cca -3 to -12V ).

Paul

-----P?vodn? zpr?va-----
Od: Prekupec Boris [SMTP:boris.prekupec@vz.tel.hr]
Odesl?no: 4. kv?tna 2000 16:40
Komu: NT Developers Interest List
P?edm?t: [ntdev] RE: WRITE_PORT_CHAR / Serial driver

Pavel,
you mean on address 0x2f8? Maybe my papers have error (I will check), but
I
have tried all other pins also. Is range of output for +10.6 to -10.6 V

Neno

----- Original Message -----
From: “Pavel Hrdina”
> To: “NT Developers Interest List”
> Sent: 2000. svibanj 04 16:09
> Subject: [ntdev] RE: WRITE_PORT_CHAR / Serial driver
>
>
> > Because number of Tx pin is 0.
> > Base port works both as data in (when read) and data out (when written).
> >
> > Paul
> >
> > > -----P?vodn? zpr?va-----
> > > Od: Prekupec Boris [SMTP:boris.prekupec@vz.tel.hr]
> > > Odesl?no: 4. kv?tna 2000 15:37
> > > Komu: NT Developers Interest List
> > > P?edm?t: [ntdev] WRITE_PORT_CHAR / Serial driver
> > >
> > > Guys,
> > > I have driver for serial port (COM2), and it works (now) fine under
> > > system,
> > > it loads and unloads without problems. When I call function for
> writing
> > > (reading I haven’t tried) everything goes OK but when I look out
> signals
> > > (oscilloscope) I don’t have any change of the signal on the output
> from
> > > coputer. And this is strange as I use WRITE_PORT_CHAR function, the
> > > address
> > > of the port is OK (0x2f8 + number of Tx pin (2) = 0x2fb), and value
> that
> I
> > > pass to write function is OK. Has someone any idea what is going in
> the
> > > system and why I don’t see output?
> > >
> > > Regards,
> > > Neno
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@sodatsw.cz
> > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> > —
> > You are currently subscribed to ntdev as: boris.prekupec@vz.tel.hr
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@sodatsw.cz
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)