Re: 8051: writing to memory in the program
- From: "-jg" <Jim.Granville@xxxxxxxxx>
- Date: 11 Jan 2007 18:42:16 -0800
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
.
- References:
- 8051: writing to memory in the program
- From: wanwan
- Re: 8051: writing to memory in the program
- From: Chris Hills
- 8051: writing to memory in the program
- Prev by Date: Re: Multilayer boards are for hiding your work, not simplifying fanout or clean power planes
- Next by Date: Re: infrared wall to detect an object
- Previous by thread: Re: 8051: writing to memory in the program
- Next by thread: Re: 8051: writing to memory in the program
- Index(es):
Relevant Pages
|