Skip to main content

CMSIS-DAP debugger access for Python

Project description

pyDAPAccess is an Open Source python 2.7 library for communicating with ARM Cortex-M microcontrollers through CMSIS-DAP over USB. Currently Linux, OSX, and Windows are supported.

For more information on CMSIS-DAP you can find the official standard:

Installation

No user installation of this library is necessary. Tools which rely on pyDAPAccess must specify it as a dependency. This will cause pip to install it automatically as soon as something depends on it.

One case where pyDAPAccess will need to be installed manually is when doing development. Installation can be done with pip using the following command:

$ pip install pydaplink
Note that you may run into permissions issues running this command.
You have a few options here:
  1. Run with sudo -H to install pyDAPAccess and dependencies globally

  2. Specify the --user option to install local to your user

  3. Run the command in a virtualenv local to a specific project working set.

Development Setup

pyDAPAccess developers are recommended to setup a working environment using virtualenv. After cloning the code, you can setup a virtualenv and install the pyDAPAccess dependencies for the current platform by doing the following:

$ virtualenv env
$ source env/bin/activate
$ pip install -r dev-requirements.txt

On Windows, the virtualenv would be activated by executing env\Scripts\activate.

Examples

For examples you can look into pyDAPAccess’s usage in pyOCD:

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

pyDAPAccess-0.1.4.zip (57.2 kB view details)

Uploaded Source

File details

Details for the file pyDAPAccess-0.1.4.zip.

File metadata

  • Download URL: pyDAPAccess-0.1.4.zip
  • Upload date:
  • Size: 57.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyDAPAccess-0.1.4.zip
Algorithm Hash digest
SHA256 fee010c6984895c9f1811cc0bc9b7683782dafa5091be8f7d6fd8a4702271cbe
MD5 772c84a053bb1febeec1f540d7ec8889
BLAKE2b-256 5414c2235f4bde0c5537083ed4f4446e1e728132ff1776b3d834157c03c7fa43

See more details on using hashes here.

Supported by

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