CMSIS-DAP debugger access for Python
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.
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
- Run with sudo -H to install pyDAPAccess and dependencies globally
- Specify the --user option to install local to your user
- Run the command in a virtualenv local to a specific project working set.
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.