[sdiy] Rotary Switch -> illuminated PB w/ multicolor LED?
sleepy_dog at gmx.de
sleepy_dog at gmx.de
Wed Feb 16 21:39:07 CET 2022
Flash wear:
One can heavily mitigate the problem by implementing a wear leveling
algorithm, though.
Depending on the concrete hardware & application requirements, one might
get away with a pretty simple scheme. I've done that in the past and it
worked very well.
If you only have very limited flash size, it's of not much help, but if
you have, say, 10x the amount you need to save, you can reduce the wear
of the flash to 1/10, by spreading it out perfectly evenly.
Jay Schwichtenberg via Synth-diy:
> Yes you have to pay attention to the number of writes to flash. I did
> embedded/bare metal work before I retired and there were 2 times I
> wore out the program flash in uCs. These were NXP chips and they were
> probably programmed 10-20 times over 9-12 months.
>
> Jay S.
>
> On 2/15/2022 10:10 PM, Brian Willoughby wrote:
>> The replies about EEPROM versus Flash are correct. An EEPROM will
>> last through 10 times as many writes as a Flash device. Some of the
>> high capacity devices are actually 1/100 of an EEPROM's duration, but
>> I doubt anyone is putting 16GB of NV memory in a module. The only
>> downside is thet EEPROM memory sizes are much smaller, but that won't
>> affect storage of a 2-bit or 3-bit setting. Many PIC and other micro
>> controllers have both Flash and EEPROM for code and settings,
>> respectively.
>>
>> Brian
>> _______________________________________________
>> Synth-diy mailing list
>> Synth-diy at synth-diy.org
>> http://synth-diy.org/mailman/listinfo/synth-diy
>> Selling or trading? Use marketplace at synth-diy.org
More information about the Synth-diy
mailing list