Skip to content

109. What the flash journal holds on a real remote

Section 108 read a writer and could not say whether anything has ever gone through it. A Harmony 600 is on the bench, so this section is written in two halves: the predictions first, committed before any read, and then what the remote said. The convention is the probe-remote skill's, and it exists because a measurement that confirms a number nobody committed to in advance is worth much less.

What the arithmetic says about this unit

The 600's own config, from the lab dump that is verified byte for byte against the device:

value
endAddr, the trailing PTYY marker 0x0E4361
the allocator's floor, endAddr + 3 0x0E4364
the chip size, section 88's EON F16 0x200000
the region section 108's allocator computes [0x180000, 0x200000), eight blocks, 512 KiB
the region base slot 2 declares [0x1E0000, 0x200000), capacity 16384, stride 8, 128 KiB

Eight blocks is the allocator's maximum and it fits, because the config ends more than 512 KiB below the top of a 2 MiB part. So the two regions share a limit and disagree about the start, which is what section 108 argued from the firmware alone.

The predictions

  1. A window at 0x0E4358 matches the lab dump for its first thirteen bytes, with PTYY at offset 9, and its last three bytes read 0xFF. That is the calibration case: it is the only read here whose answer is already known, it proves the address arithmetic and the read path together, and its tail is the first byte of evidence about what is above a config.
  2. 0x180000 reads sixteen 0xFF bytes. Nothing has ever been appended, because the appender is reached only from 0x0F's 0xE0 band and from 0x65 and 0x66, and no config in the corpus emits any of the three. If it is not erased, something writes it that section 108 did not find, and that is the outcome worth having.
  3. 0x1E0000 reads sixteen 0xFF bytes, for the same reason and also because nothing on arch 14 reads base slot 2 at all.
  4. The two windows are identical, which is what --compare reports, and which also says the part is not aliasing one address onto the other.

What would falsify the section rather than a prediction: a mismatch in the first window. The whole allocator argument is arithmetic on endAddr, so if the control does not land where it is computed to land, nothing else measured here means anything.

What the remote said

A Harmony 600 on the bench, 10 August 2026, read only, thirteen windows of sixteen bytes each. GET_VERSION first as the go/no-go, which returned 02 11 1c 15 e0 47 0c 02 00 00 02 02, byte for byte what sections 87 and 88 already record for this unit.

address result
0x0E4358 00 00 00 00 00 00 00 49 d3 50 54 59 59 ff ff ff: the lab dump's last thirteen bytes, PTYY at offset 9, then three erased
0x180000 sixteen 0xFF
0x1E0000 sixteen 0xFF, and --compare says identical
0x030000 47 53 50 4d ..., the GSPM cookie
0x0E4368, 0x0F0000, 0x100000, 0x140000, 0x190000, 0x1C0000, 0x1FFFF0 sixteen 0xFF each

All four predictions hold. The control landed exactly where the arithmetic put it, which is the one that had to; both candidate regions are erased; and nothing anywhere above the config has ever been written, from three bytes past the end marker to the last sixteen bytes of the chip. So the journal exists in the firmware and has never been used on this remote, which is what a facility no config reaches should look like.

One prediction was badly framed and saying so is the point of writing them down. Prediction 4 claimed that two identical windows also showed the part is not aliasing one address onto the other. Two erased windows are identical whatever the part does, so it showed nothing. The test that does work needs content on one side: 0x0E4358 against 0x1E4358, the same offset one megabyte up, came back different, and 0x030000 answering with a cookie is what makes an 0xFF window information rather than the tool's default.

The flash id in GET_VERSION is the JEDEC id, and two documents had flattened its two orderings

This heading said "its two bytes are the wrong way round" and the section said the field name came from concordance and was never questioned. Both are corrected here, on 10 August 2026. It was questioned: reference/concordance-notes.md has a section called "the two flash ID orderings are not a bug" and section 3's table above carries 0x1F:0xC8 as manufacturer and device on arch 12 against 0x15:0x1C as capacity and manufacturer on arch 14. Nothing is the wrong way round; the two architectures genuinely differ, because one part is parallel NOR and the other is SPI. What section 109 actually found is that docs/usb-protocol.md and a comment in the hardware test had copied arch 12's ordering onto arch 14, which is drift in a summary rather than a wrong fact at the root, and it is exactly the failure mode step 4 of the finding skill is for. The mechanism below stands.

Not predicted, and it fell out of the version reply that was only meant to be a go/no-go.

docs/usb-protocol.md had already traced field accessor 0x14244: it clears LATF bit 7 and calls 0x10974 for a sixteen bit result, and recorded that the corpus already had the pair per remote as a manufacturer and a device byte, which is concordance's naming. 0x10974 is the routine section 108 read: it sends 0x9F, keeps two of the three bytes in 0x686 and 0x687, and those two are the only sources in the image for the version block's pair. So the field is the JEDEC id read over SPI at the moment the version block is built, and the split is not manufacturer and device:

byte on this 600 what it is
0x686, version field 3 0x15 the capacity code, which the firmware compares against 0x13, 0x14 and 0x15 to choose 512 KiB, 1 MiB or 2 MiB
0x687, version field 2 0x1C the manufacturer id, EON

The mechanism is what settles it rather than the convention: one byte selects a size and the other does not, and only the capacity code can select a size. 0x1C is EON's registered id and 0x15 is the 16 Mbit capacity code in the family these parts come from.

So the bench 600 reports the pair (EON, 16 Mbit) and section 108's table accepts exactly that pair at 2 MiB. Section 88 identified the same part from a different direction, the address validator's own ceiling plus which addresses the remote refuses. Three routes, one part, and this one is the remote saying it over USB.

Where it lands

  • docs/usb-protocol.md, the field pair renamed, and packages/usb/test/hardware.test.ts, whose comment on those two fields carried concordance's split.
  • packages/usb/test/hardware.test.ts: the two regions read and asserted erased, gated on the hardware flag and on the 600 being attached.
  • tests/test_interpreter.py, TestTheLogArea: the allocator's arithmetic on each arch 14 user config, against what base slot 2 declares, plus the marker's position, which is the half of the measurement that can be checked without a remote.

One thing the test found on the way, and it sharpens what slot 2 is. The three arch 14 safe mode containers declare a limit of 0x100000 where the user configs declare 0x200000. So the declared limit is the generator's idea of the chip size, not the remote's: those images were built for a 1 MiB part. That is consistent with the section being host side reservation, and it is why the comparison above is restricted to user configs.


Section 108 | the archive | section 110. Section 109 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.