The SD cards had around a 20% failure rate per year. Eventually I just started shipping each system with a backup SD card taped to the inside of the case.
The SD cards had around a 20% failure rate per year. Eventually I just started shipping each system with a backup SD card taped to the inside of the case.
Also, mSD corruption means your using a mSD card with a bad controller. The mSD was bound to corrupt and was a low caliber card to start with, unless you are doing a bunch of writes a mSD should last 2 years minimum, if not longer.
Another tact to take would be to switch to an OrangePi PC+ (8GB eMMC included, $22) or similar, that way you know your getting good quality nand with a decent controller out of the box.
The obvious solution would have been to include a battery backup in the case.
Also mentioned by others are SLC industrial grade cards which have more stable flash memory technology, better controllers, wider operating temperatures and not to mention are much much faster. It all comes down to cost, but trying to build a reliable system with removable cards is not a good idea.
The Pi design team should consider adding some reasonable quality onboard eMMC memory in the future.
Regarding cards, I can vouch for http://www.atpinc.com which we use where I work, expensive but very reliable.
The Pi "compute modules" include onboard eMMC and so do these which are based on them.
See this whitepaper on why: https://www.cactus-tech.com/files/cactus-tech.com/documents/...
It worked well, but tanning regulatory changes killed it.