??? 07/03/09 08:44 Read: times |
#166688 - Basics: 8052 Memory Spaces Responding to: ???'s previous message |
Munish Kumar said:
1) How to allocate 504 Bytes in RAM? I tried unsigned char image_buffer[504] but it says error C249: 'DATA': SEGMENT TOO LARGE (for any array >128 Bytes) You do realise, don't you, that the 8051 architecture has several different memory spaces, and the DATA space is only 128 bytes? If you didn't realise that, you need to study the so-called "bible" for the 8051 before you go any further! See: http://www.8052.com/faqs/120112 See also: http://www.8052.com/forum/reply/tutorial For how to use these in Keil C51, you will need to study the C51 Manual; specifically: http://www.keil.com/support/m...mareas.htm See also: http://www.keil.com/support/m...models.htm |
Topic | Author | Date |
How to use on-chip RAM for array storage in Keil? | 01/01/70 00:00 | |
Basics: 8052 Memory Spaces | 01/01/70 00:00 | |
The message doesn't exist | 01/01/70 00:00 | |
data, xdata | 01/01/70 00:00 | |
Incorrect | 01/01/70 00:00 | |
Getting it now.... | 01/01/70 00:00 | |
Not quite | 01/01/70 00:00 | |
I got it completely now! | 01/01/70 00:00 | |
Some possible answers..Munish | 01/01/70 00:00 | |
Thanks! | 01/01/70 00:00 | |
"RAM" and "Data Memory" are not synonymous | 01/01/70 00:00 | |
Agreed | 01/01/70 00:00 | |
NO WAY | 01/01/70 00:00 | |
Thanks for correcting me![]() | 01/01/70 00:00 |