Hi I have been learning to use 128x64 LCD module with AT89C51 and I have been using FastLCD for converting bmp into a table of bytes. I have use the table in my codes and tried to compile it. I get the result - auto segment too large. How to put all bytes in my codes in order to display picture on my 128x64 LCD module. I don't understand it. What is the problem? Manoz Joshi
"what is your best advice for me to solve this problem out?" Your 1st problem seems to be that you know nothing about the 8051 architecture. Before setting off on, say, the Paris-Dakar motor rally, it is generally a good idea to take a few driving lessons! For the 8051 family, You need to read the following documents - commonly referred to as "the bible" for the 8051: Chapter 1 - 80C51 Family Architecture: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf Chapter 3 - 80C51 Family Hardware Description: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf You can then start planning your project, and giving sensible answers to questions like, "how much memory will it take?" Are you also a newbie to 'C' programming in general? If so, you'll also need a good 'C' textbook. To understand the Keil tools, you need to read the uVision Getting Started guide, and work through the example projects in it. This will give you a proper introductions to the tools, how they work, and how to use them - rather than just jumping-in blindly at the deep-end!
1) you clearly need to follow Andys suggestion above 2) Ahh I understand now it has to do with my AT89C51 because of its small memory size. NO, because of insufficient DATA memory. Good job that I have set the hardware layout on my breadboard because I want to learn it as part of my experiment. Breadboarding is a bad idea, especially with modern derivatives. Ge a "development board". I guess I need to find 40 pins chip with 8K 32K or 64K internal RAM. Any recommendaton? did I not just give you one? Anyhow, get going with "the bible" a C book and the "getting started guide, then come back Erik
Fine You are right. I better take Andy's advice and go through everything. I have been using keil software for a while but the problem is how do I know that my codes will be fitted within the data memory in any microcontroller chip? Then I can select the microcontroller carefully in the future. Manoz Joshi