2008-03-04 09:15:53 Trouble with Blackfin SPORT emulate UART
William MARTIN (FRANCE)
Message: 52025 Hello,
I have some probleme with the "Blackfin SPORT emulate UART".
Some characters are not received correctly. Sometime one or two bytes are never receive
I make this test at 9600 Bauds.
root:~> cat /dev/ttySS0
01234�6789
0123456�89
98�6543210
0147852369
963�587�10
root:~> cat /proc/tty/driver/SPORT-UART
serinfo:1.0 driver revision:
0: uart:SPORT0 mmio:0xFFC00800 irq:12 tx:409 rx:339 oe:30 CTS|DSR|CD
1: uart:SPORT1 mmio:0xFFC00900 irq:14 tx:0 rx:0 CTS|DSR|CD
I work with a SVN version "Linux blackfin 2.6.22.15-ADI-2007R2-pre-svn #646 Tue Mar 4 13:52:59 CET 2008 blackfin unknown" on the BF537-STAMP Board.
I have just change the file "bfin_sport_uart.c" in the folder "linux-2.6.x/drivers/serial" to correct the bug #3365 but it's fix nothing ...
I think the kernel miss some interrupts because he was doing an atomic operation.
Thanks for help
TranslateQuoteReplyEditDelete
2008-03-04 22:46:49 Re: Trouble with Blackfin SPORT emulate UART
Yi Li (CHINA)
Message: 52058 "Linux blackfin 2.6.22.15-ADI-2007R2-pre-svn"
It looks this is an old tree. Could you please try on 2008R1 branch or the SVN trunk?
QuoteReplyEditDelete
2008-03-26 09:14:31 Re: Trouble with Blackfin SPORT emulate UART
Ron Maglothin (UNITED STATES)
Message: 53052 I am having also having a problem, which is probably the same one. I am using 2008R1-RC8 on a Bluetechnix TCM-BF537. There are intermittent input overruns when using /dev/ttySS0, but the same code works fine on /dev/ttyBF1.
dragon-output-2008R1-RC8-ttyBF1.txt
dragon.c
dragon-output-2008R1-RC8-ttySS0.txt
kernel-config.txt