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?


1 Answer 1


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.

  • 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\$ Dec 22, 2017 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, 2017 at 9:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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