Harmony 700: USB¶
How the 700 looks on the cable and what it answers. A remote on USB presents itself with a few identifying numbers and then answers a small set of commands: read memory, erase and write flash, report its version, restart. The command set, the rails and the write lists are the architecture's, the architecture's usb.md; this page states what is the 700's own and what has been measured on a 700.
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 600 and 650 |
1, 2 |
bcdDevice |
0x1066 in the 2.8 image's descriptor, the transport; on a remote not read |
2, 3 |
| product string | Harmony Remote 0-2.8.0 in the 2.8 image |
2 |
| firmware | 2.8 after the install from a staged image; 2.5, and 2.3 in safe mode, before it | 4, 5 |
| software type | 4 in safe mode, 0 running | 4, 6 |
| flash id | 15:1C, EON F16, 2 MiB |
4 |
| architecture | 14 | 4 |
| skin | 66 | 4 |
| identity block | at internal 0xFF +0xF400; its values are one remote's serial and are never written here |
4 |
Telling the 700 from the 600 and 650: product id, architecture and flash id cannot; the skin and
bcdDevice can for a person, and the identity block is what this project's write rails compare7.
What a 700 answers¶
| command | on a 700 | evidence |
|---|---|---|
GET_VERSION, READ_FLASH of external flash and both internal pages |
answered, read only | 4 |
WRITE_MISC selector 6, the update status byte, then the restart |
safe mode installs the staged application, firmware.md | 4 |
ERASE_FLASH and WRITE_FLASH of the staging region |
takes Logitech's 2.8 image, which then installs | 5 |
ERASE_FLASH and WRITE_FLASH of configuration blocks |
a block written back unchanged; a power on delay changed and put back; whole configurations of nine 64 KiB blocks, each read back byte for byte | 8, 9, 10, 11 |
the cache drop, WRITE_MISC selector 0x02, and the restart |
part of the write sequence on 2.8, the drop read on that build first | 9, 12 |
READ_MISC selector 7, live data memory |
the state variables from 0x900 on build 2.8, the clock among them. This row said "never sent to a 700 here" until section 386 |
11 |
WRITE_MISC selector 0x07, a RAM write |
refused on this architecture by the rails, the architecture's usb.md |
Read in the 2.8 image and not tried on a 700:
- The settings read and write,
0x13 0xB2and0x14 0xB3: the 2.8 build reaches its own append, which is unread, the architecture's firmware.md. It carries the 0.2 builds' gate plus a third range of command states,0xD0to0xD6, with executors of their own13. Logitech's template for skin 66 carries0xB2only as the firmware update status read,B2 06 00, and none carries0xB314. - The charger commands, a version request with command state
0x1D,0x1Eor0x18to0x1C:0x1Dswitches charging on,0x1Eoff, and0x18to0x1Cread the charger flags back15. The transport refuses all seven, and whether Logitech's clients send them is not checked3. - The battery voltage,
READ_MISCselector0x0C, implemented in the 700's image16.
The command table's handler addresses in the command reference are given for the 700's 2.8 image and the Harmony 600's 0.2.
Not checked¶
bcdDeviceas the bus reports it on a 7003.- The settings read and write, the charger commands and the battery voltage on a 7003.
- Live data memory past the state variables on a 700; the state variables are read11.
-
Measured on a unit. Section 281 ↩
-
Read in the firmware. Section 19 ↩↩↩
-
Measured on a unit. Section 297 ↩↩
-
Measured on a unit. Section 296 ↩
-
Chosen by this project. Decision 6 ↩
-
Measured on a unit. Section 300 ↩
-
Measured on a unit. Section 301 ↩↩
-
Measured on a unit. Section 383 ↩
-
Measured on a unit. Section 386 ↩↩↩
-
Read in the firmware. Section 299 ↩
-
Read in the firmware. Section 304 ↩
-
Stated by Logitech, in their client. Section 305 ↩
-
Read in the firmware. Section 384 ↩
-
Read in the firmware. Section 212 ↩