??? 07/10/09 11:01 Read: times |
#166994 - a long time ago Responding to: ???'s previous message |
Apparently back in the 80's I learned that the only safe RAM area to read and write from, and use as standard "scratch pad" memory was from 30H to 7FH. Beyond those bounds you were corrupting either the stack or register banks, or SFR's. This was on the 8031 where external memory reigned supreme in designs. If you wanted RAM you used a separate RAM chip with a battery for storage (or a very expensive super-cap).
I am using the AT89LP4052 in this design and a EEPROM for storage of values set into a RTC and changed once a month. The EEPROM is read only once during power up and these values are loaded into RAM for manipulation. A request to expand the features of this design have forced me to look for more internal RAM, otherwise the EEPROM gets read and written to once a minute - watching for alarm trigger points - and it's R/W life cycle would end quickly. Easier to load the trigger points into internal RAM and only R/W the EEPROM upon power up or value change. The customer didn't want to use a FRAM as it increased the cost of the design's component cost beyond it's target price. |
Topic | Author | Date |
Stack Pointer and available RAM | 01/01/70 00:00 | |
"Internal" RAM - basics | 01/01/70 00:00 | |
some confusion with your links | 01/01/70 00:00 | |
Follow: can I use 08H through 2FH for general purpose RAM | 01/01/70 00:00 | |
08 thru 2F as additional RAM | 01/01/70 00:00 | |
use the indirect method for upper RAM, take care of Stack | 01/01/70 00:00 | |
the limits for simple storage | 01/01/70 00:00 | |
Direct method, Indirect Method or C compiler ? | 01/01/70 00:00 | |
READ "THE BIBLE" | 01/01/70 00:00 | |
Tell us which exact 80c51 you are using | 01/01/70 00:00 | |
Really?? | 01/01/70 00:00 | |
a long time ago | 01/01/70 00:00 | |
Another option for usage of Register Banks | 01/01/70 00:00 | |
instead of getting it piecemeal | 01/01/70 00:00 | |
I think therefore I ask | 01/01/70 00:00 | |
WRONG | 01/01/70 00:00 | |
according to the PDF | 01/01/70 00:00 | |
Program in Assembler?? | 01/01/70 00:00 | |
assembler only![]() | 01/01/70 00:00 |