5 mo ago
1 of 12A short way in if you have OpenOCD and a CMSIS-DAP probe: identify the chip, halt, read registers and decode peripherals from SVD. The repo includes a smoke test run on an STM32F407.
OpenOCD MCU MCP: an OpenOCD bridge and Codex skill for Cortex-M debugging
OpenOCD MCU MCP connects a coding agent to a microcontroller through OpenOCD, using an MCP server and a Codex skill. The agent can identify the chip, halt and reset it, read registers and memory, and decode peripheral registers from CMSIS-SVD files. The README includes a smoke test on an STM32F407 over a CMSIS-DAP probe.