4.1.14. How to Setup and Debug using Lauterbach

Introduction Lauterbach

This guide discusses how to use TRACE32 and Lauterbach for Debugging.

Lauterbach provides integrated debug environments for embedded designs.

The tool chain in Lauterbach includes:
  • Debugger

  • Real-time trace for program/data flow

  • Logic analyzer

These capabilities are implemented by dedicated hardware components.

TRACE32

The TRACE32 toolset supports a large number of microprocessors, real-time operating systems, integrations, and eco-systems.

Connecting Lauterbach to Board

For connecting Lauterbach to the board, following things are required:

  • 7-9 V power supply

  • Debug Cable (JTAG)

  • 20 pin JTAG Header

  • USB Cable

Connect the USB Cable to the host machine. The Debug Cable (JTAG) will be connected to the board via the 20 pin JTAG Header.


For more information regarding the setup please refer this.

Downloading and Installing TRACE32

You can download and install the latest version of TRACE32 from here.

Debugging with TRACE32

To open the TRACE32 software after installing, search for Trace 32 (ARM V8 USB) Launcher Application on your system and open it.

A window will popup as shown below

../../../_images/TRACE32_launch.png

Now as per your debugging requirements, select the desired cmm files. For this, from menu bar go to File –> Open Script. Select the desired cmm file and select Do. This will set target type, open some windows, assemble some code in SRAM, execute that code. You should be able to trace this code in the list window.

CMM Files

Tracing a Simple demo script for Cortex-A53


For more information on debugging with TRACE32 refer this.