start Lauterbach TRACE32
Project description
lauterbach-trace32-pystart
Since 2020, Python programs can control TRACE32 via the lauterbach-trace32-rcl module (pyrcl). Up to now, TRACE32 must be started using a config file, which requires familiarization with the TRACE32 configuration file syntax or the use of the configuration tool t32start.exe. Now Lauterbach offers a new lauterbach-trace32-pystart module (pystart) which allows the configuration and start of TRACE32 directly from Python.
For feedback and questions, please contact support@lauterbach.com (include "pystart" in the subject).
Example
import lauterbach.trace32.pystart as pystart
pystart.defaults.system_path = r"C:\T32"
powerview = pystart.PowerView(pystart.USBConnection(), "t32marm")
powerview.title = f"TRACE32 PowerView for ARM 0"
powerview.id = "T32_arm0"
powerview.start()
powerview.wait()
Release Notes
v0.2.0
- use binaries from
PATH
if no system_path is specified - gently stop Trace32 on Windows OS
- added timeout for
PowerView.stop()
- wait necessary time in
PowerView.start()
instead of waiting for a predefined amount of time - added exeptions
TimeoutExpiredError
andAlreadyRunningError
- limit startup script parameter to be of type
Iterable[str]
- send
stdout
andstderr
output of PowerView instance to a logger
v0.1.7
- fix datatype of
library_file
parameters in some Connection classes to allowpathlib.Path
's. - add
TCPConnection
for Lauterbach X-Series debugger. - rename
EthernetConnection
toUDPConnection
v0.1.6
- initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lauterbach-trace32-pystart-0.2.0.tar.gz
.
File metadata
- Download URL: lauterbach-trace32-pystart-0.2.0.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0116153b62d701e89276ed00edb1cc67bd6606d5817ed1f1643b1ed7283acce1 |
|
MD5 | 40f3747539664443e686f51bde474295 |
|
BLAKE2b-256 | 69eb9370306a5d9fea7583436890874121b2c5a5176efe407ed31ea1ebe1a42e |
File details
Details for the file lauterbach_trace32_pystart-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: lauterbach_trace32_pystart-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fe8f6fdbafda1aef26c2867c60ad7688de283e2e17b8a5f318c5b8ee0e722e2 |
|
MD5 | cd4a8c46819cf84948bd1b86822b5dd6 |
|
BLAKE2b-256 | 019fd079d6b8e3b61ca5b84f4e619312f50b03f7e07c28a3a599a7f8197eb42c |