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?
What Andrew has pointed out to you more than once is the fact that you are overflowing your data space. Look at your device user manual for data memory, idata memory, SFR memory and XRAM. Your 1K of RAM probably exist as XRAM, not data memory.
Look at your 'Getting Started Manual' for examples for implicit and explicit memory addressing. Always use XRAM for arrays and large structs. Use the data memory for automatics or small vars that require rapid access.
Bradford
Note you 1K of RAM is most likley part in XData and part in Data right for NXP Your 1K of RAM probably exist as XRAM, not data memory. wrong for NXP
the many memory spaces of the '51 has led to many interpretations of how to "sell" the memory size.
Erik
"the many memory spaces of the '51 has led to many interpretations of how to "sell" the memory size."
None of them probably wrong. It's always the users task to read through the datasheets/user manuals and learn what they have, what it can do and what it can not do. Assumption is the mother of all *** ups.
The usual way to sell anything is to quote it so as to give the biggest number possible.
In the case of 8051 RAM, that usually means adding up everything and quoting the sum.
As always, and as has already been noted, it is up to the reader to take care to find out what the number actually means!