I'm using the serial port to communicate with a peripheric
device (a tracking system) under linux. Setup and initialization
works fine, and most of the time the communication is correct, too.
However, it happens (apparently non-deterministically) that the reply
from the tracking system indicates a communication error:
The sent command consists of a message plus a checksum. The tracking
system sometimes replies indicating that the checksum doesn't match
the message. This error depends on the baud rate I use (the tracking
system can be configured for multiple rates). The error seems to
occure specifically for large messages (> 100 bytes).
Note that the same code runs fine under IRIX (O2).
Does anybody have ideas as to
1) what errors can cause this behavior ?
2) how (with what tools) can I debug it ?
Any help would be highly appreciated,