ts-7000
[Top] [All Lists]

Re: [ts-7000] Amusing Serial Parity Mismatch With CRC Okay

To:
Subject: Re: [ts-7000] Amusing Serial Parity Mismatch With CRC Okay
From: Jim Jackson <>
Date: Thu, 25 Jun 2009 21:06:33 +0100 (BST)


On Wed, 24 Jun 2009, Fred wrote:

> Running on a TS-7200 but that doesn't really matter. What's amusing is 
> that running a DOS program on a computer with a serial interface 
> configured for 9600:O81 I can send message frames to the TS-7200 serial

Is the DOS program sending 7 data bits with the 8th bit odd parity?
If so, then I don't think I'm surprised. To the receiver all the 8 bits are 
received as sent, but it just doesn't do any parity checking.

If it's sending 8 data bits and a 9th odd parity bit, then I'd expect
the receiving /dev/ttyAM0 to given errors on those words where the 9th bit 
is not a "stop" bit.

What's the CRC that's computed and what is the exact data it is computed 
on?

> interface /dev/ttyAM0 which is configured as 9600:N81 and despite the 
> parity mismatch, the CRC appended to my inbound frame matches the 
> TS-7200's computed CRC.
>
> The only thing I can think of is that when performing parity bit stuffing 
> on one end and no bit elimination on the other, while the data in the 
> received frame on the TS-7200 is wrong, the CRC match because the CRC is 
> also bit shifted -- except that the CRC is a recursive polynomial so I 
> would not have expected it to match.
>
> Kind of strange that a parity mismatch passes CRC checks some how.
>
> Unless I need coffee and missed something.  }:-}
>
>
>


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU