hello,

I need an driver for rs232 port in real time.

my pc is connected with n-terminals using polling tecnology.

I develop with VS 2003, but response time is very slow. can I create an
driver with access direct io port? how?

thanks

Re: rs232 by Gary

Gary
Tue Feb 15 11:58:03 CST 2005

Yes you can but have you got about two years to get it right? If you have
10+ years of experience in the kernel producing device drivers you might
halve that time, but since you asked if you could, I doubt you have that
experience.

--
The personal opinion of
Gary G. Little

"Nelson Nagamine" <nelson@fbmbrasil.com.br> wrote in message
news:uFX2DJ4EFHA.2676@TK2MSFTNGP12.phx.gbl...
> hello,
>
> I need an driver for rs232 port in real time.
>
> my pc is connected with n-terminals using polling tecnology.
>
> I develop with VS 2003, but response time is very slow. can I create an
> driver with access direct io port? how?
>
> thanks
>
>



Re: rs232 by a-danwh

a-danwh
Tue Feb 15 17:12:21 CST 2005

------=_NextPart_0001_225A7019
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Greetings,

As mentioned, the best way is to write a device driver for the port. In
this way you can receive the IRQ's for that device and read/write directly
to/from the ports. In truth, "directly to/from the ports" is just one
level higher than what is actually happening. Using the HAL (Hardware
Abstraction Layer) allows you to read/write to the ports. This layer, in
this instance, ensures that the reads/writes adhere to the specifications
for that hardware. There are serial samples in the DDK both legacy and WDM
that can help you in this endevour. But there is a learning curve to
overcome though. How much experience do you have with device drivers
under Windows?

Thanks

Dan Whitaker
DDK Team
------=_NextPart_0001_225A7019
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Greetings,
\par
\par As mentioned, the best way is to write a device driver for the port. In this way you can receive the IRQ's for that device and read/write directly to/from the ports. In truth, "directly to/from the ports" is just one level higher than what is actually happening. Using the HAL (Hardware Abstraction Layer) allows you to read/write to the ports. This layer, in this instance, ensures that the reads/writes adhere to the specifications for that hardware. There are serial samples in the DDK both legacy and WDM that can help you in this endevour. But there is a learning curve to overcome though. How much experience do you have with device drivers under Windows?
\par
\par Thanks
\par
\par Dan Whitaker
\par DDK Team
\par }
------=_NextPart_0001_225A7019--


Re: rs232 by Doron

Doron
Tue Feb 15 22:44:33 CST 2005

and once you have written the driver, you will probably hit the same
limitations you are hitting now. which part is "slow"?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Daniel Whitaker" <a-danwh@online.microsoft.com> wrote in message
news:X0qAPP7EFHA.932@TK2MSFTNGXA01.phx.gbl...
> Greetings,
>
> As mentioned, the best way is to write a device driver for the port. In
> this way you can receive the IRQ's for that device and read/write directly
> to/from the ports. In truth, "directly to/from the ports" is just one
> level higher than what is actually happening. Using the HAL (Hardware
> Abstraction Layer) allows you to read/write to the ports. This layer, in
> this instance, ensures that the reads/writes adhere to the specifications
> for that hardware. There are serial samples in the DDK both legacy and
> WDM
> that can help you in this endevour. But there is a learning curve to
> overcome though. How much experience do you have with device drivers
> under Windows?
>
> Thanks
>
> Dan Whitaker
> DDK Team