Skip to main content

A non-invasive DAP-based tool for MCU data acquisition, monitoring, and visualization.

Project description

uCap

A non-invasive DAP-based tool for MCU data acquisition, monitoring, and visualization.

中文文档

Installation

pip install python-ucap

If using ST-Link V3, you need to install the latest pyswd:

git clone https://github.com/cortexm/pyswd
cd pyswd
pip install .

Usage

Read/Write Variables

Fill in a config file and run:

ucap rw -c path/to/config.toml

Real-time Monitor

ucap mon -c path/to/config.toml

Plot Captured Data

ucap show -d path/to/data_dir

Shell Completion

Tab completion is supported for bash / zsh / fish / powershell:

# bash
eval "$(ucap completion bash)"

# zsh
eval "$(ucap completion zsh)"

# fish
ucap completion fish | source

# powershell
ucap completion powershell | Out-String | Invoke-Expression

Add the eval line to ~/.bashrc, ~/.zshrc, fish config, or PowerShell $PROFILE to enable permanently.

Backend Support

Backend Description Dependency
pyocd Default, versatile, supports many debuggers pyocd
pyswd Lightweight and fast, ST-Link only pyswd
openocd Requires a pre-started OpenOCD daemon openocd

Example Configs

The examples/ directory provides config templates for various scenarios:

File Description
simple.toml Minimal config, quick start
full.toml Comprehensive example covering scalar / array / struct / computed / write
plot.toml Plotting config (multi-figure / multi-layout / plot / stem / scatter)
pyocd.toml pyOCD backend connecting to a specific target chip
pyswd.toml pySWD backend (ST-Link)
openocd.toml OpenOCD backend, requires manually starting the daemon

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_ucap-0.7.4.tar.gz (108.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_ucap-0.7.4-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

Details for the file python_ucap-0.7.4.tar.gz.

File metadata

  • Download URL: python_ucap-0.7.4.tar.gz
  • Upload date:
  • Size: 108.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for python_ucap-0.7.4.tar.gz
Algorithm Hash digest
SHA256 caa47a197ff1265d4ccb1715f07c5d5fdb94da4ec45d93548387ab34ed88f761
MD5 c44155dfeec93bc3d403fd530b05bcdd
BLAKE2b-256 6c28699014a9563ea76880a463c98568a88f143f3b4f04367fe8a1a3519ee5a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_ucap-0.7.4.tar.gz:

Publisher: release.yml on vaxowt/ucap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_ucap-0.7.4-py3-none-any.whl.

File metadata

  • Download URL: python_ucap-0.7.4-py3-none-any.whl
  • Upload date:
  • Size: 35.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for python_ucap-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e9458068026de4d0f72351c791cbfce7e663e2bf24fc3ff7f51edda12467d935
MD5 7312e4b5870e15d9611caa27cd40b775
BLAKE2b-256 998dfa80973ee0f365199ae7b2e61edbc565317cb942ae50fb4aca8d88a7f564

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_ucap-0.7.4-py3-none-any.whl:

Publisher: release.yml on vaxowt/ucap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page