devc-ser is loosing some bits

Hello

We have a I2C<->Seriall Device here. Under Linux/Windows this device
works fine (same hardware). But under QNX the device is working for a
few secs/minutes an then looses some date. We tried to increase the
ammount of buffer with:

/x86/sbin/devc-ser8250 -t14 -I100000 3f8,4 &

but this does not work. The device uses raw seriall communication (only
tx,rx lines). We also tried severall speeds.

Another group at our laboraty has a similar problem with a positioning
system which serves the data via a serial line.

The QNX driver is missing some data inside the buffer.

Is there anyone having the same problem or a solution for that?

thanks allot

jan rüdiger

Jan Rüdiger wrote:

Hello

We have a I2C<->Seriall Device here. Under Linux/Windows this device
works fine (same hardware). But under QNX the device is working for a
few secs/minutes an then looses some date. We tried to increase the
ammount of buffer with:

/x86/sbin/devc-ser8250 -t14 -I100000 3f8,4 &

I have bad expirience with the way QNX serial drivers deal with serial
port FIFO. Try to replace ‘-t14’ with ‘-t0’. Sometimes it helps,
especially with laptops.

but this does not work. The device uses raw seriall communication (only
tx,rx lines). We also tried severall speeds.

If you do not use h/w flow control signals (CTS/RTS), you have to add
the following to your port settings:

stty -ihflow -ohflow < /dev/ser1

Another group at our laboraty has a similar problem with a positioning
system which serves the data via a serial line.

The QNX driver is missing some data inside the buffer.

Is there anyone having the same problem or a solution for that?

thanks allot

jan rüdiger

Hello

Sorry forgot: the device is initialized with:

stty %d -parenb -cstopb cs8 raw -onlcr -echo

jan rüdiger