mcu-chip-info

Reads MCU identity, debug-link, and runtime information from connected Cortex-M targets via OpenOCD.

5|1|Updated Jul 12, 2026
One-click install
npx skills add https://github.com/BakeSheep/EmberProbe-MCU-Flash-Debug --skill mcu-chip-info-bakesheep
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mcu-chip-info
Source: https://github.com/BakeSheep/EmberProbe-MCU-Flash-Debug/tree/main/skills/mcu-chip-info
Command: npx skills add https://github.com/BakeSheep/EmberProbe-MCU-Flash-Debug --skill mcu-chip-info-bakesheep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? When debugging embedded firmware, you often need quick answers about the connected chip—its core, series, UID, flash size, debugger transport, voltage, or CPU state—without manually launching OpenOCD or writing probe scripts. This Skill reads exactly the MCU fields you ask for through the EmberProbe bridge, including a vendor fingerprint that distinguishes genuine ST chips from compatible clones like APM32, GD32, or AT32. ## Core Features & Use Cases - Selective field reading: Request grouped sections (identity, debug, runtime) or individual fields such as core, series, deviceId, flashSize, voltage, or CPU registers, so you only fetch what the question needs. - Vendor authenticity detection: Decodes the CoreSight ROM table to report the JEP106 designer and an authenticity verdict (genuine vs compatible clone with vendor/brand names). - Structured failure diagnostics: On error, returns JSON with error.code, likelyCause, suggestedActions, and the OpenOCD log tail for precise troubleshooting. - Use Case: A user asks "Is this board a real STM32 or a GD32 clone, and how much flash does it have?" The agent runs the read script with the relevant fields and returns the authenticity verdict and flash size in one step. ## Quick Start Ask the agent to read the connected chip's identity information, for example: "Tell me the core, series, UID, and flash size of the MCU currently attached to my debug probe."

Frequently Asked Questions about mcu-chip-info

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read MCU chip information with OpenOCD?▼

Run the skill's read-chip script with a workspace path and either a section (identity, debug, runtime) or a comma-separated field list. It calls the EmberProbe bridge, which owns the OpenOCD session, and returns the requested chip data as JSON.

How can I detect a fake or clone STM32 chip?▼

Request the identity fields designer, authenticity, compatVendor, and compatBrand. The skill decodes the CoreSight ROM table JEP106 designer code and reports whether the chip is a genuine ST part or a compatible clone such as Geehy APM32 or GigaDevice GD32.

What hardware is required to read chip information?▼

You need the EmberProbe VS Code extension with its Agent Bridge, an OpenOCD installation, a connected debug probe, and a powered target board. The probe must be free because EmberProbe enforces single-owner mutual exclusion.

Why does chip reading fail with a probe busy error?▼

EmberProbe allows only one probe owner at a time, so another session or skill may be holding it. Do not start a second OpenOCD process; wait for the probe to be released and retry the read.

Does reading chip information modify the target device?▼

No, the operation is read-only. It briefly uses the probe to query the target but makes no persistent changes to the chip, flash, or debug state.