Skip to main content

Library for controlling OpenOCD from Python programs

Project description

PyOpenocdClient

PyOpenocdClient is a Python library for controlling OpenOCD software tool.

It allows to send any TCL commands from Python programs to OpenOCD and receive results of these commands (for instance commands like halt execution of the program, view data in memory, place breakpoints, single-step, ...).

Quick instructions

Install PyOpenocdClient package using Pip:

$ python3 -m pip install PyOpenocdClient

Basic usage:

from py_openocd_client import PyOpenocdClient

with PyOpenocdClient(host="localhost", port=6666) as ocd:

    ocd.reset_halt()
    ocd.cmd("load_image path/to/program.elf")
    ocd.resume()
    # ...

Documentation

For full documentation, please visit: https://pyopenocdclient.readthedocs.io/en/latest/

 

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

pyopenocdclient-0.1.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

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

PyOpenocdClient-0.1.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file pyopenocdclient-0.1.0.tar.gz.

File metadata

  • Download URL: pyopenocdclient-0.1.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pyopenocdclient-0.1.0.tar.gz
Algorithm Hash digest
SHA256 794a21f1e3d7f37f69ab383c0f9fee0c59bd4f739d3d5966b414000bcaf672fe
MD5 85199f5287b430e580020ed34f0039da
BLAKE2b-256 a9be1e738d2d4ea5ffa96f237bb395257d3b7122a0dc055754f07e267a718618

See more details on using hashes here.

File details

Details for the file PyOpenocdClient-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for PyOpenocdClient-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dba860fab948a4765019ac174af5114dae57dfaceda42d001485f84616b6cf6
MD5 bacafa04bdb8dcb657ba3130ff79bc61
BLAKE2b-256 fa30375f7785346d890e21c4f3f9c4cce2b4c709386b1d0dac738b8e4930ddac

See more details on using hashes here.

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