Harmony 600: USB¶
How the 600 looks on the cable and what it answers. On the bus it is one of three look alikes: the Harmony 600, 650 and 700 share a USB product id and a command set, and what tells them apart is a number in the release field of the USB descriptor and the model number in the version block. The command set, the write rails and which paths are open on this architecture are the architecture's usb.md; the protocol itself is the USB protocol reference. This page states what is the 600's own.
Identity on the bus¶
| field | value | from |
|---|---|---|
| USB product id | 0xC122 | PROFILES in packages/remote/src/read.ts |
| first refused flash top byte | 0x20, so external flash ends at 0x200000 | FLASH_TOP_BYTE_BOUND in packages/usb/src/protocol.ts |
| escape sub commands dispatched | 0x01, 0x02, 0x03, 0x05 | 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 | evidence |
|---|---|---|
| vendor and product id | 046D:C122, the same as the Harmony 650 and 700 |
1, 2 |
bcdDevice |
0x1071, BCD of 1000 plus the skin; predicted before it was read, and the rule's only measurement on this architecture, transport |
3 |
| product string | Harmony Remote 0-0.2.0 |
1 |
| report descriptor | 33 bytes, identical to the 700 image's | 1 |
| firmware and hardware in the version block | 0.2 and 1.1 | 4 |
| flash id | 15:1C, EON's 2 MiB part |
5, 6 |
| architecture, version block field 4 | 14 | 7 |
| skin, version block | 71 | 4 |
| identity block | at internal 0xFF +0xF400, memory.md; its values are one remote's serial and never appear in this reference |
8 |
Telling the 600 from the 650 and 700: the product id, the architecture and the flash id cannot. The
bcdDevice and the skin in the version block can tell the model; what tells one remote from another is
the identity block2.
The skin it reports is the firmware's constant: the 0.2 build's version reply states 71 at 0x11964
and its descriptor 0x1071, where the Harmony 650's 0.2 states 72 and 0x10729. A configuration
on the remote may state 73 and the remote still reports 7110, README.md.
What the 600 answers¶
| command | what the 600 does | evidence |
|---|---|---|
GET_VERSION, READ_FLASH of external flash and both internal pages |
answers; both internal pages and the configuration region read whole | 8, 11, 5 |
READ_MISC selector 7, live data memory |
answers with live values: the state variables from 0xE10, the clock among them ticking, and the panel's identity byte at 0x384; the flash id at 0x686 |
10, 6 |
ERASE_FLASH and WRITE_FLASH on configuration blocks |
a block written back unchanged leaves the blocks either side untouched and the remote running; a whole configuration of eleven 64 KiB blocks reads back byte for byte | 4, 12 |
the cache drop, WRITE_MISC selector 0x02, and the restart |
a write with both lands, and the remote runs it after the restart | 13 |
the settings read, 0x13 0xB2 |
answers with the settings store's records | 14 |
the settings write, 0x14 0xB3 |
appends a record to the settings store, and on the 0.2 build a successful write answers 1; measured on the 600 alone of the three models. No template of Logitech's clients carries 0xB3 and none exists for skin 71, so the firmware is the only source for this write |
15, 16 |
the battery voltage, READ_MISC selector 0x0C |
implemented in the 600's image; not asked of a 600 | 17 |
| the reinstall and the staging write | not tried on a 600 | 18 |
WRITE_MISC selector 0x07, a RAM write |
refused on this architecture by this project's rails, the architecture's usb.md |
The command table's handler addresses in the command reference are given for the 600's 0.2 image and the Harmony 700's 2.8.
The state variables of a connected 600 were once read as not loaded, from five variables that read zero; those are variables of another kind, and the configuration's own are live on the cable10, the architecture's usb.md.
Not checked¶
- Safe mode's USB identity on a 60018.
- The battery voltage on a 60018.
- The data memory, program memory and action queue members of the
0x1Nfamily, read in the 600's image and never sent19.
-
Measured on a unit. Section 281 ↩↩
-
Measured on a unit. Section 19 ↩
-
Measured on a unit. Section 302 ↩↩↩
-
Measured on a unit. Section 88 ↩↩
-
Measured on a unit. Section 110 ↩↩
-
Measured on a unit. Section 57 ↩
-
Measured on a unit. Section 23 ↩↩
-
Read in the firmware. Section 392 ↩
-
Measured on a unit. Section 387 ↩↩↩
-
Measured on a unit. Section 24 ↩
-
Measured on a unit. Section 389 ↩
-
Measured on a unit. Section 303 ↩
-
Measured on a unit. Section 304 ↩
-
Measured on a unit. Section 305 ↩
-
Stated by Logitech, in their client. Section 305 ↩
-
Read in the firmware. Section 212 ↩
-
Read in the firmware. Section 304 ↩