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.
hi,
i have a machine with 12mb of flash...however when i compile my program in keil i get the following error ...my code is loaded into flash...however how do i tell the keil linker about this n ask it to stop giving me address space overflow errors..do i have to specify the off chip xdata ram and off chip code in particular...right now its in default
below is the error log...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?BILLPROCESSCOMMERCIALUTOD?FILEDOWNLOAD *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?BILLPROCESSINDUSTRYUTOD?FILEDOWNLOAD *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?CALCULATEED?FILEDOWNLOAD LENGTH: 427EH *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?CALCULATEED?FILEDOWNLOAD LENGTH: 427EH *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?CALCULATEMETERRENT?FILEDOWNLOAD LENGTH: 3818H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?CALCULATEMETERRENT?FILEDOWNLOAD LENGTH: 3818H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?CO?FILEDOWNLOAD LENGTH: 2DA9H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?CO?FILEDOWNLOAD LENGTH: 2DA9H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?CALCULATEREB?FILEDOWNLOAD LENGTH: 200CH *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?CALCULATEREB?FILEDOWNLOAD LENGTH: 200CH
This is not a "Non-Specific (Generic)" question - it is very specific to the particular chip & tools that you are using.
Therefore, you need to state what particular chip & tools you are using before anyone can give any meaningful answers!
"how do i tell the keil linker..."
The specific Linker Manual documents the available options for that Linker; The uVision Manual tells you how to set these options via the GUI.
http://www.keil.com/support/man/