[ECOS] Serial device driver problem.
Jonathan Larmour
jlarmour@redhat.com
Tue May 29 10:11:00 GMT 2001
"Dennis Ehlin (ECS)" wrote:
>
> When i do a serial_read (located serial.c) everything seems to work ok, and i get to the
> cyg_drv_cond_wait(&cbuf->wait) line and it stops there to wait for the cbuf->wait signal. ok.
>
> Then i generate a serial receive interrupt and the serial_rcv_char function is called,
> which sends the cbuf->wait signal with the line cyg_drv_cond_signal(&cbuf->wait).
>
> But nothing happends?, the cyg_drv_cond_wait(&cbuf->wait) never continues, as if it never gets the
> signal.
Perhaps it did get the signal but hasn't read all the bytes requested (the
*len argument).
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss
mailing list