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.
I am trying to get the pdata access to work but keep running into this
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: PDATA SEGMENT: ?PD?RAE LENGTH: 000026H
I am using the actel core8051 module.
The STARTUP.A51 pdata is set as follows:
PPAGEENABLE EQU 1 PPAGE EQU 0xBF PPAGE_SFR DATA 0A0H
The only thing in the program I have declared in pdata is a 26 byte structure.
I set PDATA(x:0xBF00-x:0xBFFFF) in the userclass for the LX51 linker.
I indeed see this PDATA space allocated (or maybe recognized is a better word) in the *.MAP file, but of course the image isn't created because of the error.
When I do this I always get the error listed above. However, if I do not include the PDATA info to the linker, the program compiles without error (but I assume the pdata would point to 0x0000 if the linker doesn't know better).
What am I missing here? I was trying to set this up to map to xdata space 0xBF00-0xBFFF.
Thanks
Eddie