Skip to contentSkip to conversation

Data Reliability

DISCUSSION Bob Canup 1 participant 1 message Dec 7, 1999 Memory technology devices (MTD)

lore
Share & tools
lore

Bob Canup

author
#0 lore raw

Is Vipin correct that there is a problem if there is a power loss when writing to flash in embedded systems? Yes, no question.

There are 2 main ways of handling any problem. 1. Fix the problem once it occurs. 2. Avoid the problem in the first place.

I have already given two ways to avoid the problem: use the flash in Read Only mode, or have a power supply which signals impending power loss and holds itself up long enough to allow an ordered shut down.

It has been my experience that it is generally better to avoid problems than to attempt to fix them after they have occurred. Sometimes this is not possible. For example: hard drives have to have ECC built into them because it is virtually impossible to keep from having read errors.

I don't see any practical ways of fixing the problem of trashed flash chips once it occurs. Does anyone else have any other suggestions as to how to either avoid the problem or fix it once it happens?

To unsubscribe, send "unsubscribe mtd" to [email protected]