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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Rohan Dey
11/14/13 08:22
Read: 3433 times
Kolkata
India


 
#190133 - DATA SEGMENT TOO LARGE
Hi,

I am getting the following error while compiling. I am using Keil IDE.
error C249: 'DATA': SEGMENT TOO LARGE

I am using P89V51RD2 chip from NXP which has 64Kb of ROM and 1Kb of RAM. My code has some global variables which are around 150 Bytes. As far as I understand the global variables are allocated in the data segment of the RAM. But with 1KB RAM I expect the data segment to be more than 150 Bytes.

Is there any compiler settings by which I can increase the Data Segment Size? Or any other method to resolve this error. Please send in your valuable comments.

Thanks,
Rohan

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