Debugging with a Lauterbach probe

Debugging on a bare-metal target with a Lauterbach probe requires the Lauterbach software to be installed on S32 Design Studio . Click Help > Install New Software... to install the Lauterbach TRACE32 Eclipse plug-in. For details, refer to Installing plug-ins.
Note: If you changed the default memory configuration in the linker script, make sure to update the CMM file accordingly. In the project folder, go to Project Settings > Debugger and open the <device>.cmm file. This file contains the cores initialization, update the boot address line:
Data.Set SD:0x4008814C %Long 0x38000000 ; Write boot address to MC_ME.PRTN0_CORE0_ADDR.R

To debug a bare-metal application on the board connected to the computer with a Lauterbach probe:

  1. Create an application project in the wizard and specify “Lauterbach TRACE32 Debugger” as the debugger.


    Creating a project for a Lauterbach debugger

  2. Build your project.
  3. Open the Debug Configurations dialog and go to the Lauterbach TRACE32 Debugger group of configurations. Click the debug configuration for debugging from RAM or from flash generated for your project.


    Lauterbach debug configuration

  4. On the Trace32 Debugger tab, specify the connection parameters. The configuration settings are described in www2.lauterbach.com/pdf/int_eclipse.pdf.
  5. Click Apply, then click Debug.
When you launch the debug configuration, S32 Design Studio redirects you to the Lauterbach TRACE32 debugging tool. Debugging in the Lauterbach environment is described in www2.lauterbach.com/pdf/int_eclipse.pdf. When the debug session is terminated, you get back to S32 Design Studio .