Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Using Hantronix Chip on glass technology LCD Modules

2006-05-25 by rtstofer

--- In lpc2000@yahoogroups.com, "wickedmonster2002" <karim@...> wrote:
>
> 
> 
> The gLCD from M Karas has storage classes defined as 'code' and
> 'xdata'. One is ROM and the other is RAM, i believe. How can I
> replicate this in ARM standards in Keil? 
> 

You need to look at the context of things in XDATA to determine
whether it is ROM or RAM.  All XDATA means to the 8051 is that it is
external memory.

See for example http://www.esacademy.com/faq/docs/51memmodel/
BTW, Google is your friend...

If I were writing this type of thing for the LPC2106 (I am actually
working on the project with the ATmega128), I would put the code and
fonts in program memory (flash) as I have 128k bytes to work with.

I don't know how your setup implements the frame buffer so I'll just
stop here.  Unless you have DMA, you probably can't use internal RAM
for the buffer.  You can use internal RAM as a mirror of the frame
buffer and that may be a reasonable way to go.  I haven't thought
about it...

Or maybe your controller has a frame buffer and all you need to do is
read/write it.

Richard

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.