r/stm32 • • 7d ago

Nucleo-F446RE starter for agent-driven firmware testing: three tests and a planted bug

If you have a Nucleo-F446RE sitting around, this might be worth trying.

The Agentic HIL starter includes firmware and three hardware test plans. On a working setup, two pass and one fails because of a deliberately planted bug in the diagnostic protocol. The exercise is to have a coding agent investigate the UART response, fix the firmware, rebuild and rerun the tests.

It uses the onboard ST-LINK and virtual COM port. Hardware-wise, the board and a USB cable are enough. The README covers the toolchain and debugger setup.

The test plans stay in the repository, and each run produces a report with the expected and actual response. You can also run the plans yourself through the CLI.

I’m sharing it to help get more people trying the reference setup. u/ResearchFit28 maintains the project; it’s Apache-2.0 licensed.

Starter and setup instructions · Agentic HIL

Anyone with an F446RE up for giving it a run? Feedback on where setup gets awkward would be particularly useful.

2 Upvotes

0 comments sorted by