bfd-register-capture

Capture STM32 peripheral registers and export time-stamped snapshots to CSV.

27|1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Sonder4/STM32-BFD-Kit --skill bfd-register-capture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bfd-register-capture
Source: https://github.com/Sonder4/STM32-BFD-Kit/tree/main/skills/claude/bfd-register-capture
Command: npx skills add https://github.com/Sonder4/STM32-BFD-Kit --skill bfd-register-capture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pylink-square, and includes scripts (resource) components.

What problem does it solve?

This skill enables engineers to sample STM32 peripheral registers, track their changes over time, and export snapshots to CSV for hardware-state analysis.

Core Features & Use Cases

  • Capture repeated register values from USART, FDCAN, and SPI peripherals for debugging and fault analysis.
  • Export time-stamped data to CSV for offline analysis, reporting, and trend detection.
  • Use bootstrap/profile setup to align toolchains and ensure reproducible captures across environments.

Quick Start

Run bootstrap profile, select a peripheral and register set, then perform a capture and save the results to CSV.

Frequently Asked Questions about bfd-register-capture

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

FAQPage Schema
How do I capture STM32 register values over time for hardware-state analysis?

To capture STM32 register values over time, you can sample peripheral registers via J-Link and export time-stamped snapshots to CSV. This allows you to track hardware state changes for debugging and fault analysis.

Can I export USART and FDCAN peripheral registers to CSV during STM32 debugging?

Yes, you can export USART and FDCAN peripheral registers to CSV. The tool reads selected register sets during a J-Link debugging session and saves the captured data with timestamps for offline analysis.

Do I need a J-Link debugger to snapshot STM32F4 and STM32H7 registers?

Yes, a J-Link debugger is required to snapshot STM32F4 and STM32H7 registers. The tool relies on J-Link workflows to read peripheral addresses and extract register field values for capture.

What is the best way to track changes in STM32 peripheral registers during signal capture?

The best way to track STM32 peripheral register changes is to run a bootstrap profile, select your target peripheral and registers, then perform a repeated capture. This exports a time-stamped CSV snapshot of the hardware state for trend detection.

How does the bootstrap profile setup work for STM32 register captures?

The bootstrap profile setup aligns your toolchains and configures the environment before capture. By running this setup first, you ensure reproducible register sampling and CSV exports across different STM32 debugging sessions.

Does STM32 register capture support decoding individual register fields?

Yes, STM32 register capture supports decoding register fields where they are defined. Alongside raw address reads, this allows you to analyze specific peripheral bit-field changes and export them to a CSV file.