Hi, this is my first post in the gruop, i'm working whit a 430F2272 and i
have a doubt about the flash memory
My program will be datalogging temperature values one time per second and i use
2 bytes for one value which i like to store in the flash.
The problem is if a flash segment has 64 bytes if i write only 2 bytes, i will
be writting about 32 times after complete that segment. i already try to do this
without erasing cycles between the 32 writes and it works perfectly.
The flash memory can be write 10.000/100.000 times without problems, but to
count a write cycle i must erase it?, the minimal 10.000 times was only for
erasing cycles?
sorry about my english, its hard for me to explain tecnical things in another
languages :)
Flash Memory Write/Erase cycles
Started by ●March 26, 2009
Reply by ●March 26, 20092009-03-26
xerafian wrote:
> Hi, this is my first post in the gruop, i'm working whit a 430F2272 and i have a doubt about the flash memory
>
> My program will be datalogging temperature values one time per second and i use 2 bytes for one value which i like to store in the flash.
> The problem is if a flash segment has 64 bytes if i write only 2 bytes, i will be writting about 32 times after complete that segment. i already try to do this without erasing cycles between the 32 writes and it works perfectly.
> The flash memory can be write 10.000/100.000 times without problems, but to count a write cycle i must erase it?, the minimal 10.000 times was only for erasing cycles?
>
Here is the definitive paper on the flash:
Writes create a cumulative stress and with multiple writes between
erasures you want to make sure your write clock is right.
Best, Dan.
--
email: y...@lakeweb.net but drop the 'x'.
> Hi, this is my first post in the gruop, i'm working whit a 430F2272 and i have a doubt about the flash memory
>
> My program will be datalogging temperature values one time per second and i use 2 bytes for one value which i like to store in the flash.
> The problem is if a flash segment has 64 bytes if i write only 2 bytes, i will be writting about 32 times after complete that segment. i already try to do this without erasing cycles between the 32 writes and it works perfectly.
> The flash memory can be write 10.000/100.000 times without problems, but to count a write cycle i must erase it?, the minimal 10.000 times was only for erasing cycles?
>
Here is the definitive paper on the flash:
Writes create a cumulative stress and with multiple writes between
erasures you want to make sure your write clock is right.
Best, Dan.
--
email: y...@lakeweb.net but drop the 'x'.
Reply by ●March 27, 20092009-03-27
--- In m..., Dan Bloomquist wrote:
>
> xerafian wrote:
> > Hi, this is my first post in the gruop, i'm working whit a 430F2272 and i have a doubt about the flash memory
> >
> > My program will be datalogging temperature values one time per second and i use 2 bytes for one value which i like to store in the flash.
> > The problem is if a flash segment has 64 bytes if i write only 2 bytes, i will be writting about 32 times after complete that segment. i already try to do this without erasing cycles between the 32 writes and it works perfectly.
> > The flash memory can be write 10.000/100.000 times without problems, but to count a write cycle i must erase it?, the minimal 10.000 times was only for erasing cycles?
> >
> Here is the definitive paper on the flash:
> Writes create a cumulative stress and with multiple writes between
> erasures you want to make sure your write clock is right.
>
> Best, Dan.
>
> --
> email: yotox@... but drop the 'x'.
>
i have already read that paper but i can't understand if i erase one segment and write it 32 times without erasing, have i lost 33 cycles of the flash? or only when i erase it for 2nd time i will really using the second cycle.
>
> xerafian wrote:
> > Hi, this is my first post in the gruop, i'm working whit a 430F2272 and i have a doubt about the flash memory
> >
> > My program will be datalogging temperature values one time per second and i use 2 bytes for one value which i like to store in the flash.
> > The problem is if a flash segment has 64 bytes if i write only 2 bytes, i will be writting about 32 times after complete that segment. i already try to do this without erasing cycles between the 32 writes and it works perfectly.
> > The flash memory can be write 10.000/100.000 times without problems, but to count a write cycle i must erase it?, the minimal 10.000 times was only for erasing cycles?
> >
> Here is the definitive paper on the flash:
> Writes create a cumulative stress and with multiple writes between
> erasures you want to make sure your write clock is right.
>
> Best, Dan.
>
> --
> email: yotox@... but drop the 'x'.
>
i have already read that paper but i can't understand if i erase one segment and write it 32 times without erasing, have i lost 33 cycles of the flash? or only when i erase it for 2nd time i will really using the second cycle.
Reply by ●March 27, 20092009-03-27
xerafian wrote:
> --- In m..., Dan Bloomquist wrote:
>
>> Here is the definitive paper on the flash:
>>
>>
>>
> i have already read that paper but i can't understand if i erase one segment and write it 32 times without erasing, have i lost 33 cycles of the flash? or only when i erase it for 2nd time i will really using the second cycle.
>
According to the paper the charge pump is run for both reads and writes
on the whole segment. So every read and write stresses the segment and
wares it out.
Best, Dan.
--
email: y...@lakeweb.net but drop the 'x'.
> --- In m..., Dan Bloomquist wrote:
>
>> Here is the definitive paper on the flash:
>>
>>
>>
> i have already read that paper but i can't understand if i erase one segment and write it 32 times without erasing, have i lost 33 cycles of the flash? or only when i erase it for 2nd time i will really using the second cycle.
>
According to the paper the charge pump is run for both reads and writes
on the whole segment. So every read and write stresses the segment and
wares it out.
Best, Dan.
--
email: y...@lakeweb.net but drop the 'x'.
Reply by ●March 27, 20092009-03-27
Dan Bloomquist wrote:
> xerafian wrote:
>
>> --- In m..., Dan Bloomquist wrote:
>>
>>
>>> Here is the definitive paper on the flash:
>>>
>>>
>>>
>>>
>> i have already read that paper but i can't understand if i erase one segment and write it 32 times without erasing, have i lost 33 cycles of the flash? or only when i erase it for 2nd time i will really using the second cycle.
>>
>>
> According to the paper the charge pump is run for both reads and writes
> on the whole segment. So every read and write stresses the segment and
> wares it out.
>
>
Sorry, substitute 'read' for erase...
Best, Dan.
--
email: y...@lakeweb.net but drop the 'x'.
> xerafian wrote:
>
>> --- In m..., Dan Bloomquist wrote:
>>
>>
>>> Here is the definitive paper on the flash:
>>>
>>>
>>>
>>>
>> i have already read that paper but i can't understand if i erase one segment and write it 32 times without erasing, have i lost 33 cycles of the flash? or only when i erase it for 2nd time i will really using the second cycle.
>>
>>
> According to the paper the charge pump is run for both reads and writes
> on the whole segment. So every read and write stresses the segment and
> wares it out.
>
>
Sorry, substitute 'read' for erase...
Best, Dan.
--
email: y...@lakeweb.net but drop the 'x'.
Reply by ●April 1, 20092009-04-01