A Windows CLI tool to analyze and verify Embedded Controller (EC) firmware binaries.
Open CMD or PowerShell and run:
ecsim.exe <firmware.bin>
ecsim.exe firmware.bin
=== ecsim - EC firmware simulator / analyzer ===
File: firmware.bin
Size: 131072 bytes (128 KB)
String at 0x50: ITE EC-V14.6
Found version string at 0x0033: ...
...
Blank (0xFF) pages: 62/512 (12.1%)
EC chip: IT5570 (0x5570)
EC version: 0x01
Trying to execute firmware...
Firmware is executing (PC = 0x0064 after 100 steps)
Result: VALID - firmware boots and executes
First 64KB 16-bit sum: 0xC798
=== ecsim done ===
- Detects ITE EC firmware signatures and version strings
- Simulates 100 CPU steps to verify the firmware executes
- Reports blank page usage and checksum
- Identifies EC chip type (IT5570, etc.)
MIT