110. The journal's own variables on a running remote¶
Section 109 read the flash and found the region erased, which says nothing about whether the firmware
ever computed a region at all. The four variables the allocator writes are in data memory, and
READ_MISC reads data memory off a running remote. So the arithmetic section 108 derived can be
compared against what the remote actually holds, which is a stronger check than an erased window.
Predictions first and committed before the read, per the probe-remote skill.
The three states the read can distinguish¶
The setup is two independent steps, which is what makes one window informative rather than a coin flip:
- the container check,
0x164B4: reads the config's four byte marker, compares it against4C 57 4A 4C, which isLWJL, and only then takes the header'send_addrat offset 4 and storesend_addr + 3into0x0F9as the allocator's floor; - the journal init,
0x1594A, called once from0x1623C: clears0x0F0to0x0F8and calls the allocator, which fills0x0F3with the region's start and0x0F6with its size.
So the window says which of the two ran:
| what the window shows | what it means |
|---|---|
| floor set, region set | both ran, and section 108's arithmetic can be compared against the values |
| floor set, region zero | the config was validated and the journal was never set up |
| both zero | neither ran, and USB mode skips more of the config load than this project assumed |
The predictions¶
All four values are 24 bit and little endian, low byte at the lowest address, which is how the allocator stores them.
| address | predicted | what it is |
|---|---|---|
0x0F3 |
00 00 18 |
the region's start, 0x180000 |
0x0F6 |
00 00 08 |
its size, 0x080000, eight blocks |
0x0F9 |
64 43 0E |
the floor, 0x0E4364, this unit's end_addr plus three |
0x688 |
00 00 20 |
the chip size, 0x200000, from the JEDEC capacity code |
0x68E bit 4 |
clear | the container base selector: clear is the user config at 0x030000, set is safe mode |
What is expected, and it is not confident. The chip identification demonstrably runs on USB,
because the version block carries the JEDEC pair section 109 measured, so 0x688 is the most likely
of the five to be set. The config load is the uncertain one: a remote on USB never runs its
application, section 48, and whether it validates and loads a config on the way to USB mode has never
been established here. So the honest expectation is 0x688 set and the other four unknown, and the
value of the read is in which of the three states above comes back.
What would falsify section 108 rather than a prediction. If 0x0F3 and 0x0F6 are set to
anything other than 0x180000 and 0x080000, the allocator has been misread. That is the outcome
worth most, and it is the reason this read is worth a commit before it happens.
What the remote said¶
The same Harmony 600, 10 August 2026, four READ_MISC windows of data memory. Read only, and RAM
reads cannot change anything on a remote.
| address | measured |
|---|---|
0x0F0 to 0x0FF |
sixteen zero bytes |
0x680 to 0x68F |
00 00 00 00 00 00 15 1c 1a 1e 03 16 00 00 00 00 |
| the same window again | identical, so nothing there is a live counter |
0x0F0, 64 bytes, counted |
11 of 64 nonzero, so the read itself is not answering zero to everything |
It is the third state: neither the container check nor the journal init has run. The floor at
0x0F9 is zero, so nothing validated a config's LWJL marker; the region at 0x0F3 and 0x0F6 is
zero, so the allocator never ran. A remote on USB does not load its config at all, which
corroborates section 48 from a new direction: that section established that the application does not
run, and this says the load that precedes it does not either.
True of arch 14 and false of arch 12, and the correction came one day later, section 111. A Harmony One on USB holds display light values that only its own config states, so it has read base slot 15, and its clock is running, so its application is executing. The mechanism is the difference already in this project's key facts table: arch 12 executes its config in place out of memory mapped NOR and has no load step to skip, where arch 14 must copy from SPI serial flash. What this section measured stands for the 600, and every sentence that generalised it to "a remote" is narrowed. The corroboration of section 48 falls away with it, because section 48's own broad wording is wrong too.
That matters for the application rather than only for this document. Reading a config over USB is reading flash and nothing else; on arch 14 there is no loaded config on the remote to ask about, and no derived state to compare against. Anything FreeHarmony wants to know about the config it has to compute from the bytes itself, which is the safe assumption on both architectures even though an arch 12 remote turns out to have some derived state to offer.
The one thing that did run, and it settles section 109 in RAM¶
0x686 is 0x15 and 0x687 is 0x1C, at exactly the addresses section 108 derived from the
firmware. Three things at once:
- the RAM read's address numbering is the firmware's data address numbering, on this architecture, pinned against two bytes with a known value;
- the chip identification runs on USB even though the config load does not;
- and the split section 109 corrected is now measured rather than argued: the capacity code
0x15sits in0x686, which is the byte the firmware compares against0x13,0x14and0x15, and the manufacturer0x1Csits in0x687. The version block reports them in the other order, which is why concordance's naming survived as long as it did.
And the size beside them was never stored, which is the part no prediction anticipated. 0x688 to
0x68A hold 1a 1e 03, stable across two reads, and the sizing arms only ever store 0x08, 0x10 or
0x20 in the high byte with the low two cleared. So those three bytes are uninitialised, and this
firmware does not zero all of data memory at reset.
The reason is two entry points to one identification. 0x686 and 0x687 are written in two
places: 0x108FA, inside the routine that goes on to store a size, and 0x1097C, inside 0x10974,
which is the accessor docs/usb-protocol.md traced for the version block's flash id field. Only the
second ran. So the remote read its flash's JEDEC id because the host asked for a version block,
and nothing on the remote has decided how big its flash is.
The prediction record, which is the point of the two commits¶
Five predicted values, and four of the five wrong: the region, its size, the floor and the chip size
are all zero where the arithmetic said they would be set. The fifth, 0x68E bit 4 clear, is right by
accident, since nothing initialised the byte.
The stated expectation was "0x688 set and the other four unknown", and 0x688 is the one that is
not set while the two bytes beside it are. That distinction did not exist in the prediction, because
it took the identification for one routine when it is two, and only the one that skips the size store
runs on USB. A prediction that had been written after the read would have been about the three
states; it would not have exposed this.
Section 108's arithmetic is neither confirmed nor refuted by this, and that has to be said plainly. The allocator did not run, so the region it would compute was not measured. What section 109 measured stands: both candidate regions are erased. What would settle the arithmetic is the same read on a remote that has loaded its config, and a remote on USB never has.
Where it lands¶
packages/usb/test/hardware.test.ts, gated on the flag and the 600: the JEDEC pair asserted at
0x686 and 0x687, and the journal's five variables asserted zero. The three uninitialised bytes at
0x688 are deliberately not pinned, because uninitialised memory is not a fact about the
firmware.
Section 109 | the archive | section 111. Section 110 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.