Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Andy Neil
11/14/13 16:52
Read: 1126 times
Basingstoke
Uk


 
#190139 - "bible" time - 8051 Memory Spaces
Responding to: Rohan Dey's previous message
Rohan Dey said:
I am using P89V51RD2 chip from NXP which has ... 1Kb of RAM

Note that's the sum total of all the RAM on the chip- it's not one contiguous block of RAM.

Specifically, in Keil, DATA refers to the 128-byte directly-addressable memory space.

Is there any compiler settings by which I can increase the Data Segment Size?

No - it is fixed by the hardware architecture.

http://www.danlhenry.com/mfg/phili...ARCH_1.pdf - specifically, pp 1-3
http://www.danlhenry.com/mfg/phili...WARE_1.pdf
http://www.danlhenry.com/mfg/phili...UIDE_1.pdf

Or any other method to resolve this error

Move stuff out of DATA and into other (IDATA, XDATA/PDATA) address spaces...

http://www.keil.com/support/m...mareas.htm




List of 3 messages in thread
TopicAuthorDate
DATA SEGMENT TOO LARGE      Rohan Dey      11/14/13 08:22      
   maybe a bit fuzzy      Erik Malund      11/14/13 11:43      
   "bible" time - 8051 Memory Spaces      Andy Neil      11/14/13 16:52      

Back to Subject List