Skip to content

249. What puts a status screen on the display, and which condition picks which one

Date: 3 September 2026. Status: read out of four firmware images, three architectures, with tests/test_status_screens.py and two tests in packages/codec/test/status.test.ts behind it. The bench half is sections 247 and 248, and this is the mechanism under them.

Section 244 named the thirty screens and left the selection unread, and it said why: no variable in the application image is written with a spread of literals in the range of these indices. That search could not have found this one. The index that matters is written by CLRF and carries no literal at all, because it is zero, so a search for literals was looking for the one thing that is not there. The route that worked was the other way round: find the routine that displays a screen, then read its callers.

One routine, and every caller is a condition

0x2871C on the Harmony One takes a 16 bit screen number in two adjacent bytes and displays it. It has exactly five callers, and the same routine with the same shape exists in every image:

Harmony One 600 and 700 Harmony 525
the routine 0x2871C 0x14B3C, 0x16B20 0x05D38
callers 5 5 4
numbers passed 27, 9, 25, 26, 0 22, 27, 25, 26, 0 27, 25, 26, 0

Against section 244's table those are Missing License, LCD Module Failed or Battery ADC Not Calibrated, Application Terminated, Configuration Corrupted and Go to Website to update settings. Five apt names out of a table of thirty, and each sits in a code path where its name makes sense: the licence one after a check that returns a yes or no, the hardware one beside it in the boot sequence, and the two configuration ones at the end of the routine that validates a container.

The numbers are the same on every architecture, which is what makes them a status code rather than a position: 0, 25, 26 and 27 appear in all four images with the same value.

The record they select is the code plus a base per container

This is where section 244's last paragraph needs correcting. It observed that the website message is entry 0 on the Harmony One and entry 5 on arch 14 and concluded that position is not what selects a screen. Position is exactly what selects it. What differs is where the container starts counting:

code Harmony One record arch 14 record Harmony 525 record
Go to Website to update settings 0 0 5 11
LCD Module Failed 9 9 14 20
Battery ADC Not Calibrated 22 22 27 33
Application Terminated 25 25 30 36
Configuration Corrupted 26 26 31 absent
Missing License 27 27 32 38

One base per container, 0, 5 and 11, fits every screen with no exception, and the control is that neither neighbouring offset does. Six containers, 35 of a possible 36 agreements. Where arch 14 and arch 9 apply their base is open: their display routine adds nothing, so it happens below, and that is a falsifiable prediction rather than a guess.

The arch 9 figure comes from a user configuration rather than a status container, which is an oddity worth its own look: on that architecture these screens appear to travel with the config.

Screen 0 against screen 26 is one byte

The two configuration screens are the two arms of one test, at the end of the container validator, 0x28D92 on the Harmony One. The validator clears one byte at its entry and sets it in exactly one place. Read as a sentence:

  • it checks three cookies in the container, and any failure jumps to the screen block with the byte still zero, which is screen 0, Go to Website to update settings;
  • if the cookies pass it computes the trailer checksum and compares it with the stated one, and a mismatch sets the byte to one, which is screen 26, Configuration Corrupted;
  • a match sets the verified flag and shows nothing.

So the two messages mean two different things and the difference is precise. On arch 14 the checksum arm runs only while setting 0x80's bit 0 is set, section 354, which section 282 read as clear on the Harmony 600 and 650, so there a configuration is accepted on its markers alone. Screen 26 says "I read a container here and its checksum is wrong". Screen 0 says "I never got as far as a checksum".

The three cookies, and a firmware confirmation of section 20 that came free

The checks are the container's own markers, in this order:

what where
1 GSPM, or AHCM on arch 9 offset 0
2 LWJL offset 0x63 on arch 12, 0x5B on arch 14
3 PTYY where the three bytes at offset 4, end_addr, point

The third row said "the section base slot 4 points at" until section 354, which read the seek: the validator seeks offset 4 of the header, the same seek that found LWJL at its offset, and follows the three byte address stored there, which is end_addr. No container has PTYY where base slot 4 points, so that reading would have every configuration fail; nothing tested it, and it was taken up once, in section 353, where it made a working file look broken.

0x63 is 0x0B + 4 * 22 and 0x5B is 0x0B + 4 * 20. Section 20 corrected both parsers here from a u32 table at 0x0C to a table of four byte items at 0x0B, one slot longer than either had read, and the closure offered then was that the arithmetic hits the marker offset on seventeen samples. This is the firmware performing the same arithmetic: the slot counts in the key facts table, 22 on arch 12 and 20 on arch 14, are Logitech's own.

Which container is validated is one bit, and it names both bases

0x2BA2C positions a container read and branches on a single bit of one flags byte, writing one of two values to the page register at 0x020025:

bit page flash which container
set 0x01 0x040000 the user configuration
clear 0xFD 0x002000 the status screens

A page is the flash address's top byte less three, so 0x00 - 3 wraps to 0xFD. Both bases were known, one from where a configuration is written and one from a dump's offset, and neither had been read out of the firmware before. The bit is the same bit the invalidate command clears, section 246.

How the validator runs after boot, which is what the bench saw

It runs twice at boot, once per container. It also runs from a polled re-check in the main loop, and section 250 reads that poll in full: the port bit is the cable, the flag is armed while the cable is in and the verdict stands, and both containers are validated while the cable is out, the flag is armed and the verdict has gone. This section guessed the cable and left the direction open; the direction matters, because it is what makes a failed validation a one way door.

The two cable states in that sentence were the other way round until section 251, which measured them and corrected the polarity. It is the one sentence here that was copied from a neighbouring section rather than derived, which is exactly the drift the four places rule exists for.

This paragraph read the bench backwards and section 250 corrects it. It said that after a write the verified flag is gone so the re-check fires, and that without the invalidate the failing check meant "the read that fed the cookie check was not seeing the flash the write had left". Neither half survives: no erase or write handler clears the verified flag, so a write on its own fires no re-check at all, and none of the validator's read helpers can reach the cached descriptors, so clearing them cannot change whether a cookie matches. What the bench actually hit was the boot path, on a remote that crashed mid-erase, and what keeps a screen up afterwards is a latch section 250 reads out. The screen numbers and the two arms above are unaffected; what was wrong is the account of which run reached them and why.

What is still open

  • Where the cleared descriptors come in. 0x2BA2C takes the container base from the bit alone and consults nothing, so whatever the invalidate changes is inside the read below it. The descriptor table is reached through computed pointers and no LFSR names it, so the tracer cannot see it and following the arithmetic is the next dig.
  • Where arch 14 and arch 9 add their base, per the prediction above.
  • What the port bit is.
  • Why arch 9 carries these screens in a user configuration.

What would falsify it

A sixth caller of the display routine on arch 12, which would be a condition unaccounted for. A status screen appearing that is not one of the five. A container whose named screens do not sit at their code plus one base. Or a remote showing screen 26 with cookies that do not match, which would mean the byte is not the discriminator this says it is.

Where it lands

  • tests/test_status_screens.py: the display routine and its call sites per image, the numbers, the discriminator's single writer, the three cookie exits, the cookies themselves, the marker offsets against the slot counts, and the two container bases.
  • packages/codec/test/status.test.ts: the code plus base mapping over six containers, with the control that no neighbouring base fits.
  • Section 244's closing paragraph, corrected in place, and reference/superseded.md.

Section 248 | the archive | section 250. Section 249 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.