![]() |
Debugger-based On-Target Testing
|
The requirements for your platform consist of the platform-specific requirements (either Windows or Linux) and the general requirements below.
Windows 10 (amd64)Python 3.10.7 and 3.12.0 (64bit); used Python distribution: PythonBuildsUbuntu 22.04 (amd64); limited testing was also performed with Manjaro (Arch) Linux (amd64)Python 3.10.7 and 3.12.0 (64bit); used Python distribution: PythonBuildsRecommended
As of DOTT version 1.10, first support for P&E Micro debug probes has been added via P&E's gdb server which is shipped free of charge as part of P&E's Eclipse plugin. Note that P&E Micro support in DOTT has not yet undergone as in-depth testing as support for Segger debug probes.
Building the P&E runtime extension for DOTT can be done by cloning the DOTT repository and executing the following commands:
The result of the steps above is a Pyhton package in the dist folder called dott_ng_pemicro_s32k_runtime-5.7.5-py3-none-any.whl (or similar). This package contains the P&E GDB server and support for files for NXP S32K MCUs. If you need support for other MCUs change setup.py accordingly.
Note that the P&E DOTT runtime file needs to be generated by users themselves and is not provided via PyPi.
For Linux systems, a udev rule similar to the following one might be needed for P&E Micro OpenSDA debuggers:
The setup instructions for your platform consist of the platform-specific instructions (either Windows or Linux) and the general instructions below.
DOTTJLINKPATH environment variable to point to the location of this JLink software version.pip install, you are seeing error messages such as ‘invalid command 'bdist_wheel’orFailed building wheel for ..., run the following command and then re-run thepip installcommand from above. ``shell script $ pip install setuptools wheel twine ``If, duringpip install, you are seeing error messages such asfatal error: Python.h: No such file or directory, install the Python development package using the following command: ``shell script $ apt-get install python3-dev ```requirements.txt you can include DOTT as follows: