lukejenkins/claude-openocd-spi-dump

3 stars · Last commit 2025-12-28

Claude Code plugin for dumping SPI flash/EEPROM through a microcontroller via OpenOCD

README preview

# OpenOCD SPI Dump Plugin

A Claude Code plugin for dumping SPI flash/EEPROM memory through a microcontroller's SPI peripheral via OpenOCD, without requiring external SPI programming hardware.

## Overview

When reverse engineering embedded systems, you often need to dump SPI flash contents but lack dedicated SPI programming hardware. This plugin provides Claude with the knowledge and guided workflows to help you dump flash via the MCU's debug interface (SWD/JTAG).

## Features

- **Skill: spi-flash-dump** - Comprehensive knowledge about RAM-resident SPI dumping
  - MCU register maps for SAM4S, SAM3X, STM32F1/F4, nRF52, LPC1768
  - Ready-to-use code templates (C, linker scripts, OpenOCD TCL)
  - Troubleshooting guide for common issues

- **Command: /spi-dump** - Fully guided interactive workflow
  - Gathers information about your target MCU and SPI connections
  - Generates customized implementation for your hardware
  - Walks through testing and verification

View full repository on GitHub →