[En-Nut-Discussion] Memory mapped device
Ole Reinhardt
ole.reinhardt at kernelconcepts.de
Tue Apr 5 10:45:01 CEST 2005
Hi,
> I must interface a memory mapped device to ethernut 2.1b board.
> Does anyone have some sample code abuot that?
I don't realy see the problem. The ethernet controller is a good example
of a memeory mapped device.
What you need:
A memory address decoder to generate a chip select signal (perhaps this
function is just integrated in your device, like the rtl8019as does?).
You perhaps could use the/a CPLD for such a function.
You should take a "normal" address that is not yet used by any of the
on-board devices and address you device like normal memory.
I do not own a Ethernut2.x board, so I can't tell you wich address you
can use safely.
Hope I could give you a hint.
Regards,
Ole Reinhardt
--
kernel concepts Tel: +49-271-771091-14
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen E+ : +49-177-7420433
--
More information about the En-Nut-Discussion
mailing list