Harmony 885: memory¶
Where a Harmony 885 keeps its program and its configuration is its platform's, and is stated once in
the architecture's memory page: the bootloader at the
bottom of flash, the application above it, the configuration from 0x020000. This page holds only what
is the model's own, and so far that is very little.
- One firmware build serves the 880 and the 885, so the layout of the program is the same on both, and so is the safe mode configuration inside it, byte for byte, which the remote runs when its own configuration fails the check at start.16
- A configuration can make the remote write its own flash: an action list can append records to the
log area, and the remote writes them wherever the configuration's base slot 2 says, checked only against
the floor at
0x010000. Two Harmony 880 configurations read do it, from lists some of which are bound to a key; no 885 configuration read does. Nothing else the remote decides is kept: there is no settings store and no EEPROM in use, so no value saved on the remote overrides the configuration, the architecture's memory page.78 - A configuration can hold at most 63 state variables with the one two byte variable they all have, 45 of them its own, because the remote keeps them in 64 bytes and checks no configuration against that, where the instruction that writes one can name 128. The configurations read use 34 to 42 bytes. Every start puts every variable back to the configuration's starting value, the clock's included, the architecture's memory page.1112
- The remote sends nothing more after a change of its infrared queue until the configuration answers, and every configuration read does, actions.910
- Two timers can run at once, a third start is lost, and a wait past 65535 seconds keeps only its low sixteen bits rather than stopping at that, the timer table.13
- The build stamp in a configuration is not the remote's clock, which comes from the configuration's state variables at every start, and no configuration read uses the counter the stamp feeds, header records.1415
- A configuration states the model twice: its architecture record reads
08 08 11 0don an 885 and08 08 0f 0don an 880, and the header of the file it travels in carries the skin as well.23 - The flash after a configuration is not blank. Up to the end of the flash sector the configuration ends
in it is erased, and past that it keeps what earlier, longer configurations left, by their shape and not
decoded: tails whose starts were overwritten, with no configuration cookie among them and each ending in
the end marker
DKDK. The reads end at a 64 KiB boundary, as the platform's sectors predict, though they cannot tell that from a 32 KiB half. Flash is erased only where a write needs the room, as on the Harmony One and the Harmony 525, so a read of the whole region carries configurations nobody meant to hand over, and the end of a configuration is its end marker, not the first erased byte, the container.17 - A whole flash read of one 885 matches what was published, except the unit's own bytes. The application
is Logitech's published 885 image byte for byte, and the bootloader's 64 KiB differ from the published
bootloader in 33 bytes only: 31 of the 32 bytes of the identity block's two per unit fields, and the
two bytes at
0x000162, beside the battery calibration word at0x000160, whose own two bytes matched. On that unit the staging region from0x1D0000held data and the log area from0x1E0000was erased throughout.16 - One erase removed what its block held and nothing past the block, within one sector of 32 or 64 KiB. A host erase at
0x0C0000, in a block of earlier configurations' remains, cleared the bytes from that address and left the bytes directly either side of the 64 KiB block; written back, the block read back identical and the configuration below it did not change. A 32 KiB sector is not excluded, the platform's sectors.16
Not checked¶
- Which of the two flash parts the firmware knows is fitted, and what the bytes in the staging region from
0x1D0000are.4 Which bytes of the identity block at0x000110are a serial is read in the bottom 64 KiB of five remotes, the architecture's memory page.5 - What the remains past a configuration were, and whether a factory configuration is among them.4
-
Read in the firmware. Section 114 ↩
-
Measured in configurations. Section 182 ↩
-
Measured in configurations. Section 113 ↩