Hi! I have rather a program running on a ADuc 824 (256Bytes DATA RAM?). When I link I get the following errors: ERROR L107: ADDRESS SPACE OVERFLOW SPACe: DATA SEGMENT: ?DT?FNCAPTUREDATA?PTSC_UH LENGTH: 000005H ERROR L107: ADDRESS SPACE OVERFLOW SPACe: DATA SEGMENT: ?DT?FNFLASHREAD?PTSC_UH LENGTH: 000004H ERROR L107: ADDRESS SPACE OVERFLOW SPACe: DATA SEGMENT: ?DT?FNDELAY?PTSC_UH LENGTH: 000004H All the segments are Functions. The memory map gives: data =151.0 xdata =49152 const=0 code=3403 If I reduce data to 117 by removing some variables I do not get this error. How do I use these functions AND keep my variables? All the best Andrew
If you are using optimisation level 2 or greater then data overlaying is enabled. I think you should take a look at the .map file to find out exactly what is going where in your data space.