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.
Hello!! I am trying to program a code for my project. But, after building the code in Keil uVision4, I am getting following errors:
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: ?DT?GEOFENCE LENGTH: 0066H *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: LATITUDE2 SEGMENT: ?DT?GEOFENCE Program Size: data=111.4 xdata=0 code=505 Target not created
Can anybody help me in this problem?
The controller I am using is 89V51RD2. It has got 64kB of code flash & 1kb of RAM. I want to use this controller for the project "Vehicle Security using GPS & GSM" I think this controller has got sufficient memory for storing data from GPS & GSM Modem. Still, I am having this problem.
The Linker is clearly telling you otherwise!
It does not matter what you think - you need to check carefuly and verify for sure! The compiler Listing output files give details of the memory usage of your source modules...
As already noted, the 8051 has multiple, distinct memory areas - so you need to pay attention to how you use them.
You need to spend (some more) time in basic study of the 8051 architecture, and the Keil C51 tools:
http://www.8052.com/tutorial http://www.keil.com/books/8051books.asp http://www.keil.com/support/man_c51.htm In particular http://www.keil.com/support/man/docs/c51/c51_le_memareas.htm
In your Keil installation, look for a file named GS51.CHM (was a PDF in older versions); it is the Getting Started Guide - as the name suggests, this is an important document for you to study as a beginner! Be sure to follow through the worked examples!
Note also the Application Notes and Examples at http://www.keil.com/support/ and from your chip manufacturer