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
*** 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...
Note that "DATA" (uppercase) here is being used in the specific sense of Keil's DATA Memory Area - which is not the same thing as the generic English word, "data" (lowercase).
As already noted, you need to study the 8051 documentation about the different memory areas.
You also need to study Keil's documentation on how they have implemented it as extensions to the standard 'C' programming language:
http://www.keil.com/support/man/docs/c51/c51_le_memareas.htm
http://www.keil.com/support/man/docs/c51/c51_le_memtypes.htm