Skip to content

88. Each firmware bounds a flash address at its own flash size, and they differ

Section 87 left the arch 14 flash size open at 2 MiB by three routes against 4 MiB by concordance's architecture table, and named the read that would settle it: sixteen bytes at 0x230000 on the 600, which on a 2 MiB part would alias to the config's own first bytes.

The read was refused before it reached the wire, and the refusal is the answer.

What the remote actually did

A Harmony 600 on the bench, 9 August 2026, read only. 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 this document already records, and its field 4 of 0xE0 is section 87's software type reading confirmed on a live device: an architecture 14 remote running its application.

address result
0x030000 47 53 50 4d ..., the config's GSPM cookie
0x130000 erased, and different from 0x030000
0x1F0000 erased, and answered
0x230000 refused by our own library, because the firmware's validator rejects 0x23

0x130000 is the calibration case and it is the one that matters most: a 1 MiB part would alias there, and it does not, so the method can tell aliasing from a distinct address. 0x1F0000 answering fixes the top of the reachable range just under 0x200000.

The two validators disagree, and each matches its own part

The bound is a literal in each firmware's address validator. Arch 14's was already pinned at 0x13DFE in the 700 image, with the bound 0x20. Arch 12's had never been located here; this project had read one validator and applied it to both architectures. It is at 0x2637A in the One's image and builds a different literal:

263b0: 40 0e       MOVLW 0x40
263b2: 00 5c       SUBWF 0x00,W      ; the top address byte
263bc: 13 e2       BC 0x263e4        ; at or above 0x40, reject

Arch 9 makes it three, and it is a window rather than a ceiling. A Harmony 525 was on the bench too, and its validator at 0x02E30 compares against 0x80 and then against 0x88, refusing below the first and at or above the second. It needs a floor because its serial flash is addressed a megabyte up, which section 76 measured on hardware and could not explain from any code.

architecture the window span the part
9, Harmony 525 0x80 to 0x88 512 KiB 25F040
12, Harmony One below 0x40 4 MiB Atmel AT49BV322A, 32 Mbit
14, Harmony 600 below 0x20 2 MiB EON F16, 16 Mbit

Each window is exactly the capacity of that model's flash part. That is what makes this a measurement rather than a protocol detail: a single firmware refusing addresses above its flash would only show that somebody wrote a constant, and three whose constants track three different chips shows what the constant is for.

It also settles arch 9's window from the other direction. ARCH9_FLASH_TOP_MIN and MAX were measured on a live 525 the day before, by trying addresses until one answered, and had no firmware behind them. They have one now, and the two agree exactly.

So the arch 14 external flash is 2 MiB, and the question section 87 left open is closed by the firmware, which is this project's authoritative source. The three routes that already said 2 MiB were the FLASH field's capacity byte, the part number, and the vendor client's block tables. The one route that said 4 MiB was concordance's architecture table, and it is not merely unsupported now: the addresses it claims as config region above 0x200000 are addresses an arch 14 remote refuses.

The correction, and why it never bit

validateRegionByte used 0x20 for both bench architectures. On arch 12 that refused every address from 0x200000 to 0x400000, which is the upper half of a Harmony One's flash. Nothing noticed because the largest One config in the corpus is 1.6 MB and ends below 0x1D8000, so no read this project has ever done wanted the range it was refusing.

The table is FLASH_TOP_BYTE_BOUND in packages/usb/src/protocol.ts, and an architecture that is not in it is refused rather than given a neighbour's bound. That is the same rule the erase block table follows and for the same reason: this is the second time a constant read from one architecture has been quietly applied to another, after section 87's font header, and the fix in both cases is a table with a hole in it rather than a default.

The write rails do not move. WRITABLE_CEILING for arch 12 is 0x3D0000, below 0x400000, so it stays the tighter of the two and the loosened read bound does not reach a write path.

The prediction, recorded before the measurement

Written down here and committed before a Harmony One was connected, because a confirmation of a number nobody committed to in advance is worth much less:

  • a Harmony One answers a READ_FLASH at 0x200000, which is the address the 600 refuses, and returns erased bytes because a One's config ends far below it
  • a Harmony One refuses 0x400000, in the library and in the device
  • the same two addresses on the 600 behave the other way round at 0x200000

That is one address behaving differently on two remotes, predicted from two disassembled validators.

The measurement, and it found more than it was for

Both bench remotes attached at once, 9 August 2026, read only. Every read below went through packages/usb, and each one is preceded by a GET_VERSION for a reason given under the next heading.

address Harmony One, arch 12 Harmony 600, arch 14
0x200000 answers, erased silent, and awake: its version reply came back first
0x3F0000 answers, and not erased refused before the wire
0x400000 refused before the wire refused before the wire

One address, two remotes, opposite outcomes, predicted from two disassembled validators and committed before either remote was connected. 0x400000 is our own refusal rather than a device measurement, and that is what it should be: the bound comes from the firmware and the library enforces it before sending.

The upper half of a Harmony One's flash had never been read, and the reason is the bug being corrected. docs/memory-map-one.md said "everything else is erased" of a region no read had ever reached, because validateRegionByte refused it. What is up there:

address length what
0x3D0000 to 0x3DEA92 60050 the application firmware as stored, version 3.4
0x3F0000 to 0x400000 64 KiB 00 FF repeating, unidentified

The first is byte identical to the 3.4 package's Firmware_Main phase over the 64 bytes compared, carries the 48 47 header magic with version 0x34, and is exactly 60050 bytes, the same length as the copy at 0x020000. The two copies are identical over the 16 bytes compared. So a Harmony One holds its application firmware twice: the running copy at 0x020000, which it executes in place, and a stored copy at 0x3D0000.

Not an alias of the low copy, which is worth stating because a flash that ignored an address bit would fake exactly this. The offset would have to be 0x3B0000, which would put the config's GSPM at 0x040000 onto 0x3F0000, and 0x3F0000 holds the repeating pattern instead.

WRITABLE_CEILING is measured now. It was adopted from the vendor client as an unconfirmed constant, on the argument that it only makes the rail refuse more, with a note to confirm it from the firmware before anything relied on the number. It is confirmed by something better than the firmware: the remote itself. There really is an application firmware image at 0x3D0000 on a real Harmony One, and a writer that trusted the nominal 0x400000 top would have erased it.

The last 64 KiB block is unexplained. It is one whole erase block, filled with alternating 0x00 and 0xFF except that the final two bytes are both 0x00, and nothing here has looked for what writes it.

One sample, and the sample is the wrong one to generalise from

Recorded before the second Harmony One was connected, because the gap is in this section's own reasoning rather than in the data.

The unit read above is the spare, identified from its container header rather than its label: 1326564 bytes, which is one_spare_after_sync. That unit had Logitech's own software write a config to it on 7 August 2026, section 58. So a firmware copy found on it is a firmware copy on a remote that recently had vendor software attached, and concluding "a Harmony One holds two copies" from that is a step this section is not entitled to.

The programmed One has never had anything but reads from this project, and its previous owner last touched it years ago. Three outcomes, all informative:

what the second unit holds at 0x3D0000 what it would mean
the same image, version 0x34 a standing property of the model, and WRITABLE_CEILING is settled
erased the sync wrote it, which would be a much larger finding about what a config sync does
an image of a different version than the one it runs not a backup but a staging area, and the update mechanism is visible in it

The third is the one nobody has ruled out, and it is the reason this is worth a second remote at all. The same question applies to the 00 FF block: a factory pattern or something the sync left.

Prediction: the same image, version 0x34, and the same pattern block. That is the dull outcome and it is what the client's separate declaration of a firmware region implies, since it declares the region for every arch 12 remote rather than for a state a remote can be in.

Measured the same day, and the dull outcome is what happened. Both Harmony Ones were attached at once and read through their device paths, then identified from what they hold rather than from the path or the label: one config head matches one_spare_after_sync and the other matches the programmed One's own .EZHex, byte for byte over 32 bytes.

address spare One programmed One
0x3D0000 the 3.4 image, 64 of 64 bytes identical to the package identical
0x3E0000 erased erased
0x3F0000 00 FF repeating identical
0x3FFFF0 ends 00 00 identical

The programmed One has had nothing but reads from this project and no vendor software near it. So the stored firmware copy is a property of the model, the staging area reading is ruled out because the stored copy is the version the remote runs, and WRITABLE_CEILING now rests on two units, one of which has never been written to by anything in living memory.

A remote that has been idle loses the first command sent to it

Found by nearly drawing the wrong conclusion from it. read-window.ts sent one command and got nothing back from a Harmony One at its own config base, an address that certainly works. Three reads of the same address immediately afterwards all returned the config. So the first command was lost, not refused.

That matters here more than it would anywhere else, because this section's whole measurement is "does this address answer". A silence with two possible causes proves nothing, and the silence at 0x200000 on the 600 is the result the section rests on. So read-window.ts sends GET_VERSION first and reports a failure there as the remote not answering, rather than as an empty window. The 600's version reply is in the log beside its silence, which is what makes that silence evidence.

Logitech's own config headers carry a message for this: "press any button on your Harmony to wake it up". It was in the corpus the whole time, in the CONFIGURATION block section 87 read for other reasons.

Where it lands

  • packages/usb/src/protocol.ts, the bound per architecture with no default.
  • packages/usb/test/protocol.test.ts and test/remote.test.ts, where 0x200000 is now the address that separates the two rather than a constant both refuse.
  • docs/memory-map-600.md and docs/memory-map-700.md, whose flash size was open and is not.
  • docs/memory-map-one.md, which gains the two rows above and loses a sentence that described a region nothing had read.
  • packages/usb/bin/read-window.ts, which is the tool this needed and did not have, with the version exchange it needed after the first measurement nearly went wrong.
  • docs/host-client.md, where WRITABLE_CEILING moves out of the ledger of things believed on the client's word alone.

Section 87 | the archive | section 89. Section 88 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.