Comment on
Play your 3DS, Vita, Switch games once in a while
Reply in thread
Short answer: It depends. Doing full flash reads of your USB sticks and SD cards (dd if=/dev/XXX of=/dev/null bs=4k status=progress) may help for a lot of them. But not all. The only solution I can actually recommend (for any storage media) is backup them up and regularly testing/moving the backups.
If the read of the disk is particularly slow then that indicates the flash cells are degraded. If a second read of the disk is much faster then that indicates some action may have been taken by the flash controller IC to fix this.
Long answer:
NAND flash cells slowly leak charge, making their state indistinguishable. A flash controller IC (usually separate to the NAND flash IC or ICs) has the job of noticing and fixing this (by rewriting the data to another or the same cell) before it gets too bad. That doesn't necessarily mean it does it particularly well.
Some (few?) flash controllers periodically scan for weak cells and rewrite to fix them. Some (most?) flash controllers notice weak cells only when you read them. Some (many?) flash controllers are shit and don't do any of this.
Flash controllers also have a bunch of other features and jobs, like maintaining a spare pool of cells (over-provisioning) to swap out for bad ones and even forcing the USB stick into read-only mode if they think things have gone particularly bad. Again this varies a lot depending on implem, some do it, some don't, and for different reasons (out of over-provis cells, corrupt mapping metadata, arbitrary thresholds, etc).