Skip to main content

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.6.0

  • add parameter setting for connection_script.
  • Make Connection optional for connection_script not being ignored.
  • add generic argument setting for starting TRACE32.

v0.5.0

  • add connection_script setting
  • 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 PowerView to be used as ContextManager

v0.3.0

  • add settings REMOTEHOSTALLOW and REMOTEHOSTDENY for some T32Interfaces

v0.2.1

  • use builtin TimeoutError instead of TimeoutExpiredError
  • use builtin RuntimeError instead of AlreadyRunningError
  • add ViewerConnection
  • add InteractiveConnection
  • put temporary config file also in T32TMP path
  • throw on premature termination of PowerView process
  • add device_path option to USBConnection and USBProxyConnection

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 and AlreadyRunningError
  • limit startup script parameter to be of type Iterable[str]
  • send stdout and stderr output of PowerView instance to a logger

v0.1.7

  • fix datatype of library_file parameters in some Connection classes to allow pathlib.Path's.
  • add TCPConnection for Lauterbach X-Series debugger.
  • rename EthernetConnection to UDPConnection

v0.1.6

  • initial release

Metadata

Release files for lauterbach-trace32-pystart 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lauterbach-trace32-pystart 0.6.0
File Size Uploaded Provenance Actions
lauterbach_trace32_pystart-0.6.0.tar.gz 22.3 kB Without provenance Details for lauterbach_trace32_pystart-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lauterbach-trace32-pystart 0.6.0
File Interpreter ABI Platform Actions
lauterbach_trace32_pystart-0.6.0-py3-none-any.whl Python 3 none any Details for lauterbach_trace32_pystart-0.6.0-py3-none-any.whl

Total release size: 41.1 kB

Release files / lauterbach_trace32_pystart-0.6.0.tar.gz

Download URL lauterbach_trace32_pystart-0.6.0.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e021e1062950fc9b0f481628606c61d275acde05c017ba476679c721a63719db
BLAKE2b-256 checksum
How to use checksums
01c9ec57647378b69fb8b289d7dd447f0f0a86cf6e48cca32730e804f5104c2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Release files / lauterbach_trace32_pystart-0.6.0-py3-none-any.whl

Download URL lauterbach_trace32_pystart-0.6.0-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aea7a2442dc6bf1e7c672024237af3c69854d3bd072a8ab9f263ea0cd36b1925
BLAKE2b-256 checksum
How to use checksums
22c9f168b2b92779eeef2453cd0d417441e613f9d91cd3bd6abb77aa5d548372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Security for lauterbach-trace32-pystart 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page