Harmony 525: USB¶
A 525 plugs into a computer as a USB device of Logitech's with the product id its platform shares, and a host reads and writes it with the same short commands as the later remotes, fewer of them implemented. The protocol, the command set and the write rails are the architecture's, the architecture's usb.md; this page states what is the 525's own.
Identity on the bus¶
| field | value | from |
|---|---|---|
| USB product id | 0xC111 | PROFILES in packages/remote/src/read.ts |
| flash top bytes accepted | 0x80 to 0x87, so external flash is 0x800000 to 0x880000 | ARCH9_FLASH_TOP_MIN and ARCH9_FLASH_TOP_MAX in packages/usb/src/protocol.ts |
| the other windows | 0x00 internal-program-memory below 0x8000, 0x20 eeprom below 0x0100, 0x30 arch9-tag-30 below 0x0008, 0x40 data-memory below 0x0800 | ARCH9_WINDOWS in packages/usb/src/protocol.ts |
| escape sub commands dispatched | none read | ESCAPE_SUB_COMMANDS in packages/usb/src/protocol.ts |
Generated from packages/remote and packages/usb by make remote-reference-write. Change the source, not this block.
| field | value |
|---|---|
| vendor and product id | 046D:C111, which the Harmony 515 enumerates too12 |
bcdDevice |
0x0916: protocol 9 and skin 22 in plain hex13 |
| product string | Harmony Remote 0-3.0.0,1 and Harmony Safe Mode! in safe mode4 |
| version block | 27 30 25 12 ff 90 16 09: seven fields1 |
| identity block | EEPROM, protocol address 0x200010. The values are one remote's and never appear here5 |
The skin is readable without opening the device, from bcdDevice's low byte.3 Whether the other
models of this architecture share the product id is not checked.6 Enumeration does not tell
safe mode from the application: only the product string does.4
What a host can read and what it cannot¶
- Content answers in every window but one: internal flash, the EEPROM and the external flash, with the configuration, both stored firmware images and the configuration region above the configuration.1758
- The data memory window answers zeros, whatever the memory holds.9
READ_MISCserves selector 1 alone. Every other selector, the data memory read selector 7 among them, sends back two bytes the firmware has just cleared, so it answers zeros.10 Selector 1 returns a parameter by index, and what it answers on a running remote has not been read with a decoder that takes the right byte of its reply, the architecture's usb.md.11- A configuration block can be erased and written back, verified by reading it again, and the blocks either side are untouched.12 The restart and the data memory write are refused on this architecture; the architecture's usb.md has the write standing and the reasons.
Not checked¶
- What
READ_MISCselector 1 answers on a running 525, decoded correctly; a third party reports parameter 0 moving with the clock.6 - A learn capture.6
-
Measured on a unit. Section 195 ↩↩
-
Measured on a unit. Section 118 ↩↩
-
Measured on a unit. Section 268 ↩↩
-
Measured on a unit. Section 119 ↩
-
Measured on a unit. Section 270 ↩
-
Measured on a unit. Section 137 ↩
-
Read in the firmware. Section 90 ↩
-
Measured on a unit. Section 90 ↩
-
Measured on a unit. Section 269 ↩