Questions tagged [trace32]

Trace32 is an In-Circuit Debugger.

Trace32 is an In-Circuit Debugger (ICD) made by Lauterbach. It uses basic features of the onchip debug system to provide a powerful debug tool that offers:

  • Easy high-level and assembler debugging
  • Display of internal and external peripherals on a logical level
  • Onchip break and trigger support
  • RTOS awareness
  • Flash programming
  • Powerful script language
  • Multiprocessor debugging

Reference

Trace 32 Debugger
Trace 32 In-Circuit Debugger Quick Installation and Tutorial

208 questions
2
votes
2 answers

Trace32 Write directory location to file

So I finally decided to bite the bullet and rewrite my company's terrible Trace32 scripts. I'm trying to use a data file to save the pertinent information between runs so we can just run a Redo script to repeat any action without having to navigate…
MPStoering
  • 184
  • 2
  • 12
2
votes
1 answer

Build Linux kernel image (vmlinux) to use DWARF3 instead of DWARF4

I am working on a project that depends on Lauterbach JTAG debugger hardware and software, and the support on the target JTAG cable ended in July 2011. We using a Linux 2.6.33 kernel on an omap2 processor. We are using gcc 4.9.2 to build the kernel…
Daniel
  • 81
  • 7
2
votes
1 answer

Calling external script on breakpoint with Register Values as parameters

I would like to script Trace32 so I can dump register state and pass to my script on a breakpoint trigger. I am currently looking at the /CMD flag. Is there any way I can set a breakpoint in the format of this: Break.set main /CMD "OS.Command…
Augmens
  • 43
  • 5
2
votes
1 answer

Print float variable to IEEE format in Trace32

In my code I have the following variable that I want to display in my log t_f32 tx_float_to_1x16_send_data[15]; In my cmm script I tried different ways to display my variable but trace32 seems to only manage hex, decimal and binary but not…
2
votes
1 answer

Using registers in break point conditions with Trace32

Trying to set break point at a specific location and set trigger condition that is based on the value of one of the registers e.g. R1 (Cortex-R family CPU). Is there a way to do it in trace32? What is the syntax for condition?
Maksim Skurydzin
  • 10,301
  • 8
  • 40
  • 53
2
votes
1 answer

How to measure the amount of memory consumed by the stack?

With Lauterbach TRACE32, how to measure the amount of memory consumed by the stack when the application is running? I am using AUTOSAR OS on a PowerPC CPU.
sergej
  • 17,147
  • 6
  • 52
  • 89
2
votes
1 answer

how to quit currently running Trace32 from command line

I am doing the automate regression with Trace32. Before the regression starts, if any Trace32 process is in use, I want to kill the process. The problem is, if I kill it with system OS, when regression starts, the GUI will pop up a dialog saying…
Wei
  • 21
  • 1
  • 3
2
votes
1 answer

how to close trace 32 application itself through cmm command?

I load and execute a cmm script inside trace32 application using bmm commands. when the execution is over i need to close the entire t32 application window itself (similar to File -> Exit) using cmm command ?
user3264821
  • 175
  • 2
  • 18
2
votes
1 answer

Fill memory with a constant in Trace32

I'm new to Trace32 and symply trying to fill 174bytes, starting from a given adress, with the same value (sometimes 0x00, sometimes 0XFF). Looking at the documentation, Data.Set seems to be the way to go but I can't figure out the correct…
2
votes
1 answer

How to check current breakpoint function in TRACE32?

I'm trying to check if the program stopped in a function in a TRACE32. I know I can see the the functions in FRAME window but no idea how to copy them to a variable inside my script. Any idea how to do that ?
John Smith
  • 777
  • 2
  • 14
  • 37
2
votes
1 answer

How to integrate trace32 with Jenkins?

I want to automate trace32. It is running perfectly on the command line but not from Jenkins.
nancy
  • 51
  • 3
  • 11
2
votes
1 answer

Use quotes in Lauterbach strings

I am trying to autogenerate a file using cmm script for Lauterbach. Here is what I want to show up in the file: { "source": "XYZ" } // quotes included However I cannot get the cmm script to accept the quotes. Using "\" doesnt work either. Is…
2
votes
3 answers

Command line interface for Lauterbach

I am using Lauterbach debugger (TRACE32 interface) on a 7447 processor. I need to load multiple files onto this processor which I do by running commands in the T32 GUI. Idea is to have a script do the job. One way is to call individual .cmm files in…
neon
  • 31
  • 1
  • 4
2
votes
1 answer

Using Trace32 with Qualcomm FFA

Does anyone knows of any resources regarding the debugging of BREW and/or BMP applications on Qualcomm FFA using Lauterbach JTAG/Trace32 (e.g. .cmm scripts, instructions etc.)? Thanks.
Ofir
  • 8,194
  • 2
  • 29
  • 44
2
votes
2 answers

String format - practice language - trace32

In the Trace32 language--Practice-- is there a command for formatting strings? I know of the format.hex() and format.decimal() commands but I have had no luck finding anything like a format.string()
Steven
  • 172
  • 3
  • 9
1 2
3
13 14