Hi everybody,
I am trying to connect another controller to my
board using address and data bus
I have programmed an address range to enable chip
select.
but I do not know, how to write a device driver for
this
(I wrote some example character devices
before )
becouse, I want to access my driver using
pointers
example :
I've selected address a0000000 with 32 kb
range for chip selects (a0000000 is not in my RAM range)
now, i want to access this address using pointers
but linux is giving "memory fault" becouse it is not defined and i don't know
how to define it
If anyone could help me, that would be of great
help.
Yigit Can
|