0% found this document useful (0 votes)
2 views2 pages

Quickstart

The document provides a quickstart guide for using TRACE32, outlining steps to set up and start the software. It includes instructions for configuring a PowerView object with either USB or Ethernet connections. Minimal code examples for both connection types are also provided to assist users in getting started.

Uploaded by

jaganathans.ece
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Quickstart

The document provides a quickstart guide for using TRACE32, outlining steps to set up and start the software. It includes instructions for configuring a PowerView object with either USB or Ethernet connections. Minimal code examples for both connection types are also provided to assist users in getting started.

Uploaded by

jaganathans.ece
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

##########

Quickstart
##########

***************
Getting Started
***************

For starting TRACE32 follow these steps:

#. Set :obj:`~lauterbach.trace32.pystart.defaults` members depending to your


environment

* Most default settings should be appropriate

#. Create a :class:`~lauterbach.trace32.pystart.PowerView` object

* Define a :ref:`T32Connection`
* Specify your target

#. Configure your :class:`~lauterbach.trace32.pystart.PowerView` instance as needed


(e.g. add a :ref:`T32Interface`)
#. :meth:`~lauterbach.trace32.pystart.PowerView.start` your
created :class:`~lauterbach.trace32.pystart.PowerView`
instance
#. Do your work.
#. Either :meth:`~lauterbach.trace32.pystart.PowerView.wait` for termination or
:meth:`~lauterbach.trace32.pystart.PowerView.stop`
the :class:`~lauterbach.trace32.pystart.PowerView` instance
manually.

****************************
Minimal USB debugger example
****************************
.. code-block:: python

import lauterbach.trace32.pystart as pystart

# If installation is not located at "C:\T32" and environment variable


"T32SYS" is not
# pointing to the installation directory of TRACE32 add following line:
# pystart.defaults.system_path = "</path/to/TRACE32/installation>"

pv = pystart.PowerView(pystart.USBConnection(), "t32marm")
pv.start()
pv.wait()

*********************************
Minimal ethernet debugger example
*********************************
.. code-block:: python

import lauterbach.trace32.pystart as pystart

# If installation is not located at "C:\T32" and environment variable


"T32SYS" is not
# pointing to the installation directory of TRACE32 add following line:
# pystart.defaults.system_path = "</path/to/TRACE32/installation>"
connection = pystart.UDPConnection("<IP address or DNS name of the
debugger>")
pv = pystart.PowerView(connection, "t32marm")
pv.start()
pv.wait()

You might also like