ToolBB-0177

STM32 AutoDebug Universal Kit: compile, flash and HardFault triage for agents

STM32 AutoDebug Universal Kit compiles STM32 firmware with Keil MDK, flashes it over SWD and waits for a pass token on the serial port. On a HardFault it reads the fault registers and maps the PC to a source line. Every result is an exit code. It is Windows-only; the README shows example output from an STM32F103C8T6.

Open original source github.com · Taoyu

Claimed
Why this evidence label?

README shows example console output for an STM32F103C8 run; we could not tell whether it is a captured session.

How we check entries
Preview image for STM32 AutoDebug Universal Kit: compile, flash and HardFault triage for agents
The source's own preview image, from github.com.

Briefing

The kit runs Keil's UV4.exe in batch mode, parses its log and flashes with pyOCD or pylink. A run passes on zero build errors, a good flash and a serial token such as [ALL TESTS PASSED]. After a crash it reads CFSR, BFAR, MMFAR and HFSR over SWD and resolves the PC through the DWARF data in the .axf file. It also flags timebase drift over 5%.

Exit codes run from 0 to 6, and an optional MCP server exposes 10 tools. The README lists 169 offline unit tests that run in GitHub Actions. It needs Keil as well as Windows. The README is in Chinese; the version read was v2.4.5, under the MIT license.

From the GitHub API

Repository facts

Repository facts for taocosmo-dev/stm32_autodebug_universal_kit, from the GitHub API
Repositorytaocosmo-dev/stm32_autodebug_universal_kit
Stars38
LicenseMIT Permissive
LanguagePython
Last push30 Sep 2026 29 d ago

Tags

Board
Instrument

Report a problem with this entry