Re: Serial Interrupt
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Wed, 21 May 2008 08:33:44 -0700
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
.
- References:
- Serial Interrupt
- From: Stefano
- Re: Serial Interrupt
- From: Bruce Eitman [eMVP]
- Re: Serial Interrupt
- From: Stefano
- Serial Interrupt
- Prev by Date: Porting Winsock App to GPRS/3G
- Next by Date: Re: C# Service for Windows CE 6.0 R2
- Previous by thread: Re: Serial Interrupt
- Next by thread: Re: Serial Interrupt
- Index(es):
Relevant Pages
|
|