Re:Post-Apocalyptic Programming
by kevin_thibedeau on Monday August 08, 2022 @03:22PM
(#32389816)
Devices running on high density flash will not be reliable long term. None of these devices have ECC to reduce the probability of catastrophic failure from accumulated bit flips.
[ Parent
| on HN ]
Re:Post-Apocalyptic Programming
by speed_spread on Monday August 08, 2022 @04:38PM
(#32390702)
I was thinking more about devices that can be repaired by changing a failed CPU than devices that have a lower failure rate. I believe STM (and others surely) has a line of "process critical" MCUs that may have additional reliability features but these chips are built in much lower quantity and are much pricier. It's a tradeoff that would need to be evaluated for sure. Preferring external flash to on-chip storage would also help. Some ECC can also be performed in software where warranted.
Problem is that stm32 parts are currently in a kind of post apocalyptic state, speaking of supply chain
Many modern MCU's do have ECC flash, and I'm seeing many claiming 20 year stability. It's also common to have backup firmware images in case the primary firmware image gets corrupted. It's trivial to re-flash an MCU to fix a corrupted image.