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,
during compilation of my program i have been getting too many address overflow errors. Mostly the errors were due to function arguments placed in the data space instead of xdata...i solved it using the 'large' keyword..however now i get this error on a particular formula im implementing...viz."DecED1 = (DecCurrAss1 - DecReb1) * 0.125;" all of them are xdata float...how do i solve this..?
below is a part of the error log..
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_BUFFER2PAGE?STSBMV1 LENGTH: 0047H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?GET_KEY?STSBMV1 LENGTH: 0045H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?CF_BITS?STSBMV1 LENGTH: 0045H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?C?LDIV LENGTH: 0044H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?DISP_INITIAL?STSBMV1 LENGTH: 0040H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_CLR?FILEDOWNLOAD LENGTH: 003DH *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_DEBUG?FILEDOWNLOAD LENGTH: 003CH *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?SOFTKEY_ON?STSBMV1 LENGTH: 003BH *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?SCREENINIT?FILEDOWNLOAD LENGTH: 003BH *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_CONVERTDATE2?FILEDOWNLOAD LENGTH: 0037H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_WRITE_OP?FILEDOWNLOAD LENGTH: 0036H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?CO?MICRO1 LENGTH: 0036H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?CO?MICRO2 LENGTH: 0036H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?DISP_TIME?STSBMV1 LENGTH: 0033H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_DISP_MSGB?STSBMV1 LENGTH: 0031H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_PRT_MSG?STSBMV1 LENGTH: 002EH
too many address overflow errors
do you mean that few of them are acceptable...? :-)
anythin is acceptable if it compiles and builds me a hex file ;)...by the way the adress overflow is in the code space...the code size is 67002..n MCu is 8032 Generic...any workaround for this....?
"the code size is 67002"
And you are surprised that you have a code space overflow??!
Think about it: what is the maximum code space supported by a generic 8032...?
Hint: What is the size of the address bus...?