LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Reverse engineering serial protocol

[ILUG] Reverse engineering serial protocol

Kieran.Tully AT acm.org kieran.tully at gmail.com
Fri Oct 1 11:42:23 IST 2004


On Fri, 1 Oct 2004 10:47:26 +0100, Dale Dunlea <daledunlea at commergy.com> wrote:
> > Without a scope, there's not much you can do to detect baud
> > rate other than "suck it and see". However, if your rx baud
> > rate is too low, you'll just see gibberish; if it's too high,
> > you'll see bits repeated in what you receive (for example,
> > you'll never get a byte that reads 01010101 in binary, but
> > you could well get one that reads 0011001 or 00001111).
> 
> Well, that means I definitely don't have it set too high as I always get
> a single-bit transition on the last byte of a transaction. That's good
> to know.

See http://www.iol.ie/~ecarroll/autobaud.html
Expands on the heuristic Christian mentioned.
I remember writing something similar in assembler in college - fun!

> I tried placing a software spy on the windows machine but none of them
> seem to get in at boot time before the driver device locks the port.

Once you know the serial settings, maybe put a Linux machine with twin
serial ports between Windows and the touchscreen and write or find
something on Linux to log and forward the data (avoids need to makeup
a cable.).

Good luck!
-- 
Kieran Tully, Software Developer and Tenor
Reply to Kieran.Tully AT acm.org
http://kieran.tul.ly  http://www.cs.tcd.ie/~tullyka



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell