Menu

#114 A bug about s3c2410's uart

HEAD
open
nobody
None
5
2013-07-15
2013-07-15
David Yu
No

When getting the data from uart_term, uart will set the bit 1 of UTRSTATn and send a interrupt signal, after reading the URXHn, uart will clear the bit 1 of UTRSTATn, But If OS doesn't handle the interrupt and read the URXHn, the bit 1 of UTRSTATn is always 1, the data that is read from URXHn is never handled and the next interrupt is never triggered.

The appearance of this bug:
run the vmlinux of s3c2410 testcase, you type some characters into uart before the linux enter the shell. After entering the shell, you can't input command.

The patch as the attachment solve the bug.

1 Attachments

Discussion


Log in to post a comment.