Blocking on Reading serial port 2 on MVME162 running RTEMS 4.10.2

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 21 11:47:24 UTC 2013


On 2013-08-21 13:40, AJAI KUMAR MEDHAVI wrote:
> Does anyone have an advice of what's wrong with the code ( whether in
> application and / or console.c driver)
>
>
> How to fix the problem of reading on the serial port 2 ?

I would set a break point to the interrupt service routine of the driver.  In 
case a character arrives and a task is waiting for input, then you must fill 
the Termios receive ring buffer here and wake up the input task.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list