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

Pearless Douglas.Pearless at pearless.co.nz
Wed Sep 17 12:36:46 CEST 2003


Hi Harald,

Thanks for the feedback.

I am creating a new file, rather than modifing uartavr.c.

cheers Douglas

-----Original Message-----
From: en-nut-discussion-admin at egnite.de
[mailto:en-nut-discussion-admin at egnite.de]On Behalf Of Harald Kipp
Sent: Wednesday, 17 September 2003 10:18 p.m.
To: en-nut-discussion at egnite.de
Subject: RE: [En-Nut-Discussion] Interfacing a memory mapped (Oxford
Quad UART) device to an EtherNut


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

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo/en-nut-discussion

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 11/09/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 11/09/2003




More information about the En-Nut-Discussion mailing list