Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Error in Keil L-107 Address Space Overflow

Status
Not open for further replies.

gauravkothari23

Advanced Member level 2
Joined
Mar 21, 2015
Messages
640
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,298
Activity points
6,922
HI all,
I am working on a project based on Electronic lockers using 89V51RD2 microcontroller. and keil for programming.
but when i try to compile i am getting an error
Code:
*** ERROR L107: ADDRESS SPACE OVERFLOW
    SPACE:   DATA    
    SEGMENT: ?DT?SAS_USING_89V51RD2
    LENGTH:  006BH
Program Size: data=160.1 xdata=0 code=9272
Target not created

As per the datasheet of controller i am using, it contains the 1-KB of data ram and 64-KB of Flash memory.
so why i am getting this error in keil while i am trying to build it...
please give me an solution to this.
thanks...
 

In 8051 compiler, all data objects are assigned by default to the 128 Byte data segment, not using xdata at all, as shown in the linker report.

Take time to read the C51 user manual section about different data memory sections and how to assign them in C code.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top