The Trace 32 Software runs on the Host OS (either Windows or Linux) and provides the User Interface. For the Lauterbach tools.
Mainly it allows users to perform debugging and tracing of the target device.
The tool is highly configurable, allowing all operations to be scripted. The scripting language is very powerful, allowing for example the User Interface to be updated at runtime, with custom buttons, windows and menus.
Usual and advanced debugger features are offered, such as:
Displaying currently executing C code
Viewing and modifying processor registers
RTOS awareness with large list of supported OS-es including Linux, QNX, uCOS-II etc
Also tracing options and tracing data can easily be accessed.
Please refer to the tools documentation for full details.
Lauterbach Hardware Modules
There are a variety of debug hardware options, that allow different types of connectivity to the host PC (USB and Ethernet being the most common) and also offer different classes of services (with debugging and tracing being the most common).
The remaineder of this section will describe various hardware modules:
The most common Debug Hardware modules that can be used with Altera SoC devices are:
PowerDebug USB 3.0 – allowing debugging over USB only.
PowerDebug Ethernet – allowing debug over USB and 10/100 BaseT Ethernet.
PowerDebug II – allowing debug over USB and 10/100/1000 BaseT Ethernet.
JTAG Debug Cable
The JTAG Debug Cable plugs into the Debug Hardware, connects to the board through a JTAG connector, and allows debugging the target board. Different modules are needed for different types of targets.
The following JTAG debugger is available for the Altera SoC devices:
Debug Cable for JTAG Cortex-A/R (LA-7843)
The trace modules need to be attached to the Debugger Unit to add tracing functionality.
The most common trace modules that can be used with Altera SoC devices are:
Power Trace – Contains both debugger and tracing capabilities. 256 or 512MB of trace data.
PowerTrace II – Offers 1,2 or 4GB of tracing data. Must be controlled by PowerDebug II Debugger hardware
The Tracing Unit is generic, supporting various tracing interfaces. A pre-processor is needed for each tracing interface.
The Altera SoC devices require the usage of the following ETM pre-processor: