Ok. To clear some things up. I m using an LPC2210 on a Phytec board. No internal memory except 16kB of RAM. I am using 2M of external flash and 1M of external RAM. I have followed your advice, Richard, and removed all code and xdata instances. I have modified lcd_update, where it says lcd_dat_out so that i can implement my own SPI serial send because gLCD uses a primitive 'bit banging' function to do its serial send (i think i m right on this). The declaration of my SPI serial send is a simple function API called 'writedisplay(data, com)' where 'com' is to let the LCD know that what i m sending is either a command or data and parameter 'data' is simply hex numerals. i use a similar SPI function to the one stated in one of the LPC application notes. I still have nothing on my display after all that and my writedisplay function works because i have it working perfectly on another project. Anymore ideas? I cannot really say more on the project. I would have to kill you all. Hehehe ;) Feel free to abandon the thread if you guys feel tired of my inexperience in these matters. :} Thanks. M. --- In lpc2000@yahoogroups.com, newmanrf@... wrote: > > > 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't pay attention to what's > in code and what's 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 >
Message
Re: Using Hantronix Chip on glass technology LCD Modules
2006-05-25 by wickedmonster2002
Attachments
- No local attachments were found for this message.