Memory mapping an LCD

Hi,

I'm trying to memory map an LCD module to the at91m42800A's external bus interface. I currently have the 8-bit device connected to the EBI on chip select 4. I also configured it's memory space (0x50000000-0x50FFFFFF) in startup.s.

However, every time I attempt a read/write to this device, the processor aborts. I realize this is a Linker problem, but I'm not sure how to configure it. I'm using the Keil toolset, btw.

Do I need to define a new memory CLASS, like XDATA? Any input on this subject would be much appreciated.

Cheers,

Tracy

Parents
  • Hi
    How do you know it's a linker problem? Was there a linker warning during the build?
    How does the code run in the simulator, does it "abort" there?
    I can't believe that writing to the module causes the processor to cease operation, the module should be passive on the bus at that time.
    Those one and two line LCD modules are usually kind of slow, does your system need wait states?

Reply
  • Hi
    How do you know it's a linker problem? Was there a linker warning during the build?
    How does the code run in the simulator, does it "abort" there?
    I can't believe that writing to the module causes the processor to cease operation, the module should be passive on the bus at that time.
    Those one and two line LCD modules are usually kind of slow, does your system need wait states?

Children
More questions in this forum