Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - devc-ser8250 driver no longer in true raw mode when moving from QNX 6.3.2 to QNX 6.5.0: (3 Items)
   
devc-ser8250 driver no longer in true raw mode when moving from QNX 6.3.2 to QNX 6.5.0  
I am seeing a problem with the devc-ser8250 driver since we have upgraded from QNX 6.3.2 to 6.5.0. Regardless of the 
terminal settings (default we use are iflag:2010 oflag:4 cflag:FB0 lflag:0 but I have tried many combinations) I am NOT 
getting a true raw mode on reads. The specific problem is that the first byte immediately following any byte with the 
least significant nibble as an F is missed. This happens at the read() level and is immediately resolved by downgrading 
back to QNX 6.3.2 from 6.5.0.

The command to devc-ser8250 is “devc-ser8250 -b57600 -F -u3 208,10 1208,10 2208,10 3208,10 3200,10 2200,10 1200,10 200,
10” though here again I have tried many combinations.

We are running QNX on a VSX-6124 System on Chip card running a Vortex86SX CPU. The SOC is installed in our custom 
motherboard on an ISA bus and the DUARTs used on the serial ports on that motherboard are pc16552DV chips.

I have been working on this for some time and would very much appreciate any advice or suggestions. 

Thanks,
Blaine Hatch
Re: devc-ser8250 driver no longer in true raw mode when moving from QNX 6.3.2 to QNX 6.5.0  
I don't know about that specific problem. What I would try is build the driver and the libio-char from 6.3.2 against 6.5
 and see if it works then. (maybe some slight modifications are necessary)

You could also try combinations: Take libio-char.a from QNX 6.5 but use the source for devc-ser8250 from QNX 6.3.2 (vice
-versa might not work but is worth a trial). My first goal would be to find out if this is a problem in libio-char or in
 devc-ser8250.

Regards,
Albrecht
Re: devc-ser8250 driver no longer in true raw mode when moving from QNX 6.3.2 to QNX 6.5.0  
Albrecht, 

Thank you, that sounds like excellent advice. Previously (QNX 4, 6.3.0, and 6.3.2) we have always used the X86 binary 
for devc-ser8250 without issue but it sounds like that may not be the case with 6.5.0. Unfortunately I am having some 
issues getting what I need to recompile devc-ser8250 as you suggest but I will contact QNX to see about getting that 
resolved.

Thanks again,
Blaine