[SOLVED] Problem while compiling program through Keil uvision3

Status
Not open for further replies.

Sudhp

Member level 4
Joined
Oct 11, 2013
Messages
69
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
India
Activity points
528
I m working on keil uvision3......
while compiling program I found...
...........
..........
*** ERROR L107: ADDRESS SPACE OVERFLOW
SPACE: DATA
SEGMENT: ?DT?MAIN
LENGTH: 006DH
...........
............
..........
Program Size: data=153.1 xdata=0 code=6045
Target not created

the hex file size is 17k...
I m using NXP89v51rd2.....
can any body tell me why is it happening while micro has 64 k flash memory......
 

The message is pretty clear, out-of data RAM.

You may want to move some variable to yet unused XDATA space by adding memory type specifiers to the definition.
 

The message is pretty clear, out-of data RAM.

You may want to move some variable to yet unused XDATA space by adding memory type specifiers to the definition.

thanks for the reply....
as I m new in programming field....
what is XDATA mean and what do u mean by out of RAM....

please........thanks again
How can I overcome frm this problem.....
 
Last edited:

please read carefully datasheet of 8051 mcu and getting started with u vision 3 ide help file .
 

P89v51rd2 has 1K RAM, but only part of it is accessible as default DATA memory space. Different memory types and how to define it in C code are well explained in Keil C51 manual.
 
Reactions: Sudhp

    Sudhp

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…