Re: Serial Interrupt



Depending on what serial port driver your OS is built with, the source code
for the serial driver should be there, yes.
\PUBLIC\COMMON\OAK\DRIVERS\SERIAL is where you'd find the source (if it's
not already specific to your board support package). What you'd need to do
is copy the source that you want from the PUBLIC subdirectory to somewhere
else and modify it there. You might copy it to your BSP, since this seems
specific to this one piece of hardware, or you might make a project out of
it and put it somewhere under OTHERS, create a 3rdParty directory, or
whatever. The main point is that you don't want to modify the serial driver
in-place, since that would then affect every build of CE on that machine
forever.

Once you have copied the files that you need and got then to build, creating
libraries that don't overwrite those generated by the original PUBLIC code,
of course, and DLL(s) with suitable names, change your device registry to
load your new serial driver, rather than the Microsoft one.

Paul T.

"Stefano" <blasiis@xxxxxxxx> wrote in message
news:kxWYj.53258$o06.35348@xxxxxxxxxxxxxxxxxxxxxxxx

Exist a example for make this ?

Sounds like you need to write or modify a serial driver. You cannot do
what you want to do in CE 6.0 from an application.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

"Stefano" <blasiis@xxxxxxxx> wrote in message
news:JPQYj.52558$o06.20484@xxxxxxxxxxxxxxxxxxxxxxxx
Hello to all.

I am developing an application in Windows CE 6.0 with Visual Studio 2005

I have to manage a serial communication, after receiving a comunication
I must send short response time.
Also there is a particular protocol (bit parity as synchronization).
For this reason I want intercept the serial interrupt and work directly
under this interrupt also in assembler if neccessary.

Someone has ever done such a thing?

Some Council

Thank you

Stefano







.



Relevant Pages

  • Re: Serial Interrupt
    ... Sounds like you need to write or modify a serial driver. ... Bruce Eitman (eMVP) ... Bruce.Eitman AT EuroTech DOT com ... For this reason I want intercept the serial interrupt and work directly ...
    (microsoft.public.windowsce.embedded)
  • Re: wince serial driver
    ... manufacturer uses a standard serial driver, ... > knowledge of how the interrupt support for the serial driver was implemented ... since they have all the source code to the device. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Serial Driver got opened twice, but closed once when it loaded.
    ... The question is why Serial Driver gets opend twice. ... Source Code. ...
    (microsoft.public.windowsce.platbuilder)