??? 07/03/09 09:16 Read: times |
#166695 - Not quite Responding to: ???'s previous message |
Munish Kumar said:
Data segment for a classic 8051 is 128 Bytes & for an 8052 is 256 Bytes No. The Data segment is only ever 128 bytes; The additional "internal" (sic) RAM of the 8052 is Idata. I was able to increase the buffer size to 239 with:
idata unsigned char image_buffer[239]; Beware that the Stack requires idata... But what about my 508 Byte array? Seems I would have to use external RAM!? You would have to use Xdata - which may or may not be physically "external" to the chip... |
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 |