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.5.0
- add
connection_scriptsetting - fix InteractiveConnection
- start windows 32bit executable only if
force_32bit_executable==True, don't search for it, if 64bit executable is not available
v0.4.0
- fix broken compatibility to python <3.9
- allow
PowerViewto be used as ContextManager
v0.3.0
- add settings
REMOTEHOSTALLOWandREMOTEHOSTDENYfor some T32Interfaces
v0.2.1
- use builtin
TimeoutErrorinstead ofTimeoutExpiredError - use builtin
RuntimeErrorinstead ofAlreadyRunningError - add
ViewerConnection - add
InteractiveConnection - put temporary config file also in T32TMP path
- throw on premature termination of PowerView process
- add
device_pathoption toUSBConnectionandUSBProxyConnection
v0.2.0
- use binaries from
PATHif 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
TimeoutExpiredErrorandAlreadyRunningError - limit startup script parameter to be of type
Iterable[str] - send
stdoutandstderroutput of PowerView instance to a logger
v0.1.7
- fix datatype of
library_fileparameters in some Connection classes to allowpathlib.Path's. - add
TCPConnectionfor Lauterbach X-Series debugger. - rename
EthernetConnectiontoUDPConnection
v0.1.6
- initial release
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lauterbach_trace32_pystart-0.5.0.tar.gz.
File metadata
- Download URL: lauterbach_trace32_pystart-0.5.0.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
034f3dc68951ea5c6dc3b13fddda7640edaac50619474fca7fc22dd28984cbad
|
|
| MD5 |
acd6e9b3955723e35815f5bbe440ec15
|
|
| BLAKE2b-256 |
d1a76d085ac7d5ed85fceec2f8778f0731b452bcf5cca18bd90869c78ae9cee4
|
File details
Details for the file lauterbach_trace32_pystart-0.5.0-py3-none-any.whl.
File metadata
- Download URL: lauterbach_trace32_pystart-0.5.0-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f41df1ccd95e20f52dbfc07fe193feb256ed4e924f58553ec29ff2b37d60ac4f
|
|
| MD5 |
da01f71ee511078ffbb7f982394e7345
|
|
| BLAKE2b-256 |
6f637eb2fcc336cb4cc85a18ba57aef5710741f86627f4551e89cf036faec503
|