Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Using Hantronix Chip on glass technology LCD Modules

2006-05-25 by newmanrf@originarea.com

The ARM architecture is, of course, flat with code and data able to be put
anywhere therefore you can run code out of your ram as well as your flash
and you can write to your code space so its easy to program flash. So for
all intents and purposes of this discussion don\ufffdt pay attention to what\ufffds
in code and what\ufffds in data just get the code running and in order to do
that take the following advice:

Get rid of: #pragma CODE

Change: const unsigned char code l_mask_array[8]
to: unsigned char l_mask_array[8]

Change: unsigned char xdata l_display_array[Y_BYTES][X_BYTES];

to: unsigned char l_display_array[Y_BYTES][X_BYTES];

And I think that you should be on your way with that file.

I hope this helps and please ask additional questions as a follow-up.

Richard Newman
Pittsburgh PA USA

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.