We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Since using xdata, there is used for external RAM. The program file is hex. then, the part of xdata, where is located?
Thank you for all reply. These replies are all useful. How to create the file such as *.xk(k=1..31 or 63), which is part of program used for programmer pogramming. How to produce the file used for EEPROM? whether the program used xdata, there should create two files? one is 8051 hex file, another file is used for EEPROM?
That means how to set the envirnoment for code banking, such as how to create the code banking file? Whether should have a L51_bank.obj and L51_bank.a51 ? such as I have a file 'extRAM.c' the program is over 4k for 8051. then how to creat the code bank file?
the program is over 4k for 8051. then how to creat the code bank file? I think you have totally misunderstood the purpose of banking. The purpose is NOT to cram more code into the same size memory (that would be impossible), the purpose is to allow more memory than the 64k the '51 can address. If you code size is less than 64k, do not consider banking. Erik
My progam 'DATA' segment is too large, how to solve it ?
First, 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! You need to read the following documents - commonly referred to as "the bible" for the 8051 - then you will understand where all this DATA, IDATA, XDATA and stuff comes from: 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
My progam 'DATA' segment is too large, how to solve it ? excellent! do not respomnd to previous posts, just lop more stuff in. There is no way this forum can relieve you from the task you evidently dread of reading the manuals. Read the documents Andy refer to and then come back. Erik
"excellent! do not respomnd to previous posts, just lop more stuff in." And, for best results, make it unrelated Stuff!!