Troubleshooting the boot

When a board refuses to boot, USB is exactly the thing that does not work — so the diagnostic tools that need enumeration (logs, ykman, PicoForge) are all unreachable. The board has one instrument that always works: the LED. It announces every boot milestone and, if boot is refused, names the reason. This chapter teaches you to read it.

Watch the LED from the moment you plug power in. Every pattern below happens in the first seconds — except the entropy wait, which can legitimately run for minutes on a cold, long-dwell board (measured: more than 4 minutes; see the blinking window).

The six things the LED can say

what you seewhat it is
short pulses, ~80 ms apart, then more pulsesthe boot ladder — a progress counter; count them to locate a freeze
one long flash (~1.2 s), a pause, then four shorter flashesa fatal signature — the board refused to boot and is naming the reason
a single ~0.4 s flash, longer than any ladder pulsethe entropy-draw notice — a first/fresh boot drawing randomness (normal, see below)
a fast blink repeating — short flash, short dark gapthe entropy wait / warming state — the board is settling its randomness generator and is working. Pre-boot (a first/fresh install) or post-boot, it can last minutes on a cold board (see the warming state) — reads work while it blinks; only creation waits
every ~5 s inside the blink: a short burst of quicker pulsesthe progress burst — one pulse per 5-second unit waited, capped at 9. The pulse's length names the waiting step: ~120 ms lit = the entropy-record draw, ~300 ms lit = the generator seed. A healthy boot shows no burst
steady 1 Hz blink, foreverthe heartbeat — boot completed and randomness ready; the board is alive and serving everything

These are separated by flash length, not just rhythm: a ladder pulse is lit for 25 ms, a wait-blink for 80 ms between 170 ms dark gaps, a burst pulse for 120 ms (record draw) or 300 ms (seed) on a 450 ms rhythm, a signature bit for 200 ms, the draw notice for 400 ms, the heartbeat for 500 ms. You do not need a stopwatch — after one healthy boot you will recognize each by eye. A case over the board does not stop any of this being countable (all of the readings below were verified through a 3D-printed case on video).

A healthy boot, end to end

A normal boot pulses the LED in groups and then settles into the 1 Hz heartbeat. You do not need to count every pulse to a healthy boot — pulses, then steady 1 Hz heartbeat, means success. But here is the full anatomy, measured on hardware, so a partial reading makes sense:

pulsesmilestone just crossed
1, 2–3HAL up, clock and TRNG ready
4–6the device's key row read; store key derived
7–10secure store mounted
(0.4 s flash on a fresh store — see below)drawing fresh entropy
11–15DRBG seeded
16–21firmware verified, first-boot migration done
22–28applets built (FIDO, OATH, OpenPGP, ...)
29–36store persisted, backend mounted
37–45USB up, tasks serving
steady 1 Hzserving

The groups run together when the stages between them are fast, so in practice you will see one or two bursts of pulses rather than nine tidy groups. On a first boot (or the first boot after a factory reset), a ~0.4 s flash appears in the middle, and the two longest pauses (up to ~1 s each) follow it — that is the entropy draw and the store being written durably for the first time. On a cold boot after the board has been unplugged for a long time, the same spot in the boot can hold the blinking window instead (below).

The boot ladder: k pulses, then dark

The ladder is cumulative: each milestone's pulses stack on the previous ones. A board that goes dark after 10 pulses crossed four milestones and died in the fifth stage. The count localizes the freeze:

last countfroze in
never blinkedbefore the HAL — power cycle; if it never blinks at all, the firmware is not running (re-flash via BOOTSEL)
1clock/TRNG bring-up
3the OTP key-row read
6mounting the secure store
10the entropy draw / DRBG init
15firmware-manifest check, first-boot migration
21constructing the applets
28persisting the store, mounting the backend
36bringing USB up
45just before serving

One caveat on the two rows around the entropy draw (counts 10 and 15): on a cold boot the blink window can sit between them — a board that shows 10 pulses, then the fast blink (with its 5-second bursts) for minutes, then continues from 15 is not frozen in the draw; it is settling. A board that shows 10 pulses, then dark forever with no blink, is one that froze there on a build older than the blinking window (or whose LED never reached the driver) — power cycle it.

Fatal signatures: one long flash, then four bits

When boot is refused — not frozen, refused — the LED says why, once, and the board goes dark. The pattern: one long flash (1.2 s), a pause, then four lit pulses of 200 ms each. Each pulse is a bit; the gap that follows it names the bit:

  • gap ≈ 0.2 s (short) → bit 1
  • gap ≈ 0.6 s (long) → bit 0

Read the four bits left to right as a binary number, most-significant bit first. For example: long, long, short, short = 0,0,1,1 = 3. The number is the reason:

idbitsreasonwhat to do
10001OTP key row unreadablepower cycle (off ≥ 5 s) and retry; recovery is a power cycle, not a reset button
20010chip identity row unreadablepower cycle as above
30011TRNG wait had no deadline — the board's timer was not counting (infrastructure, not freshness)power cycle (off ≥ 5 s) and retry. On builds older than 2026-11-20 this reason instead meant "the randomness draw refused its whole budget" — that park is gone; current builds never give up on freshness
40100DRBG seed refused by device state — a missing or depleted entropy record, an unreadable store, or a derivation refusal (ADR 0004 amendment 7, US-1932)power cycle (off ≥ 5 s) and retry; if it recurs on the latest firmware, report it with the signature. (Older reading, kept for old videos: on pre-2026-11-20 images this meant "the seed gave up" — those images park here on first boot; re-flash. Freshness refusals never emit this — they blink and settle.)
50101store content failed verificationre-flash the firmware; if it recurs, the store was deliberately refused — report it
60110store could not be written durablypower cycle; if it recurs, report
70111backend failed to mountpower cycle and retry
81000a keystore failed to openpower cycle and retry
91001schema migration failedpower cycle and retry
101010a firmware panicpower cycle; if it recurs on the latest firmware, report it with the signature
111011the boot-entropy record could not be established — the store refused to persist it, or its slot read back unreadablepower cycle (off ≥ 5 s) and retry; if it recurs on the latest firmware, report it with the signature

After any signature, unplug, wait at least 5 seconds, and plug back in. The wait is load-bearing: several of these conditions clear on a real power cycle and not on a quick replug or a reset button.

The 0.4 s flash: a fresh store drawing entropy

On the first boot after a factory reset — or any boot where the secure store starts empty — the LED gives one ~0.4 second flash before the mid-boot pulse groups. That is the board announcing: my store came up empty, I am drawing fresh randomness to seed it. It is normal, it happens once, and the boot continues afterwards. On an ordinary boot (the store intact) the flash does not appear — nothing is drawn at that point.

Two things can follow it that are worth recognizing:

  • a pause of minutes with a fast blink (short flash, short dark gap — see below). That is the entropy draw being retried while the board shows it is working. It is not a hang and not a signature; let it finish. Every ~5 seconds a short burst appears inside the blink — one pulse per 5-second unit waited, its length naming the waiting step (~120 ms = this record draw, ~300 ms = the later seed).
  • there is no park at the end of the window any more: the board keeps retrying for as long as the episode lasts (firmware from 2026-11-20 onward). A board that is already serving never blocks on entropy at all (its generator warms in the background while reads work), and a first/fresh install waits it out instead of giving up. If the blink runs past ~5 minutes, unplug, wait 5–10 seconds, replug — on a fresh board that loses nothing (the drawn entropy is already stored before the boot continues), and power removal is the measured fix for a stalled episode. After one completed boot the whole phenomenon never appears again (the record is stored permanently; it reappears only after a factory reset).

(Pre-2026-11-20 firmware parked with signature 0011 at exactly this point — the 2026-11-19 retail incident. A board still running that image parks legibly; power cycle it and re-flash.)

The blinking window: the board is working, not stuck

On a cold boot after the board has been unplugged for a long time, the board's randomness generator can take a long time to settle (measured on hardware: at least ~20 seconds; on a long-dwell board, more than 4 minutes). Instead of sitting dark and silent through that wait — which looks exactly like a dead board — the firmware blinks: a short flash every quarter of a second, repeating for as long as the episode lasts.

That pattern means the board is working. It is re-rolling the draw every quarter second, and every blink is one more roll; every 5 seconds a short burst plays on top of the blink — one pulse per 5-second unit waited, its length naming the waiting step (~120 ms lit = the entropy-record draw, ~300 ms lit = the generator seed; both on a ~450 ms rhythm, capped at 9 pulses). When the generator settles, boot continues normally and you will see the ladder resume. The board does not give up and does not reboot: it waits for as long as the episode takes.

Do not unplug — reads keep working while it blinks (passkey logins and codes serve on an already-provisioned board; on a fresh board nothing is lost by waiting). One deliberate exception: if the blink runs past ~5 minutes, unplug, wait 5–10 seconds, and replug. Power removal is the measured accelerator for a stalled episode, and on a fresh board it loses nothing — the drawn entropy is persisted before the boot continues. Unplugging is safe; it is never required below that ceiling.

What the window is not:

  • It is not a fatal signature — no long flash precedes it, and it ends by itself.
  • It is not the ladder — the blink is 80 ms lit with 170 ms dark between, faster and longer-lasting than any ladder group.
  • It is not the heartbeat — the heartbeat is 500 ms on / 500 ms off and means serving; the window is ~80/170 and means waiting.

If a board ever shows the blinking window on every boot (healthy boards settle in ~1–2 seconds per draw on current firmware), report it — that would mean the generator stays wedged across every episode, which is a hardware finding.

One more thing worth knowing: the seed for the board's randomness generator involves one more draw from the same hardware source after the store's entropy record is guaranteed — and it gets the same treatment (blink + bursts, waiting as long as the episode takes). So on a cold boot after the board has been unplugged for a while, the window can appear one step later than the fresh-store draw; the burst's pulse length tells you which step is waiting.

Which firmware does my board run? The first cold boot answers by itself: a long-flash signature (0011/0100) during the first boot means the v0.7.0 image, and a first boot that blinks for minutes with no signature at all means the v0.7.1 image — both are first-boot defects fixed since; re-flash the current firmware. A first boot that settles — blink with 5-second bursts, then the steady heartbeat, however long it took — means the fixed firmware. One reassurance worth keeping: after one successful boot, this never happens again — it is a first-boot defect only; every later cold boot draws from a permanently stored record.

A worked example

A real failure, decoded: 10 fast blinks, one long flash, then four rhythm flashes — two slow, two fast — then dark.

The 10 blinks mean the store mounted. The long flash is a fatal signature's preamble. The four bits: the gaps after each lit pulse were long, long, short, short = 0,0,1,1 = reason 3 — the randomness generator missed its budget on a boot where the store was empty, and the firmware of the time refused to boot rather than continue without a seeded generator. Power-cycling eventually gave a power episode where the draw succeeded — and because the successful draw persists, the board then booted normally until the store was empty again (a reflash or reset).

Current firmware fixes the fragility end to end (a missed window no longer kills the boot — the draw gets its own one-minute budget with the board blinking through it, and since 2026-11-20 a refusal re-arms that budget forever instead of rebooting or parking), keeps the guarantee (the board still refuses rather than running on a generator that never produced — the refusal lives in the identity checks, which keep their signatures), and adds the 0.4 s flash, the blinking window and the 5-second progress bursts so the failure mode is visible instead of silent. The full investigation, including the 2026-11-09 recording that measured the settle at ≥ 20 seconds, is in the 2026-10-31 audit and the 2026-11-09 audit.

Heartbeat running, but USB dead

If the LED blinks a steady 1 Hz and stays that way, boot completed — the board is alive and the fault is on the host side. Work through: another cable/port, the USB identity (a pair your host's driver cannot bind looks exactly like "no device"), and the client quirks in What it works with.

If it repeats

  1. Note the exact pattern (a phone video is ideal — pulse counts are readable from it).
  2. Unplug, wait 5 seconds, plug back in. Repeat once or twice: a consistent signature is information, a one-off is usually a marginal power episode.
  3. Re-flash the latest firmware over BOOTSEL — several past causes (this one included) were firmware, and the fix ships as an image.
  4. If it still reproduces, report it with the LED sequence. The pattern is the bug report.