This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Do any of the ARM LPCxxxx serial functions work?


I wonder if anyone actually has interrupt-driven serial output working on 
any of the ARM Philips LPCxxxx based targets?

I am not getting serial output to start. 
The problem I see is in
ser_16x5x.c pc_serial_start_xmit()

The Philips docs state that the UART will not generate a Transmit Holding 
Register Empty interrupt unless it has had at least two charcters put into 
the FIFO. Then it will set the interrupt flag on the transition to empty.

However Ecos just enables the THRE interrupt, which is insufficient to 
cause an initial interrupt.

Brett



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]