[ECOS] EB40 serial read
Fri May 23 00:57:00 GMT 2003
Xavier Thomas wrote:
> I'm working with a AT91EB40 board and I try to receive data from de
> serial port.
> The write work correctly but the read block the program. I load the
> program with
> gdb and I start it with minicom and redboot.
Your program runs entirely from cyg_user_start. As described in the
documentation, the kernel hasn't started yet, and in particular interrupts
aren't enabled so it's no surprise it doesn't work!
Run your program from a thread, not from cyg_user_start, or enable
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss