Greetings, My processor is a Dallas DS80C320.
I'm programming along saving, compiling and testing as I go. I have now received the following error: "L107 Address Space Overflow" That was my "first" error - at the top of the list. I have more errors, the next one is: "L105 Public refers to ignored segment".
Do I not have something not setup correctly?
My code is that that big (maybe it is), I don't believe I should have reached a size upper limit - unless I need to specify something. In my directory, the lst file is 87K, the hex file is 36k. The c code is 2288 lines with many comments.
Help?
Thanks Sparky
No I didn't know the 8051 architecture has several distinct address spaces. I have found them now (Small, Compact and Large). BALONEY, this is ridiculous small etc are NOT "address spaces"
Any chance (for the NOW) you can point me to some help, you have two choices: 1) bungle alonng and spend a lot of time with 'unknown effcts' 2) study "the bible"
Erik
here are the links to "the bible" Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
Erik -
So sorry that my terminology is wrong.
When Andy suggested "several distinct RAM address spaces", I started going through the various menus and found under Project - under Options For Target - a menu for Memory Model with the choices of Small, Compact and Large - moving up from small allowed me to compile.
Again sorry for my wording.
Thanks Sparky_
You really need to start with the manuals so that you understand what you're doing - rather than just thrashing-about in the menus hoping to get lucky...
You should start here:
http://www.keil.com/support/man/docs/gs/
There are examples to work through...