Pavol Kycina
|
Re: devc-ser8250 and slogger
|
Pavol Kycina
04/04/2011 7:24 AM
post84549
|
Re: devc-ser8250 and slogger
Thanks for the info.
I have tried that, but it doesn't work for me. Could you please post cksum of devc-ser8250 you are using?
Mine is (in QNX 6.5.0 system) 1252698927 79459 /sbin/devc-ser8250
Do you have "special way to generate errors" or is your line generating them?
Thanks, PKY
> It works for me on 6.5.0 x86:
>
> # sloginfo
> Time Sev Major Minor Args
> Apr 01 21:45:11 3 6 0 io-char: Framing error on /dev/ser2
> Apr 01 21:48:49 3 6 0 io-char: S/W buffer Overrun error on /dev/
> ser2
>
> I started devc-ser8250 with -F to disable flow control but nothing else that
> would matter.
|
|
|
Pavol Kycina
|
Re: devc-ser8250 and slogger
|
Pavol Kycina
04/04/2011 8:25 AM
post84559
|
Re: devc-ser8250 and slogger
Update on my previous post.
My test setup: 2 computers, sending one configured to 38400 8N1, receiving one configured to 38400 8E1. Note the
difference in parity.
In QNX4 setup, after sending 196 bytes from xml file I get on receiving computer 120 framing errors and 80 parity errors
logged in traceinfo.
In QNX6 setup, I get 19 framing errors and 14 parity errors. The difference in numbers (approx. only 1/6 is logged in
comparison to QNX4) may be the reason that so far I haven't seen any logs regarding these errors.
That made me suspicious about fifo threshold in qnx6 setup.
I made a test, when I configured rx fifo to 14, 4 and 1. (8 is the default setup)
Here are the results:
threshold 14 ... 12 framing errors, 11 parity errors
threshold 8 .... 19 framing errors, 12 parity errors
threshold 4 .... 39 framing errors, 13 parity errors
threshold 1 .... no errors ?????
It seems the higher the threshold, the less errors get reported. So to be able to check the line quality one should set
the threshold to 1. But unfortunately, no errors are reported at this setting.
Any ideas?
Regards, PKY
> It works for me on 6.5.0 x86:
>
> # sloginfo
> Time Sev Major Minor Args
> Apr 01 21:45:11 3 6 0 io-char: Framing error on /dev/ser2
> Apr 01 21:48:49 3 6 0 io-char: S/W buffer Overrun error on /dev/
> ser2
>
> I started devc-ser8250 with -F to disable flow control but nothing else that
> would matter.
|
|
|