8051: writing to memory in the program
I'm learning the 8051 type microcontroller now and using the Atmel
89s52 microcontroller. There are 2kb of RAM and 8kb of flash memory.
I'd like my program to be able to write some data to memory while
running, so these data can be remembered when power down and can be
retrieved at power up.
Is there a way to do it? How do I do such a write with embedded c?
Thanks
.
Relevant Pages
- Re: Since OSX will be moving to Intels...
... such a function is software bound? ... I mean, all it takes for it to function is for RAM to be written to disk at shutdown and if a RAM file exists, load it at startup. ... When we had people connected to a VAX and had a power failure, and then when the power came back, all they had to do was log back in and type "EDIT/RECOVER filename" and not one keystroke during an edit session was ever lost. ... just need expensive flash memory and a bit of rechargable battery power to save the last state of the processes. ... (comp.sys.mac.advocacy) - Re: TECH: 6116 Ram replacement with Zeropower M48Z02/12
... I've used the Simtek parts in non-pinball related designs. ... At power up - the Simtek's copy data from the non-volatile Flash memory into the volatile RAM memory. ... At power down - the Simtek detects power down and automagically copies the contents of the RAM back into the FLASH memory right before power gos away. ... (rec.games.pinball) - Re: 8051: writing to memory in the program
... There are 2kb of RAM and 8kb of flash memory. ... retrieved at power up. ... What I think you are seeking, is a self-pgm, or what is commonly called ... (comp.arch.embedded) - Re: 8051: writing to memory in the program
... 89s52 microcontroller. ... There are 2kb of RAM and 8kb of flash memory. ... retrieved at power up. ... (comp.arch.embedded) - Re: TECH: Replacing NiCad to Lithium Batteries???
... Simtek makes wonderful memory - I have used these in several of my ... hold setting while power is removed). ... The Flash memory has a limited life of something in excess of 1 million (if ... I remember correctly) write cycles where each cycle is a complete copyover ... (rec.games.pinball) |
|