Re: 8051: writing to memory in the program




Chris Hills wrote:
It depends on which compiler you are using.
When you write to flash the data stays after power down.

So all you have to do is store it to specific addresses in the 8K of
flash. The syntax will be compiler specific.

and chip specific, and of course, as I said before, the AT89S52 does
NOT allow writes to FLASH, and has no EEPROM, so that's
a brick-wall.

The OP needs to go to the link I gave before,
http://www.atmel.com/dyn/products/param_table.asp?family_id=604&OrderBy=part_no&Direction=ASC
and look at the SelfPgmMemory and EEPROM columns.

If the task he wants is EE_XData storage, then choose any device with
EE ability, if it is CODE space he wants to write to, choose
any device with SelfPgmMemory
One with both, can do any mix of the two.

-jg

.



Relevant Pages

  • Re: Rebel XT and Mac OS9: impossible to combine??
    ... > You could also consider loaners - see if the store will let ... borrow a camera to shoot their daughter's wedding. ... My 5700 definitely meters flash even when using an external ... > a big zoom range, ...
    (rec.photo.digital)
  • Re: [Full-Disclosure] RE: Internet Explorer and Opera local zone restriction bypass
    ... but with Macromedia and their Flash player. ... > The issue is caused by Macromedias decision to store the contents of your ... anyway flash cookies are not plaintext, they are binary files, he just ... doubt we will see any malicious use of the local file redirection variation ...
    (Full-Disclosure)
  • Re: ground salute legality
    ... You can't sell or store it as well. ... explosives and use them the same day, ... The law is not so vague as to define all powders which bang and flash, ... I store no ground salutes and ...
    (rec.pyrotechnics)
  • Re: Dark building light ideas
    ... things to do, is to take a lot of digital photos, and email ... To suppliment the light that my flash camera provides. ... The last time I was in the store, ... using a blue filter over the incandescent light ...
    (alt.home.repair)
  • Re: does a Linux-on-a-USB-stick installation allow me to store data on USB?
    ... Do these Linux-on-a-stick systems allow me to store my data on the same USB ... There are 8G flash sticks on the market, ... As far as the DIY part, the technical problems of setting up to boot from ...
    (comp.os.linux.misc)