Videos

Why devices reboot with no crash log: bit flips explained

//

A device that reboots with no crash log may not have a firmware bug. One particle, a neutron from a cosmic ray or an alpha particle from the chip's own packaging, can pass through a memory cell and flip a single bit. Nothing is damaged and nothing raises an error flag. If that bit sat in a pointer, the device faults and reboots, and the reset wipes the evidence.

It is getting more likely, not less: smaller transistors store less charge, so a 28 nm cell flips more easily than a 90 nm one.

Read the full guide: Bit-Flips Are Crashing Your Devices and It's Not a Software Bug

Watch on YouTube, or see every video on the Hubble Network Community channel.

Transcript

You have fifty thousand sensors in the field. Every week, about fifty of them reboot. No crash log. No pattern. What would you check first?

Most teams check the code. Then the power supply. Then the code again. Six weeks later the ticket is closed: cannot reproduce.

So here is the harder question. What if the code is fine, and the hardware is not broken?

Look inside one memory cell. Six transistors, wired as two inverters that hold each other in place. One side holds a one, the other a zero. It stays that way until something adds enough charge to tip it.

That something is a particle. A neutron from a cosmic ray, or an alpha particle from the chip’s own packaging. It passes through the silicon, leaves a trail of charge, and the cell flips.

No damage. No error flag. The cell simply holds the wrong value. If that bit sat in a pointer, the device faults and reboots, and the reset wipes the evidence.

And it is getting more likely, not less. Smaller transistors store less charge, so a twenty-eight nanometer cell flips more easily than a ninety nanometer one.

So which of your reboots were never bugs at all?

And what would you add to catch a flipped bit before it crashes the device?

The full guide walks through the defenses.