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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/14/13 15:22
Read: times


 
#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            01/01/70 00:00      
   maybe a bit fuzzy            01/01/70 00:00      
   "bible" time - 8051 Memory Spaces            01/01/70 00:00      

Back to Subject List