Hey list,

I'm trying to get uart5 to work on a setup here, and am having some strange issues.

I tried this on stage-3.4 but couldn't get any output, so I quickly switched over to mainline without going to deep into this.

I've configured uart0, uart2, uart5 and uart6 to do some tests. Using luc's serial noise program I get spammed with /dev/ttyS%d (i adapted it from USB%d) and see those strings on a logic analyizer, scope and several USB to serial converters.

However uart2 is giving me headaches. The output is prepended with random junk:
(hope copy paste works)
���^E^B^@!@�^H^@^@!^BB�^H!/dev/ttyS2
B^@^H^P�@�^@^B^@�/dev/ttyS2
/d^C ^E^B/ttyS2
/dev/ttyS2
^B^H/dev/ttyS2

occasionally, somehow it 'sticks' and from then on just outputs /dev/ttyS2 in a row and remains okay. Restarting serial_noise breaks it again and it may remain broken for ages or sometimes picks up again and continues to work. What strikes me is that the end always is the string I expect (with the exception where backspace and delete characters break things).

On the scope i see perfect squares, so it's not a electrical noise thing. I will next test with uart3 added, and uart2 (and 3, 6) removed to see if that matters. But so far, it looks like uart5 is ... somehow broken.

I tested this on two sun4i lime's and 1 sun7i lime.

I'm just baffled ...

Olliver

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to