Issue in printing to console using interrupts.

Rohan Kangralkar rohankangralkar at yahoo.com
Wed Feb 23 22:50:46 UTC 2011


Hi all,

I have a console uart on a blackfin processor.

The driver prints fine when the UART is in polling mode. But when the UART
uses interrupts to send characters then it messes up the output. It mixes
the characters from different tasks .
The log for the ticker test is given below.

I am implementing a DMA based UART and i wanted to get the single character
interrupt driven console to work first.

The buffers are managed by termios. So do you think that it is issue with my
implementation or there is issue with the termios driver? Any hints or ideas
or pointers to documents will be very usefull.



*** CLOCK TICK TEST
***

TA1  - rtems_clock_get_tod - 09:00:0TT0AA   2312  / - rtems_clock_get_tod -
- rtems_clock_get_tod - 3100/991988::
0000::0000      1212//3131//19881988

TA1  - rtems_clock_get_tod - 09:00:05   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:10   12/31/1988
TA2  - rtems_clock_get_tod - 09:00:10   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:15   12/31/1988
TA3  - rtems_clock_get_tod - 09:00:15   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:20   12/31/1988
TA2  - rtems_clock_get_tod - 09:00:20   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:25   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:30   12/31/1988
TA3  - rtems_clock_get_tod - 09:00:30   12/31/1988
TA2  - rtems_clock_get_tod - 09:00:30   12/31/1988
*** END OF CLOCK TICK TEST ***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110223/f35cbbd8/attachment.html>


More information about the users mailing list