[En-Nut-Discussion] Interfacing a memory mapped (Oxford Quad UART) device to an EtherNut

Harald Kipp harald.kipp at egnite.de
Wed Sep 17 12:17:32 CEST 2003


Douglas,

I'd suggest to write a simple program first (no Nut/OS!)
and use outb and inb statements to access the hardware.

1. Initialize QUART registers
2. Try to output one character
3. Test interrupts

After this is working fine, you should be ready to modify
uartavr.c. Btw. I recommend to use a different file. Do not
intend to make uartavr.c working with both devices, on-chip
UART and external QUAD.


Harald




More information about the En-Nut-Discussion mailing list