Skip to content
Jim Frederick edited this page Apr 26, 2020 · 14 revisions

I'm keeping demo programs here that demonstrate communications from Python to an ARM microcontroller over an SWD (ST-Link) interface to access live data similar to a live-watch window in a debugger.

  • pyocd - directory has examples based on pyOCD for the debug interface and .elf parser.
    • pyOCD_read_uwTicks.py - trivial console app that reads uwTicks from firmware
    • tkgui_read_usTicks.py - Similar to pyOCD_read_uwTicks.py but uses a tk gui. Also can clear uwTicks.
Clone this wiki locally