SniffROM
A tool for passive data capture and reconnaissance of serial flash chips. It is used in conjunction with a Saleae logic analyzer to reconstruct flash memory contents and extract contextual information about device operations.
Install / Use
/learn @alainiamburg/SniffROMREADME
NOTE: Saleae Logic version 2 breaks the built-in SPI analyzer export feature, meaning sniffROM currently only works with data exported from Logic version 1.x
As of 12/6/2023 it is unknown when this will be fixed.
- https://discuss.saleae.com/t/logic-2-2-11/436/9
- Logic2 low-level analyzer export - transaction and packet missing
- Packet ID always shows up as '0' in Logic 2 #12
sniffROM
A tool for passive data capture and reconnaissance of serial flash chips. It is used with a Saleae logic analyzer to reconstruct flash memory contents and extract contextual information about device operations.
- Supports <b>SPI</b> and <b>I²C</b> flash chips.
- Preserves the actual memory addresses of captured data.
- Generates a <b>visual map</b> of the reconstructed binary image.
- Generates a <b>timing plot</b> of reads/writes to memory addresses.
- Recognizes <b>100+</b> (and currently parses <b>12</b>) SPI flash commands from the following manufacturers:
- Atmel
- Eon
- Fidelix
- GigaDevice
- Macronix
- Numonyx
- Spansion
- SST
- Winbond
See the Wiki for documentation
usage: sniffROM_new.py [-h] [--addrlen [{2,3,4}]] [--endian [{msb,lsb}]]
[--filter [{r,w}]] [-o [O]] [--summary] [--data-map]
[--timing-plot] [-v]
input_file
sniffROM - Reconstructs flash memory contents and extracts other data from
passively sniffed commands in a Saleae logic analyzer capture file. Currently
supports SPI and I2C flash chips.
positional arguments:
input_file Saleae Logic SPI or I2C Analyzer Export File (.csv)
optional arguments:
-h, --help show this help message and exit
--addrlen [{2,3,4}] set length of SPI memory address in bytes (default: 3)
--endian [{msb,lsb}] set endianness of SPI memory bytes (default: msb)
--filter [{r,w}] analyze only Read or Write commands (default: both)
-o [O] flash image output file name (default: output.bin)
--summary print summary of sniffed commands and metadata
--data-map show visual data map
--timing-plot show timing analysis
-v increase verbosity (up to -vvv)
Related Skills
claude-opus-4-5-migration
83.2kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
docs-writer
99.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
337.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
49.8k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
