I’ve got two computers ( one with QNX 4.25 and one with QNX 6.3.2 )
connected with each other by RS-232
(3 wire: rx, tx, gnd; 2m long; no handshaking; 115200-8-N-1).
Serial communication ( /dev/ser/1 read() / write() )
works fine on QNX 6.3.2,
but QNX 4.25 is losing received data (tx is ok).
I try to set higher priority ( setprio() )
and increase stop bits to 2,
but the data is still losing, event at 38400-8-N-2 .
What is wrong ?
/the program works fine @115200,8,N,1
between QNX 6.3.2 - QNX 6.3.2
and beetween QNX 6.3.2 - Windows XP;
I’ve got two computers ( one with QNX 4.25 and one with QNX 6.3.2 )
connected with each other by RS-232
(3 wire: rx, tx, gnd; 2m long; no handshaking; 115200-8-N-1).
Serial communication ( /dev/ser/1 read() / write() )
works fine on QNX 6.3.2,
but QNX 4.25 is losing received data (tx is ok).
I try to set higher priority ( setprio() )
and increase stop bits to 2,
but the data is still losing, event at 38400-8-N-2 .
What is wrong ?
/the program works fine @115200,8,N,1
between QNX 6.3.2 - QNX 6.3.2
and beetween QNX 6.3.2 - Windows XP;
Yes, must turn on the FIFO, or the main CPU has to service
every character within one character time. With “-t 14”, it
has 14 character times to catch up.
You might also check that on your QNX 6 box; even if it can
keep up, it’s working way too hard doing all those serial interrupts.