Atmel 8051: use program flash for data storage?
From: andrew queisser (andrew.queisser_at_hp.com)
Date: 02/25/04
- Next message: Pete Fenelon: "Re: hc11 program help"
- Previous message: Joris Dobbelsteen: "Re: low-power x86 computer"
- Next in thread: Max: "Re: Atmel 8051: use program flash for data storage?"
- Reply:(deleted message) Max: "Re: Atmel 8051: use program flash for data storage?"
- Reply: Jim Granville: "Re: Atmel 8051: use program flash for data storage?"
- Reply: Neil Bradley: "Re: Atmel 8051: use program flash for data storage?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 Feb 2004 09:03:33 -0800
I've got a Atmel 8051 (T89C51RD2) with 64K flash. Can
I use part of the program flash for data storage? From the
data*** it seems like I should be able to use the on-chip
low-level routines to program up to 128 bytes with the
PROGRAM DATA PAGE call and read bytes with the
MOVC opcode.
I'm envisioning reading some data from flash into RAM,
doing some processing and then writing it back to flash.
Are there fundamental problems with this approach? The
data*** is a bit vague but it doesn't mention any restrictions
on a user application reprogramming the flash, other than
the process being a bit slow and good for only about 100K
times.
By the way, is the 100K per byte, per page or for the whole
flash area?
Thanks,
Andrew Queisser
- Next message: Pete Fenelon: "Re: hc11 program help"
- Previous message: Joris Dobbelsteen: "Re: low-power x86 computer"
- Next in thread: Max: "Re: Atmel 8051: use program flash for data storage?"
- Reply:(deleted message) Max: "Re: Atmel 8051: use program flash for data storage?"
- Reply: Jim Granville: "Re: Atmel 8051: use program flash for data storage?"
- Reply: Neil Bradley: "Re: Atmel 8051: use program flash for data storage?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]