sc16is7xx: sometimes invalid chars read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I'm still having some problems with this driver :-(

I'm using the sc16is750 on an imx6d platform i have tested it with a vanilla kernel and RT patches applied.

I have our hardware hooked up to a PC using an ttl ftdi chip, both the sc16is750 and the ftdi is setup:
$ stty -F /dev/tty[dev] 115200 raw -echo

From the PC I cat a large file:
$ cat /var/log/pacman.log > /dev/ttyUSB3

And on the imx I open and closes cat:
$ cat /dev/ttySC0
[2014-09-17 08:08] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2015-03-31 [2014-09-17 08:08] [PACMAN] upgraded archlinux-keyring (20140220-1 -> 20140908-1) [2014-09-17 08:08] [PACMAN] upgraded linux-api-headers (3.14.1-1 -> 3.16.2-1) [2014-09-17 08:08] [ALPM] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
[2014-09-17 08:08] [ALPM-SCRIPTLET] Generating locales...
[2014-09-17 08:08] [ALPM-SCRIPTLET]   en_DK.UTF-8... done
...

Waiting for data to flow and closes og repeates again, most of the time data is flowing perfectly but sometimes the whole datastream is containing invalid chars:

$ cat /dev/ttySC0
K�MH�N'
ij�*�����Ʌ������������ѕ́B��������j�j��������j�JR�%���j������j�*�����Ʌ����b�����B�r�j�j�r�JR�%���j������j�*�����Ʌ����"��B�r�j�j�r�JR�%���j������j�*�����Ʌ�������ɑ�B�r�r�j�j�r�r�j�JR�%���j������j�*�����Ʌ����"������B�Ҋr��%�������j�Ҋr��%����ʊ�j�
JR�%���j������j�*�����Ʌ����"����ɁB�Ҋr�r�j�j�Ҋr�r�j�JR�%���j������j�*�����Ʌ�����ѵ��յ��B��������j�j�����ʊ�JR�%���j������j�*�����Ʌ����b����B�Ҋ��r�����’�j�j�Ҋ��r�����’�j�JR�%���j������j�*�����Ʌ����2����������сB�҂r��r��j�j�҂r��r��j�JR�%���j����
....

And it continues like this forever...

Please ask for more debug info if needed

/Sean

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux