Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #13042

Re: Simple protocol analyzer?

From Clifford Heath <no.spam@please.net>
Newsgroups comp.arch.embedded
Subject Re: Simple protocol analyzer?
References (1 earlier) <ktrb3v$ih6$1@reader1.panix.com> <y_ydnU1gndpIpJzPnZ2dnUVZ5h2dnZ2d@giganews.com> <ktrge0$hrt$1@reader1.panix.com> <xgrMt.1627$7K3.791@fx07.iad> <kttni9$e1e$1@reader1.panix.com>
Message-ID <RaAMt.9006$Ag2.6191@fx04.iad> (permalink)
Organization TeraNews.com
Date 2013-08-08 08:50 +1000

Show all headers | View raw


On 08/08/13 01:02, Grant Edwards wrote:
> Yes.  The port defaults to raw mode (8,none,1).

Right, nice.

> What it doesn't do is deal with the UARTs RX FIFO threshold setting or
> the Linux tty layer's low_latency flag.

I've done that at the C level (CMIN, CTIME, etc). Even got the developer 
to fix a driver bug I found in the low_latency implementation. Seems 
like a lifetime ago.

My scripting language of choice is Ruby, but it's been a long time since 
I did any serial port things with it, and I think for someone choosing a 
scripting language to support embedded work, Python is probably better 
because it has more users in that community.

One technique I've used in serial port work is to use separate threads 
for input and output. You have to synchronise, but it's nicer than using 
select().

Clifford Heath

Back to comp.arch.embedded | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Simple protocol analyzer? Tim Wescott <tim@seemywebsite.really> - 2013-08-06 11:54 -0500
  Re: Simple protocol analyzer? Grant Edwards <invalid@invalid.invalid> - 2013-08-06 17:17 +0000
    Re: Simple protocol analyzer? Tim Wescott <tim@seemywebsite.really> - 2013-08-06 13:00 -0500
      Re: Simple protocol analyzer? Grant Edwards <invalid@invalid.invalid> - 2013-08-06 18:48 +0000
        Re: Simple protocol analyzer? Tim Wescott <tim@seemywebsite.really> - 2013-08-06 14:33 -0500
          Re: Simple protocol analyzer? Frank Buss <fb@frank-buss.de> - 2013-08-07 14:52 +0200
          Re: Simple protocol analyzer? Les Cargill <lcargill99@comcast.com> - 2013-08-07 08:06 -0500
          Re: Simple protocol analyzer? Grant Edwards <invalid@invalid.invalid> - 2013-08-07 14:48 +0000
          Re: Simple protocol analyzer? rickman <gnuarm@gmail.com> - 2013-08-07 23:25 -0400
            Re: Simple protocol analyzer? John Devereux <john@devereux.me.uk> - 2013-08-08 08:44 +0100
              Re: Simple protocol analyzer? Grant Edwards <invalid@invalid.invalid> - 2013-08-08 12:57 +0000
        Re: Simple protocol analyzer? Clifford Heath <no.spam@please.net> - 2013-08-07 22:42 +1000
          Re: Simple protocol analyzer? Grant Edwards <invalid@invalid.invalid> - 2013-08-07 15:02 +0000
            Re: Simple protocol analyzer? Grant Edwards <invalid@invalid.invalid> - 2013-08-07 15:15 +0000
            Re: Simple protocol analyzer? Clifford Heath <no.spam@please.net> - 2013-08-08 08:50 +1000

csiph-web