Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
6.1 Binary Packet
The binary packets used in the External Memory consist of a header followed by a payload. The payload size can range
from 0 to 65,000 bytes. The payload size is determined by the device.
Packet Header
The packet header is four bytes in length.
ACK/NACK
- This bit is a response to a command and the reply bit must be set.
Reply
- This bit is set when a response to a command is processed. Every command packet must have a reply
Command
- The command of the packet. All reply packets will reply with the same command.
Checksum
- The checksum of the entire packet. If the calculated checksum does not match the header's checksum, the
packet must be NACKed.
Length
- The length of the payload, ranging from 0 - 65,000.
Packet Payload
The packet payload is variable length. The length member of the header will indicate the size of the payload in bytes.
6.2 Binary Commands
The binary packets use commands to instruct the device what actions are required.
The following commands are supported by the External Memory Programmer
•
ECHO
- A zero payload command. Used to establish communication with a device.
•
MEMORY ERASE
- requesting that the memory be prepared to be written to.
•
MEMORY WRITE
- write the data in the payload to a memory section
•
MAX PAYLOAD SIZE
- requesting the maximum payload size accepted by the device
•
MEMORY VERIFY
- requesting a checksum over a memory range
•
DONE
- all memory programming and verifying are done
6.2 Binary Commands External Memory Programmer
22
6
Protego_Release_01_05-Related-OEM-MLA-framework-gfx-utilities-memory_programmer-External_Memory_Programmer_Help.pdf