Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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:


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.


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

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date (57.2 kB) Copy SHA256 hash SHA256 Source None Feb 22, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page