Trace32 Installation
Trace32 Installation
Release 09.2022
MANUAL
TRACE32 Installation Guide
TRACE32 Directory
TRACE32 Index
History ......................................................................................................................................... 4
Warning ....................................................................................................................................... 5
Introduction ................................................................................................................................ 6
How This Manual is Organized 6
Contacting Support 6
Troubleshooting ......................................................................................................................... 71
FAQ .............................................................................................................................................. 73
Version 26-Oct-2022
History
01-Dec-21 POWER TRACE configuration pictures were updated. Recommended host interface is now
USB 3.0.
1. Disconnect the Debug Cable from the target while the target power is
off.
2. Connect the host system, the TRACE32 hardware and the Debug
Cable.
Power down:
Due to the special nature of the TRACE32 development system, the user is advised that it can
generate higher than normal levels of electromagnetic radiation which can interfere with the
operation of all kinds of radio and other equipment.
To comply with the European Approval Regulations therefore, the following restrictions must be
observed:
1. The development system must be used only in an industrial (or comparable) area.
2. The system must not be operated within 20 metres of any equipment which may be
affected by such emissions (radio receivers, TVs etc).
This manual introduces the typical configurations for the TRACE32 hardware-based debug and trace tools
and provides guidance on installing the TRACE32 software for this product group.
• Tool Configuration: Provides information about and illustrations of the TRACE32 debug and
trace tools.
• Software Installation: Describes the default installation of TRACE32 under MS Windows and PC
Linux, Mac OS and SunOS.
Contacting Support
• To benefit from the TRACE32 knowledgebase (FAQs, technical articles, tutorial videos) and our
tips & tricks around debugging.
1. To generate a system information report, choose TRACE32 > Help > Support > Systeminfo.
2. Preferred: click Save to File, and send the system information as an attachment to your e-mail.
3. Click Save to Clipboard, and then paste the system information into your e-mail.
Architecture-independent information:
• “Training - Debugger Basics” (training_debugger.pdf): Get familiar with the basic features of a
TRACE32 debugger.
Architecture-specific information:
• “Processor Architecture Manuals”: These manuals describe commands that are specific for the
processor architecture supported by your debug cable. To access the manual for your processor
architecture, proceed as follows:
• “OS Awareness Manuals” (rtos_<os>.pdf): TRACE32 PowerView can be extended for operating
system-aware debugging. The appropriate OS Awareness manual informs you how to enable the
OS-aware debugging.
This chapter gives a brief overview of typical TRACE32 tool configurations. Your final tool configuration can,
of course, be more complex, especially if adapters or converters are needed.
Power Supply
When your TRACE32 hardware is delivered, you will receive one of the following power supplies:
Please ONLY use the delivered power supplies. The following schematic drawings for the basic configuration
always show the power supply to be used.
The POWER DEBUG INTERFACE provides a USB3 interface to the host computer.
PC or
Workstation
Target
USB
Connector
Cable
Debug
POWER DEBUG INTERFACE / USB 3
SWITCH PC or
Workstation
1 GBit Ethernet
Target
Connector
Debug
Discontinued products:
• POWER DEBUG II
µTrace (MicroTrace) is an all-in-one debug and trace tool especially designed for Cortex-M and RISC-V
32-bit processors. It consists of:
• A µTrace (MicroTrace) module, that also provides 256 MByte of trace memory
• A Whisker MIPI20T-HS
The µTrace (MicroTrace) module can contain a multicore license, if a chip containing more than one core
should be debugged.
PC or
Workstation
Target
USB
AUX PORT V1
Connector
Cable
Discontinued products:
Arm/Cortex
• It allows debugging via two debug connectors if the (main) core is an Arm or Cortex core
• It allows multicore debugging of a Cortex-M core and a not-Cortex-M core as well as Cortex-M
tracing
The TRACE32 hardware-based debug and trace tool can consist of:
PC or
Workstation
Target
USB
Connector
Cable
PC or
Workstation
Target
USB
MIPI 34/20/10
Connector
Cable
Discontinued products:
• A parallel or serial preprocessor specific to the processor architecture and its trace protocol
The preprocessor can contain trace licenses for further processor architectures if a multicore
chip exports trace information in various trace protocols.
Windows Host
USB 3.0
Target
USB
Connector
Debug
Cable
Connector
CABLE
Trace
C B A
PREOPROCESSOR AUTOFOCUS II
LAUTERBACH
LAUTERBACH
Preprocessor
AUTOFOCUS II
1
Windows Host
USB 3.0 Target
USB
Connector
Debug
Cable
POWER TRACE II
Connector
CABLE
Trace
C B A
PREOPROCESSOR AUTOFOCUS II
LAUTERBACH
LAUTERBACH
Preprocessor
AUTOFOCUS II
Discontinued products:
POWER TRACE II LITE is not supported for all processor architectures and is not suitable for all targets due
to its bandwidth limitation of 9.6 GBit/s.
Windows Host
USB 3.0
Target
USB
Connector
Debug
Cable
Connector
CABLE
Trace
C B A
PREOPROCESSOR AUTOFOCUS II
LAUTERBACH
LAUTERBACH
Preprocessor
AUTOFOCUS II
Discontinued products:
• A universal trace module POWER TRACE II with 1 GByte, 2 GByte or 4 GByte trace memory or
POWER TRACE II LITE with 512 MByte of trace memory
• A parallel NEXUS adapter specific for the processor architecture under debug and trace
The NEXUS adapter can contain debug/trace licenses for further processor architectures if a
multicore chip is under debug
Windows Host
USB 3.0
Target
USB
Cable
POWER TRACE II
Connector
NEXUS
Discontinued products:
Windows Host
USB 3.0
Target
USB
Cable
Connector
NEXUS
POWER DEBUG PRO NEXUS Adapter
POWER TRACE II LITE
Discontinued products:
• A universal trace hardware POWER TRACE SERIAL with 4 GByte of trace memory licensed for a
processor architecture and its trace protocol
POWER TRACE SERIAL can contain trace licenses for further processor architectures if a
multicore chip exports trace information in various trace protocols
Windows Host
USB 3.0
Target
USB
Connector
Debug
Cable
Serial Trace
Connector
Windows Host
USB 3.0
Target
USB
Connector
Debug
Cable
• MS Windows
- Quick Installation
- Ethernet
- USB
• PC_Linux
- Ethernet
- USB
• Mac OS
Quick Installation
3. Upon completion of the installation, start TRACE32 via the Windows Start button as described in
“ICD Tutorial” (icd_tutorial.pdf).
In multicore/multiprocessor debug environments, it is recommended that Windows users start TRACE32 via
the T32Start application.
2. Configure T32Start according to your requirements. See chapter “Quick Start” in T32Start,
page 6 (app_t32start.pdf).
3. Configure the TRACE32 help system with a few mouse-clicks to display the PDF help files in your
favorite PDF viewer; see “Configure the Help System” in PowerView User’s Guide, page 94
(ide_user.pdf).
Ethernet
First a new node must be created for TRACE32. The Ethernet address of the debugger is on a sticker
located on the reverse side of the system. The administrator must add an entry containing the IP address
and node name to the name server, or the following line must be added to the file HOSTS:
192.9.200.5 t32
The IP address is per default requested by a DHCP/RARP protocol by TRACE32. If no DHCP/RARP server
is running, the address for the first connect must be set in the host table. After the first successful
connection, the IP address is stored in the non-volatile memory within TRACE32. The following command
sets the host translation table:
NOTE: On Windows the ARP command is only available if you are logged in as an
administrator.
If the ARP command is not available, the IP address must be set by connecting the system via USB.
Configuration Command:
USB Interface
When the device is first connected to the system, the hardware assistant detects a new USB device and
asks for a driver directory.
If the TRACE32 software is already installed, the required file (t32usb.inf) can be found in the TRACE32
installation directory (e.g. c:\t32\). Otherwise please insert the TRACE32 installation DVD and navigate to
the directory ~~/bin/windows/drivers or let the system search for it.
Configuration Command:
Without further settings, TRACE32 will select the best available screen driver in the following order:
1. Qt5
2. Qt4
3. Motif
Quick Installation
Common steps
In the following example the directory /opt/t32 is used as the system directory.
The files should be extracted from the DVD to the system directory with the following commands:
/mnt/cdrom/files/bin/pc_linux64/filecvt ./
# converts all filenames to lower
# case and files into UNIX format and
# uncompresses all files if necessary
The following environment variables must be set (e.g. in .bashrc for the BASH-shell):
export T32SYS=/opt/t32
export T32TMP=/tmp
export T32ID=T32
Please execute the TRACE32 command SETUP.PDFViewer.state inside the TRACE32 PowerView GUI
once.
If the auto-detection fails, a manual setting will be necessary.
Copy the TRACE32 plug-in into the Acrobat plug_ins folder (without new line):
cp /mnt/cdrom/files/bin/pc_linux/trace32.api
$ADOBE_PATH/Reader/intellinux/plug_ins
or
cp /mnt/cdrom/files/bin/pc_linux/trace32.api
$ACROBAT_PATH/Reader/intellinux/plug_ins
Verify that you have write permission to the system directory and prepare the configuration file
config.t32:
Uncompress the executable files before usage (not necessary when filecvt was used before):
cd /opt/t32/bin/pc_linux64
gzip -d t32m*.gz # or gunzip t32m*.gz
# preferred solutions
export PATH=$PATH:/opt/t32/bin/pc_linux64 # added in ~/.bashrc for BASH
./t32marm -c /opt/t32/bin/pc_linux64/config.t32
# TRACE32 executable is called with
# configuration filename parameter
Configure the TRACE32 help system with a few mouse-clicks to display the PDF help files in your
favorite PDF viewer; see “Configure the Help System” in PowerView User’s Guide, page 94
(ide_user.pdf).
• Kernel: 2.6.32
• libc: 2.11.1
• Qt libs: 4.6.2
No special font settings are required. Each installed fixed width font can be used. The default font is Courier..
SCREEN=
FONT=Liberation Mono ; Selects font Liberation Mono for data output
FONT=NOANTIALIAS ; disables font aliasing (default: ANTIALIAS)
The GUI can be configured with STYLE options in the SCREEN= section of the configuration file
config.t32. The following STYLE options can be set:
STYLE=TOOLBAR TOP Places the tool bar on the top edge of the main window
(default)
STYLE=TOOLBAR BOTTOM Places the tool bar on the bottom edge of the main
window
STYLE=TOOLBAR LEFT Places the tool bar on the left edge of the main window
STYLE=COMMANDLINE TOP Places the command line and the soft keys to the top
edge of the main window (default)
STYLE=COMMANDLINE BOTTOM Places the command line and the soft keys to the bottom
edge of the main window
DPI=AUTO (default) TRACE32 uses the OS DPI rate for font scaling.
Linux only
PALETTE <n> = Change color value. Specify the colors as 8 bit per color
<red><green><blue>2 channel, from 0 (darkest) to 255 (lightest). all numbers
must be provided as decimals.
Since TRACE32 software release April 2010 the font installation is simplified.
It’s necessary to place a subdirectory named fonts (e.g. /opt/t32/fonts) under the TRACE32 system directory
(e.g. /opt/t32). The TRACE32 PowerView software automatically searches for the required TRACE32 fonts
in this directory if the fonts are not provided by the host operating system.
When bitmap fonts are blocked/locked from the host operating system, a usage overwrite can be activated
by adding the following lines inside the actual used TRACE configuration file e.g. config.t32.
Font installation for TRACE32 software releases older than April 2010:
cd /opt/t32/fonts
mkfontdir ./
# must be done under the original
xset +fp /opt/t32/fonts # Xserver user (normally not as root)
xset fp rehash # only temporary adding of TRACE32
# font directory or
The xset commands add the TRACE32 fonts only temporary. After the next booting or logout the setting will
be lost. A solution could be adding the xset commands into the login script of the actual shell from the actual
user e.g. ~/.bashrc for BASH shell or just in the batch script for starting TRACE32.
The TRACE32 fonts can be added alternatively to an existing font server configuration.
e.g. add path /opt/t32/fonts to the catalog entry inside the font server configuration file /etc/X11/fs/config.
When the ’TRACE32 menu or softkey text are displayed as graphic characters under Fedora Core Linux
versions, some fonts are missing. Install them with:
Before the installation a new node must be created. The Ethernet address of the system is placed on the
bottom side of the system. The following line must be added to the file
/etc/hosts:
192.168.0.5 t32
The Ethernet address of the system must be entered in the file /etc/ethers (not common - only when using a
RARP server):
0:c0:8a:0:0:0 t32
The IP address is requested by a RARP protocol by TRACE32. If no RARP server is running, the address
for the first connect must be set in the host table. After the first successful connect the IP address is stored in
nonvolatile memory within TRACE32. The following command sets the host translation table:
This command must be executed immediately before the first startup of the debugger. It is not required for
future startups because the IP address is stored in the debugger. The arp cache table should be checked
just before the first startup with the command
'arp -a'.
NOTE: A ping will only work after the TRACE32 software was booted once and the new IP address was
stored automatically during boot phase into the flash of the TRACE32 module.
The net driver must be activated. The node name can be changed, when not identical to 't32'.
Configuration Command:
PBI=
NET
NODE=<node_name> Node name of TRACE32 (default: t32)
POOL=<node_name>, … Define a set of nodes, which are scanned for connection.
The newer udev file system support needs a special rule file for TRACE32 USB devices inside the directory
/etc/udev/rules.d/.
su
cp bin/pc_linux64/udev.conf/kernel_starting_2.6.32/10-lauterbach.rules /etc/udev/rules.d
The hotplug package is no strict requirement, but highly recommended, if you want to avoid running the
TRACE32 executables as root all the time.
To enable proper TRACE32 hotplugging, change to the directory on the DVD (or with an extracted update)
with the Linux executables and issue the following commands in a shell:
su
grep -iq trace32 /etc/hotplug/usb.usermap || cat usb.usermap.trace32
>>/etc/hotplug/usb.usermap
install -m 0755 trace32 /etc/hotplug/usb/
exit
You can verify proper operation with the t32usbchecker tool coming with the CD or update.
The USB driver must be activated. The minimum settings in the configuration file config.t32 are:
;Configuration Command:
PBI=
USB
Prerequisites
The TRACE32 debug software for the Mac requires OS X 10.7 or newer.
In the following example the directory /opt/t32 is used as the system directory.
Open a terminal and create the system directories with the following commands:
The files are copied from the DVD to the system directory with the following commands:
The following environment variables must be set (e.g. in .bashrc for the BASH-shell):
export T32SYS=~/t32
export T32TMP=/tmp # or similar
export T32ID=T32
4. Configure TRACE32
Verify that you have write permission to the system directory (set with environment variable T32SYS) and
edit the configuration file config.t32.
Interface setting:
Ethernet interface
For the adaptation to ethernet a new node must be created. The following line must be added to the file
/etc/hosts:
192.168.0.5 t32
Note that the IP address given here is an example only. Add the following lines to your config.t32 file:
PBI=
NET # please replace t32 with the actual
NODE=t32 # assigned nodename for the ICD modul
USB interface
PBI=
USB
No special font settings are required. Each installed fixed width font can be used. The default font is Courier..
SCREEN=
FONT=Liberation Mono ; Selects font Liberation Mono for data output
FONT=NOANTIALIAS ; disables font aliasing (default: ANTIALIAS)
GUI Configuration:
The GUI can be configured with STYLE options in the SCREEN section of the configuration file. The
following STYLE options can be set:
STYLE=TOOLBAR TOP Places the tool bar on the top edge of the main window
(default)
STYLE=TOOLBAR RIGHT Places the tool bar on the right edge of the main window
STYLE=TOOLBAR BOTTOM Places the tool bar on the bottom edge of the main
window
STYLE=TOOLBAR LEFT Places the tool bar on the left edge of the main window
STYLE=COMMANDLINE TOP Places the command line and the soft keys to the top
edge of the main window (default)
STYLE=COMMANDLINE BOTTOM Places the command line and the soft keys to the bottom
edge of the main window
Please be aware that only network interfaces are supported (not USB).
In the following example the directory /home/t32 is used as the system directory.
The files are extracted from the DVD to the system directory with the following commands:
# or similar
cd /home/t32
cp -r /cdrom/trace32/files/* .
chmod -R u+w *
cp ./demo/practice/autostart.cmm .
mv bin/suns/config.t32 . # not necessary if the TRACE32
# executable is called with
# configuration filename
# parameter
# e.g.
# t32marm -c/home/t32/bin/
# suns/config.t32
The following environment variables must be set (e.g. in .cshrc for the C-shell):
cd /home/t32/fonts
mkfontdir .
xset +fp /home/t32/fonts
xset fp rehash
The xset commands add the TRACE32 fonts only temporary. After the next booting or logout the setting will
be lost. A solution could be adding the xset commands into the login script of the actual shell from the actual
user e.g. ~/.bashrc for BASH shell or just in the batch script for starting TRACE32.
The TRACE32 fonts can be added alternatively to an existing fontserver configuration.
The TRACE32 online help uses the Adobe Acrobat Reader for displaying the information in PDF format.
Download Acrobat Reader from http://www.adobe.com and install it if not already installed on the system.
Usually, you have to be root for the installation!
Copy the TRACE32 plug-in in the Acrobat plug_ins folder (without newline):
cp /cdrom/files/bin/suns/trace32.api
$ACROBAT_PATH/Reader/sparcsolaris/plug_ins
Verify that you have write permission to the system directory and prepare the configuration file
config.t32:
PBI=
NET # please replace t32 with the actual
NODE=t32 # assigned node name for the ICD modul
cd /home/t32/bin/suns
gzip -d t32m*.gz # or gunzip t32m*.gz
Before the installation a new node must be created. The Ethernet address of the system is placed on the
bottom side of the system. The following line must be added to the file
/etc/hosts:
192.168.0.5 t32
Note that the IP address given here is an example only. The Ethernet address of the system must be
entered in the file /etc/ethers:
0:c0:8a:0:0:0 t32
The IP address is requested by a RARP protocol by TRACE32. If no RARP server is running, the address
for the first connect must be set in the host table. After the first successful connect the IP address is stored in
nonvolatile memory within TRACE32. The following command sets the host translation table:
This command must be executed immediately before the first startup of the debugger. It is not required for
future startups because the IP address is stored in the debugger. The arp cache table should be checked
just before the first startup with the command
'arp -a'.
NOTE: A ping will only work after the TRACE32 software was booted once and the new IP address was
stored automatically during boot phase into the flash of the TRACE32 modul.
The net driver must be activated. The node name can be changed, when not identical to 't32'.
The configuration file for the system defines the drivers to be installed in the host. By default the software
running on the host, assumes that the configuration file is in the system directory and named 'config.t32'. But
this can be overruled by specifying the configuration file in the environment variable T32CONFIG. The
configuration file can be defined by a command line option (-c).
The configuration file is split into sections. Each section is started by the first line following an empty line. A
section ends with an empty line. So a section is a block of contiguous lines, which are not interrupted by an
empty line. The first line of a section defines what kind of section it is. The first line is the section header and
should look like this:
<Section Name>=[<Variation>]
The section “Variation” is optional and only needed for specific use cases. It is often left out.
OS=
Example: section header for the PBI section, setting up an instruction set simulator:
PBI=SIM
The section header is followed by a list of key-value pairs. Each key-value pair looks like this:
Note that the “key value” might be left out for specific key names; so there are key names which do not
expect a following key value.
SCREEN=
TITLE=My own title for TRACE32 PowerView
SCREEN=
; give the window a different title:
TITLE=My own title for TRACE32 PowerView
The configuration file might be parametrized by using environment variables and command line parameters.
To refer to an operation system environment variable, you can use:
Example: use the environment variable T32NODE as the definition of the Ethernet node, and the first
command line argument will be used as the window title:
; Use node name from environment variable, title from command line
PBI=
NET
NODE=${T32NODE}
SCREEN=
TITLE=${1}
You can also generate ‘hierarchical’ configuration files by using include files:
$INCLUDE /usr/t32/config.all
SCREEN=
PALETTE 0 = 12 34 56
;…
This allows to keep some configuration information local (e.g. in the home directory of the user by using the
environment variable T32CONFIG), and share the rest of the configuration with other systems.
This optional section is mainly used to specify TRACE32 paths. If this section is missing, TRACE32 tries to
detect the paths based on the location of the TRACE32 executable. The section header does not expect a
“Variation” value.
OS=
ID=T32
TMP=C:\temp
SYS=C:\T32
HELP=C:\T32\pdf
COREFCC=C:\T32\crashfiles
Key/value Description
ID=<id> Prefix for all files that are saved by the TRACE32 PowerView
instance into the TMP directory.
HELP=<path> Directory where the pdf-files for the TRACE32 online help are
located.
If a setup without hardware is used, then the location of the license server can be specified with this section.
Key/value Description
LICENSE=
[email protected]
POOLPORT=<number> TCP/IP port for license pool. Refer to the chapter “Floating
License Pools” in Floating Licenses, page 19
(floatinglicenses.pdf) for more information.
Section SCREEN
This optional section specifies various settings for the graphical user interface. If the SCREEN section is used
with the Variation OFF, TRACE32 is started without a graphical user interface. For details, see below.
Key/value Description
See FDI
PALETTE <n> = Change color value, the intensities will vary from 0 to 255.
<red><green><blue>
FONT=SMALL Use small fonts (13x7 instead of 16x8). Alternatively, you can
use MEDIUM or LARGE.
TEXTFONT=<font_name> Use the specified font for text windows. The specified font
must either match the size of the regular TRACE32 fonts, or
must be a TrueType fixed pitch font. Examples for such fonts
are "Courier New" or "Lucida Console".
CHARSET=<number> Text windows and menus use the specified character set.
DPI=AUTO (default) TRACE32 uses the OS DPI rate for font scaling.
Linux only
other Other commands are available for special purposes, they are
not used in standard environments.
There are three ways to configure TRACE32 to start as a hidden instance. Choose one of the configuration
options:
Option 1:
SCREEN=
INVISIBLE
Option 2:
The main window of TRACE32 and all other dialogs and windows of TRACE32 remain hidden - even if an
error occurs.
SCREEN=OFF
NOTE: • OFF must be written in the same line as SCREEN= in the config.t32 file.
• On Unix machines, the configuration option 2 does NOT require a run-
ning X server.
• However, the X libraries must be installed.
Option 3:
The main window of TRACE32 is added to the toolbar of the host computer. It can be fully displayed in case
of an error.
SCREEN=
VICON
Japanese Font
SCREEN=
TEXTFONT=@MSxxxx ; the Japanese font name cannot be reproduced here
CHARSET=128
You can also define the window position and size of TRACE32 using the FramePOS command or the
CmdPOS command.
Configuration Command:
Commands:
The PBI (PodBus Interface) section specifies the basic functionality of the TRACE32 debugger.
If no explicit “Variation” is specified, the default “Variation” ICD is used, which connects to a PowerDebug
device.
Key/value Description
NODE=<node_name> The key value specifies the node name of the PowerDebug
device to connect to.
If a network connection is used, this should be either a DNS
name or an IP address.
If an USB connection is used, the node name is checked
against the PowerDebug devices connected via USB.
Each PowerDebug device has a node name, which is stored
in the hardware. This node name might be changed via the
TRACE32 software using the command IFCONFIG. If the
specified node name matches to the node name found in the
PowerDebug device then the connection is made to this
PowerDebug device. For USB this is useful if you have more
than one PowerDebug device connected via USB. If only one
PowerDebug device is connected to your PC, you might leave
out the node name. In this case TRACE32 will connect to the
first found PowerDebug device connected via USB.
Examples:
Connection Modes
Key/value Description
Key/value Description
CONNDELAY=<value> Delays the connection with the given time. Only applicable for
network connections.
TRACE32 allows to communicate with a POWER DEBUG INTERFACE USB from a remote PC.
PC PC
Windows / Linux Windows / Linux
TCP / IP
t32tcpusb TRACE32 - PowerView
Target
USB
Connector
Cable
Debug
POWER DEBUG INTERFACE / USB 3
In order to implement this communication, the command line tool t32tcpusb.exe has to be started on the
PC to which the POWER DEBUG INTERFACE USB is connected. t32tcpusb.exe can be found in the
bin/<target_os> directory of your TRACE32 installation (e.g. bin/windows64).
t32tcpusb.exe 8866
On the remote host computer the configuration file for USB has to be extended as follows:
; Environment variables
OS=
ID=T32
TMP=C:\temp ; temporary directory for TRACE32
SYS=C:\t32 ; system directory for TRACE32
HELP=C:\t32\pdf ; help directory for TRACE32
; Printer settings
PRINTER=WINDOWS ; all standard windows printer can be
; used from the TRACE32 user interface
PBI=<driver> Description
PBI=<driver> Description
PBI=SIMTSI start TRACE32 to debug via the Target Server from Texas
Instruments. Refer to “Virtual Targets User’s Guide”
(virtual_targets.pdf) for more information.
PBI=IRIS [<library_file>] start TRACE32 to debug via the Arm Cycle Accurate Debug
Interface. Refer to “Virtual Targets User’s Guide”
(virtual_targets.pdf) for more information.
PBI=CADI [<library_file>] start TRACE32 to debug via the Arm Cycle Accurate Debug
Interface CADI. Refer to “Virtual Targets User’s Guide”
(virtual_targets.pdf) for more information.
PBI=GDI [<library_file>] start TRACE32 to debug via the Generic Debug Instrument
Interface GDI. Refer to “Virtual Targets User’s Guide”
(virtual_targets.pdf) for more information.
PBI=MCD [<library_file>] start TRACE32 to debug via the MultiCore Debug interface
MCD. Refer to “Virtual Targets User’s Guide”
(virtual_targets.pdf) for more information.
PBI=DLL <dll> start TRACE32 for debugging via a monitor program on the
target. Communication is performed with a user-defined DLL.
PBI=<driver> Description
Section PBI=MCISERVER
The TRACE32 PowerView GUI can be used without any LAUTERBACH hardware as debug back-end. This
section describes the configuration file options for debug back-ends.
Key/value Description
Section RCL=NETASSIST
If such a section is present, TRACE32 opens up a Remote API UDP port, by which TRACE32 can be
remote controlled via an external application. Refer to “API for Remote Control and JTAG Access in C”
(api_remote_c.pdf) for more information.
If you want to connect with more than one external application to TRACE32 via UDP, you need several
RCL=NETASSIST sections. Each section opens up one Remote API UDP port on the specified port
number.
Key/value Description
PACKLEN=<value> Specifies the maximum data package length used for UDP.
Section RCL=NETTCP
If such a section is present, TRACE32 opens up a Remote API TCP port, by which TRACE32 can be
remote controlled via an external application. Refer to “API for Remote Control and JTAG Access in C”
(api_remote_c.pdf) for more information.
Key/value Description
Section IC=NETASSIST
If you have several TRACE32 PowerView instances running, these instances can talk to each other via the
"InterCom" mechanism.
You can only talk to a TRACE32 PowerView instance via this mechanism, if the corresponding configuration
file contains a IC=NETASSIST section.
An alternative to setting up such an InterCom port via the configuration file is to use the PRACTICE
command TargetSystem.NewInstance.
Key/value Description
PACKLEN=<value> Specifies the maximum data package length used for UDP.
Section GDB=NETASSIST
If this section is used in the configuration file, TRACE32 PowerView is configured as GDB Back-End. Refer
to “TRACE32 as GDB Back-End” (backend_gdb.pdf) for more information.
Key/value Description
PACKLEN=<value> This specifies the maximum package length in bytes for the
socket communication.
If this section is used in the configuration file, TRACE32 PowerView is configured as TCF agent. Refer to
“TRACE32 as TCF Agent” (app_tcf_setup.pdf) for more information.
Key/value Description
Section SIMULINK=NETASSIST
This section enables the port for code-to-model navigation when the TRACE32 integration for Simulink is
used. Refer to “Integration for Simulink” (int_simulink.pdf) for more information.
Key/value Description
TRACE32 can be started with and without command line arguments. If you do not pass any command line
arguments, the following default will be used:
• For the configuration file, the first available file from the following locations will be used:
- The file config.t32 from the working directory (from where TRACE32 was started).
- The file config.t32 from the TRACE32 system directory (usually C:\t32)
• After the start of a TRACE32 instance, the PRACTICE script autostart.cmm from the TRACE32
system directory will be executed, which then calls the following scripts:
If you pass command line arguments, you can adapt the start and the environment of TRACE32 to your
project-specific needs. You can define a user-specific name and location for the configuration file and your
own PRACTICE start-up script. In addition, you can pass user-defined parameters to your configuration file
and to your start-up script.
The command line syntax for Windows, Linux, and Unix is as follows:
-c <config_file> By default, TRACE32 expects to find the configuration file config.t32 in the
same folder as the TRACE32 executable. An error message is displayed if the
configuration file config.t32 does not exist.
NOTE:
• -c is case sensitive, i.e. -C results in an error.
• The name of the <config_file> must not start with a hyphen and
must not contain any commas.
NOTE: If you use command line option -s <startup_script> but don’t have
the file autostart.cmm in your TRACE32 system directory, only the file
specified by the command line option -s will be executed.
If you don’t use the command line option -s <startup_script> and don’t
have the file autostart.cmm either, TRACE32 will fall back to a legacy
mode and execute the script t32.cmm from the working directory or from
the TRACE32 system directory if the t32.cmm does not exist in the
working directory.
<arch> Architecture, e.g. ARM in t32marm.exe stands for the ARM architecture.
NOTE: The <c_args> must not start with a hyphen and must not contain
any commas.
Example 1: Logging PRACTICE script calls during start-up of TRACE32 with --t32-logautostart
[Back to Top]
In this example, a Windows batch file (*.bat) sets the folder C:\T32\project_c as the working directory for
TRACE32. The next script line starts the TRACE32 executable for ARMv8 by using the configuration file
config.t32 file and the PRACTICE start-up script sieve.cmm from the working directory.
The command line option --t32-logautostart causes the autostart log file to be generated.
C:
cd C:\T32\project_c
start C:\T32\bin\windows64\t32marm.exe --t32-logautostart ^
-c config.t32 ^
-s sieve.cmm
The caret sign ^ serves as a line continuation character in Windows batch files (*.bat). White space
characters after ^ are NOT permissible.
2. Choose File menu > Automatic Scripts on Start > View Autostart log.
The file opens in the TYPE window. The screenshot shows an example of an autostart log file:
B The log file header tells you how the autostart log was generated. For alternatives, see “Logging
the Call Hierarchy of PRACTICE Scripts” in PRACTICE Script Language User’s Guide,
page 17 (practice_user.pdf).
<id> ID of the PowerView GUI that was started. See also OS.ID().
[Back to Top]
This example shows how to pass TRACE32 command line arguments via a Windows shortcut to TRACE32.
The command line arguments are:
E
D
B
A B C
B The option -c <config_file> allows you to define a user-specific name and location for the TRACE32
configuration file (*.t32).
C The option -s <startup_script> allows you to define a user-specific name and location for your
PRACTICE start-up script (*.cmm).
E TRACE32 system directory (by default c:\t32). It is specified during the installation of TRACE32.
Normally, you do not need to change anything here.
[Back to Top]
The following example shows how to pass TRACE32 command line arguments from a batch file (*.bat) to
the configuration file (*.t32). The command line arguments are:
• <c_arg2>: A network folder path containing the pdf files of the TRACE32 online help
PBI=
USB
PRINTER=WINDOWS
SCREEN=
HEADER=TRACE32 ${1}
The values passed as command line arguments to the user-defined configuration file are now used by
TRACE32:
Value of argument ${1}
NOTE: The help.t32 file of the online help must reside in the TRACE32 system
directory (by default C:\t32).
[Back to Top]
The following example shows how to pass TRACE32 command line arguments from an MS batch file (*.bat)
to a PRACTICE start-up script (*.cmm). The command line arguments are:
• <s_args>: The arguments passed to the PRACTICE start-up script are 0x1 and 0x2 and a string
with a blank "Hello World!"
The caret sign ^ serves as a line continuation character in Windows batch files (*.bat). White space
characters after ^ are NOT permissible.
The values passed as command line arguments to the PRACTICE start-up script are printed to the
AREA.view window.
[Back to Top]
The first two tables show how to create the user-defined environment variable T32P1 and start TRACE32
under Windows and Linux. After starting TRACE32, the parameter of T32P1 is returned in the PRACTICE
start-up script start4.cmm with the OS.ENV() function and printed to the TRACE32 message line, see 3rd
table.
Windows: start4.bat
;<your_code>
;...
Microsoft Windows
1. Run the uninstaller from Windows Settings or Control Panel
If you can not solve your problem with the following hints contact our support line:
• USB enabled as modules in the kernel configuration, but module autoload did fail or isn't configured
• bad USB cable, use the original one or make sure it is at max. 3 meters long
cable type lettering: 28AWG/1PR 24AWG/2C
On systems which use a mixed set of 8bit and 16bit menu fonts, and have only *-iso10646-* system fonts
installed, no meaningful glyphs are rendered in the menu or softkeys of TRACE32 main window.
If this happens, please install the additional iso8859 system font package(s).
e.g. yum install xorg-x11-fonts-ISO8859-1-75dpi
When you start the TRACE32 executable the fonts are loaded. If a SW update will be done, which replaces
the TRACE32 font file named t32font.fon, the new fonts will not be activated as long as the old fonts are
loaded.
For debugging it is necessary to obtain the licenses for the particular processors. Depending on the used
setup, the debug license is saved within the debug cable, µTrace (MicroTrace) or CombiProbe.
The debug cable and the CombiProbe allow to save more than one license. Those licenses are available as
so-called extension licenses (X-licenses, in case of processors belonging to the same family e.g. LA-7844X)
or additional licenses (A-licenses. e.g. LA-7844A). An X-license has always the same serial number as the
base license and is covered by the same software maintenance contract. An A-license has instead an own
serial number and software maintenance contract.
The licenses located in the currently used debug cable can be viewed by typing the VERSION command at
the TRACE32 command line or by choosing Help menu > About TRACE32:
X-Licenses are possible for processors of the same family as the base license or associated A-License. To
learn which license combinations are possible please contact LAUTERBACH sales department or
distributor.
Multicore License
For multicore debugging, it is necessary to obtain the licenses for the particular cores. In case you are
debugging several cores covered by the same debug license (e.g. Cortex-M4 and Cortex.-M7), a multicore
license has to be added to the base license. Please note that multicore debugging is explicitly licenses within
some core licenses and in case two or more core licenses are available in one debug cable.
Software Maintenance
When purchasing a Lauterbach product it includes a software guarantee, which allows you to install free
software updates for one year. After the first year a new software maintenance license is required to run the
latest software version.
The most current TRACE32 software version can only be installed if at least one of the following
requirements is fulfilled:
• A new software maintenance license has been purchased and is still valid.
You can check the status of your maintenance contracts in the VERSION window which can be opened from
the menu Help > About TRACE32 or by typing the command LICENSE.state in the TRACE32 command
line.
1. Hardware modules with host interface which must be connected to the host (PODBUS
SYNCH):
POWER DEBUG INTERFACE / USB 3
POWER DEBUG PRO
POWER DEBUG II
2. Hardware modules with host interface which may be connected to the host (PODBUS IN):
POWER INTEGRATOR II
POWER LED
If the POWER LED is on, this indicates that a power supply is connected. This applies to all hardware
modules except POWER TRACE II / POWER TRACE III and POWER INTEGRATOR II.
POWER TRACE II / POWER TRACE III / POWER INTEGRATOR II are only partially powered when a
power supply is connected but the TRACE32 software is not started. This avoids unnecessary noise. The
POWER LED is flashing to indicate this partly powered state.
POWER TRACE II / POWER TRACE III / POWER INTEGRATOR II are completely powered when the
TRACE32 software is started.
In the standard configuration (one POWER TRACE II / POWER TRACE III / POWER INTEGRATOR II is
assembled with a POWER DEBUG module) the power supply connected to POWER DEBUG module is
sufficient to supply both units. Any further module needs an extra power supply (more the 7 A).
The following applies only to the hardware module that is connected to the host:
The SELECT LED flashes regularly when the self-test of the hardware module was successfully completed.
If the self test failed, the following error codes are flashed:
NOTE: The µTrace (MicroTrace) does not have a SELECT LED, because it is a stand-
alone hardware module. The RECORD LED is used here to indicate that a self-
test failed.
The SELECT LED is on when the TRACE32 software in communication with the hardware module.
NOTE: The state of this LED has no meaning as long as the TRACE32 software is not
started.
The following applies to all hardware modules except POWER TRACE II / POWER TRACE III and POWER
INTEGRATOR II:
• If a single-core processor is debugged, the RUNNING/EMULATE LED is ON, when the program
execution is running. The RUNNING/EMULATE LED corresponds with running indicated in the
Debug field of the TRACE32 PowerView state line.
• If a multi-core chip is debugged, the RUNNING/EMULATE LED is ON, when the program
execution is running on the core that is the master of the debug communication
(SYStem.CONFIG Slave OFF).
• If the on-chip trace generation logic generates Nexus 5001™ compliant trace messages the
RUNNING is ON, when the program execution is running. This is realizable because the trace
generation logic generates Debug Status Messages at the start and the stop of the program
execution.
• For all other trace protocols the RUNNING LED is on, if the POWER TRACE II / POWER TRACE
III hardware is ready to record trace information (see also RECORD LED description) and valid
trace information is received.
• For all other trace protocols the RUNNING LED is on, if the POWER TRACE II / POWER TRACE
III hardware is ready to record trace information (see also RECORD LED description) and valid
trace information is received.
RECORD/RECORDING/TRACE LED
NOTE: The state of this LED has no meaning as long as the TRACE32 software is not
started.
The RECORD LED is on when the logic analyzer/ trace recording is armed. Armed means incoming trace
data are recorded. The RECORD LED corresponds with ARM indicated in the Trace field of the
TRACE32 PowerView state line.
NOTE: The state of this LED has no meaning as long as the TRACE32 software is not
started.
The TRIGGER LED is on when the logic analyzer encountered a trigger event. The TRIGGER LED
corresponds with TRIGger indicated in the Trace field of the TRACE32 PowerView state line.
ERROR LED
Ethernet LEDs
SWITCH PC or
Workstation
Target
PODBUS IN
POWER DEBUG / ETHERNET
Debug Cable
POWER
TRIGGER
SELECT
EMULATE
USB
Ethernet
DEBUG CABLE
RECORDING
Connector
TRIGGER
Debug
Cable
ETHERNET
CONNECT ERROR
TRANSMIT
RECEIVE
POWER
7-9 V COLLISION
C B A
PODBUS OUT
SWITCH PC or
Workstation
1 GBit Ethernet
Target
Ethernet
Connector
LINK
Cable
ETHERNET
Debug
ACTIVITY
-
POWER DEBUG II
PC or
Workstation
Target
DEBUG/TRACE WHISKER
MIPI 34/20/10
USB
AUX PORT V1
Connector
Cable
PC or
Workstation
Target
IN
POWER DEBUG INTERFACE / USB 2 CombiProbe
USB
MIPI 34/60
Connector
Cable
All-in-one debug and trace module with 256 MByte or 512 MByte of trace memory
SWITCH PC or
Workstation
Target
PODBUS IN
POWER TRACE ETHERNET
Debug Cable
POWER
TRIGGER
SELECT
EMULATE
USB
DEBUG CABLE
RECORD
Connector
Ethernet TRIGGER
Debug
Cable
ETHERNET
CON ERR
TRANSMIT
RECEIVE
POWER
7-9 V
COLLISION
C B A
PODBUS OUT
Connector
Trace
Preprocessor
SWITCH PC or
Workstation
Target
PODBUS IN
POWER TRACE ETHERNET
POWER
TRIGGER
SELECT
EMULATE
USB
DEBUG CABLE
RECORD
Ethernet TRIGGER
Cable
ETHERNET
CON ERR
TRANSMIT
RECEIVE
POWER
7-9 V
COLLISION
C B A
PODBUS OUT
Connector
NEXUS
NEXUS Adapter
POWER DEBUG II can be extended by a POWER TRACE II with 1 GByte, 2 GByte or 4 GByte trace
memory.
SWITCH PC or
Workstation
1 GBit Ethernet
Target
Ethernet
Connector
LINK
Cable
ETHERNET
Debug
ACTIVITY
-
POWER TRACE II
Connector
Trace
Preprocessor
POWER DEBUG II
POWER TRACE II
POWER DEBUG II can be extended by a POWER TRACE II for NEXUS with 1 GByte, 2 GByte or 4 GByte
trace memory.
SWITCH PC or
Workstation
1 GBit Ethernet
Target
POWER DEBUG II
Ethernet LINK
Cable
ETHERNET
ACTIVITY
-
POWER TRACE II
Connector
NEXUS
NEXUS Adapter
POWER DEBUG II
POWER TRACE II
SWITCH PC or
Workstation
1 GBit Ethernet
Target
Ethernet
MIPI 34/60
Connector
LINK
Cable
ETHERNET
ACTIVITY
-
POWER TRACE II
Connector
Trace
Preprocessor
POWER DEBUG II
POWER TRACE II
POWER DEBUG II can be extended by a POWER TRACE II with 1 GByte, 2 GByte or 4 GByte trace
memory, and a POWER INTEGRATOR II Logic Analyzer with a 1 GByte, 2 GByte or 4 GByte logic analyzer
memory.
SWITCH PC or
Workstation
1 GBit Ethernet
Target
Ethernet LINK
Connector
Cable
ETHERNET
ACTIVITY
Debug
-
POWER TRACE II
Connector
Trace
Preprocessor
POWER INTEGRATOR II
Logic Analyzer
TRIGGER OUT
Connector
A B C D E F
POWER DEBUG II
POWER TRACE II
POWER INTEGRATOR II
Typical configuration:
SWITCH PC or
Workstation Preprocessor Target
Connector
100 MBit Ethernet
Trace
PODBUS IN
POWER TRACE ETHERNET
TRIGGER
POWER
SELECT
Debug Cable
EMULATE
USB
DEBUG CABLE
RECORD
Ethernet
Connector
TRIGGER
Debug
Cable
ETHERNET
CON ERR
TRANSMIT
RECEIVE
POWER
7-9 V
COLLISION
C B A
PODBUS OUT
PODBUS IN
POWER INTEGRATOR
J A
SELECT
TRIGGER OUT
K B
TRACE
TRIGGER
L C
ERROR
M D
POWER N E
Logic Analyzer
7-9 V
Connector
O FF
PODBUS OUT