5
\$\begingroup\$

First of all, sorry if this is in the wrong SE. Not sure where else this should go.

To my understanding, flash drives accomplish wear leveling by having a microcontroller remap sections of memory on the fly. These new locations need to be remembered, so it must use some sort of extra memory for a lookup table. My question is, how does this extra memory not fail in exactly the way the microcontroller is trying to prevent?

Or am I completely misunderstanding how flash drives work?

\$\endgroup\$
2
\$\begingroup\$

Because the mapping table itself will not change that often, so it wears out less or at least not more than the data the table references to.

\$\endgroup\$
  • 3
    \$\begingroup\$ You can also just reserve the first so many cells for the master mapping entry. If the first cells wears out and can no longer be erased, you fill it with 0's and then use the second cell. Repeat if the second cell wears out. \$\endgroup\$ – David Schwartz Dec 22 '17 at 9:31
  • \$\begingroup\$ @DavidSchwartz That information should go into an answer, either this answer or your own. It is good information. \$\endgroup\$ – pipe Dec 22 '17 at 9:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.