Re: Patch: UART initialisation, serial port errors
11 Apr
2010
11 Apr
'10
8:58 p.m.
Hello Christian, I had the suspicion that a UART reset in the code is missing, however I could not verify that because I never had those problems with wrong bytes. Out of curiousity, have you tried if just the following line is enough to fix the problems you noticed ?
+ uart_reg_write(uart, MDR1, 0x07); /* turn off UART */
This should cause the UART to be reset and I would expect that setting the XON/XOFF characters is not needed as long XON/XOFF handshake is not turned on. Thanks and best regards, Dieter -- Dieter Spaar, Germany spaar@mirider.augusta.de
6045
Age (days ago)
6045
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Spaar