Skip to main content

Python interface library for OpenOCD

Project description

openocd

Python interface library for OpenOCD.

Dependencies

  • Python >= 3.6

Installation

Prerequisites:

To install this package, run:

python setup.py install

Example

from openocd import OpenOcd

with OpenOcd() as oocd:
    oocd.halt()
    registers = oocd.read_registers(['pc', 'sp'])

    print('Program counter: 0x%x' % registers['pc'])
    print('Stack pointer: 0x%x' % registers['sp'])

    oocd.resume()

License

This project is licensed under the GPLv3+ - see the LICENSE file for details.

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

openocd-0.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

openocd-0.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file openocd-0.1.tar.gz.

File metadata

  • Download URL: openocd-0.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for openocd-0.1.tar.gz
Algorithm Hash digest
SHA256 9e31991093bc0ac6219db67019dcb25c49931e6cf7da063be2f2e60d9db9a22b
MD5 045100d3695a8d300ab88fb9342ac7d0
BLAKE2b-256 f0046e84aa4025d32859e9ff045b638b9d8fdb5c5e876045226bf382d6c7b2a9

See more details on using hashes here.

File details

Details for the file openocd-0.1-py3-none-any.whl.

File metadata

  • Download URL: openocd-0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for openocd-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 930b07ab7b86a0a530e96d21fba08d7eb7460719d4ba4db628a758f5f39606a6
MD5 7ab392ba9bae0891ed92b26f376d308d
BLAKE2b-256 8cf68a1a1d54afdbaa9f3580bc72435962fffb10ff68096d23ea6132ffcf14ee

See more details on using hashes here.

Supported by

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