This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

xdata declaration result in uncertain output

hi there, i am danish working on the project which included 2 X 8 7-segment display,AT89S52 microcontroller, v to f converter which act as ADC 24c04 eeprom etc. as step by step developing the code all thing are going smothly.but now when i want to add some code it give's the error as
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: _DATA_GROUP_ LENGTH: 001FH
Target not created

so i used xdata this solved the problem at the software end on computerwith
"new" - 0 Error(s), 0 Warning(s).
but when i used it in hard ware it disturb the display.
can anyone help me in this problem.

  • but now when i want to add some code it give's the error as

    How about posting the code ?

    Have you read the error description and understood what causes the error ? You're trying to use more of a certain memory type than there is available.

    so i used xdata this solved the problem at the software end

    Have you understood all the implications this "using xdata", and what this means for your program ? I.e. memory maps, or the need to activate the internal xdata memory of your chip first, or the slower access times of variables in xdata memory ?

    "new" - 0 Error(s), 0 Warning(s).
    but when i used it in hard ware it disturb the display.

    Without knowing more about the code, any attempt at diagnosing the problem is pure guesswork.

  • as the internal RAM is full so using by XDATA i am trying to use the internal XDATA memory.

  • Does your particular chip have internal XDATA?

    Does it need to be enabled and/or configured? If so, have you done that?

    Remember, just checking the 'Use XDATA' box in uVision is simply for the information of the tools - it does not do anything to configure the target hardware.