Keil Logo Arm Logo

xdata declaration result in uncertain output

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
danish p.
Posted
27-Dec-2006 05:23 GMT
Toolset
C51
New! 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.

Read-Only
Author
Christoph Franck
Posted
27-Dec-2006 09:36 GMT
Toolset
C51
New! RE: xdata declaration result in uncertain output

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.

Read-Only
Author
danish p.
Posted
27-Dec-2006 10:25 GMT
Toolset
C51
New! RE: xdata declaration result in uncertain output

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

Read-Only
Author
Andy Neil
Posted
27-Dec-2006 10:57 GMT
Toolset
C51
New! Does XDATA exist, and is it correctly configured?

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.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.