Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

6 Binary Communication Protocol
The External Memory Programmer uses an ACK/NACK communication method to transfer the data contained in the HEX file
to the device. All packets from the host to device must be ACK/NACKed, but do not require a payload.
The following is a description of the communication method with uploading a HEX file.
1. An echo packet is sent. This packet has no payload and is used to establish communication between the host and device.
2. A packet requesting the maximum packet size is sent. This is used by the host to ensure that the packet length is never
larger than the device's resources. Devices are able to dictate the resource requirements for the packet.
3. A packet requesting that the memory be erased. The device will need to make sure that the memory is in the proper state
to write data.
4. The memory write packets are sent. The amount of packets required depend on the HEX file and the maximum packet
size.
5. The verify memory packets are sent. The device will perform a checksum over a memory region.
6. The done packet will be sent. The device is notified that all memory uploading and verifying are complete.
6.1 Binary Packet External Memory Programmer
21
6

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh