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
1 answer

Export complete Trace32 watch window data to the text file during runtime

I have total 100 variables which are continuously updated in Trace32 during runtime. I wanted to export all the 100 variables to text file continuously during runtime. I have used below mentioned commands to export watch window variables to a text…
Raju
  • 21
  • 2
2
votes
1 answer

wait until shell command is executed

I have a script where I launch a shell command. The problem is that the script doesn't wait until the command is finished and continues right away. I have tried WAIT but it doesn't work as the shell command turns the source off and on (ignition…
sandra
  • 65
  • 4
2
votes
1 answer

Print debug text from C code into Lauterbach TRACE32

Is it possible to print debug text from C code (running on embedded system) into Lauterbach TRACE32 (connected over Lauterbach hardware)? Previously we used to output it via UART (serial connection) but now it is not available.
Dr. Andrey Belkin
  • 795
  • 1
  • 9
  • 28
2
votes
2 answers

How to print Trace32 terminal view to a file?

I have a script that initializes terminal and prints information in it in Trace32 terminal and I cannot edit that file. I am using term.write command to log the contents in terminal window to a file. But it does log the information that were written…
Kannan D
  • 467
  • 1
  • 4
  • 15
2
votes
1 answer

How to declare an array with macros in Lauterbach CMM script

I would like to create an array with Macros in Lauterbach CMM script. I tried the following: LOCAL &ARRAY_VAR[10] This syntax doesn't work. I know how to create array with Var.NEWLOCAL: Var.NEWLOCAL int[3] \ARRAY_VAR Is there any way to create…
2
votes
1 answer

Lauterbach - load two elf files but keep both symbols

I'm going to load several elf-fils into TRACE32 and onto the chip. But Lauterbach only keeps the symbols of the last uploaded elf file. How can I change the behavior?
Cutton Eye
  • 3,207
  • 3
  • 20
  • 39
2
votes
1 answer

Viewing graphs of function runtimes with Lauterbach Trace

I'm debugging a crash where a long-running method is called frequently before death. My primary concern is the difficulty in determining where nested and/or recursive calls are. The Trace->Chart->Symbols window shows a graph of which function is…
codehearts
  • 483
  • 1
  • 9
  • 16
2
votes
1 answer

How to determine which PER file is loaded in the current session of Trace-32

In a running Trace-32 Debugging Session, can you please tell me how to determine the currently loaded PER file name using some commands? Thank you. Regards
user3806728
  • 301
  • 1
  • 6
2
votes
2 answers

how to print/log stack trace to a file in trace32?

I am new to Trace32 and looking for a way to print/log contents of stack trace to a local file. I have checked API's of B::Frame, but unable to find any save method for it. Also, tried printing B::Frame which also didn't work Please suggest how to…
pdp16
  • 39
  • 6
2
votes
1 answer

Dump all function symbols and their base address to text file in trace32

I am trying to import all the function symbols in the elf with the function base address to a text file. I am using the below 2 commands to do that PRinTer.FILE c:\temp\function_symbol.txt WinPrint.symbol.list.function But in this process, full…
Amal Roshan
  • 183
  • 2
  • 9
2
votes
0 answers

Trace 32 How to retrieve user input asynchronously

I'm running a script and whenever a breakpoint is hit, a subroutine will be executed, printing/retrieving a buffer's information, asynchronously. This process will be performed for an indefinite time, until a user wants to stop this process. Is…
2
votes
1 answer

Log struct variable to file in trace32

I am trying to log the contents of a structure to a file with a practice script. I would rather not use Var.VALUE for every field of the struct and so far I have found the Var.PRINT command which displays all the information contained in the…
user3256844
  • 23
  • 1
  • 5
2
votes
1 answer

How to write a value to a memory address in python using a T32_WriteMemory function

I am trying to automate the Trace32 functions using python. And I am trying to write a value to a memory address using T32_WriteMemory() function. Can someone help me how to go ahead with this function? Below is the reference from the T32 Api pdf…
Mystery Coder
  • 21
  • 1
  • 3
2
votes
2 answers

Reading a macro value using trace32

I have used C code in Trace32 and I want to read the value of C macro in Trace32. How to do that? Will the macro value be stored in some register? eg: #define DEST_ADD = 0xE432; address = htonl(DEST_ADD); How do I read the value of macro: DEST_ADD…
2
votes
1 answer

Does Trace32 support linux 4.x awareness?

I'm using linux kernel 4.9 and Trace32 debugger. I want to use linux-awareness debug mod, but Trace32 client has only linux-awareness for 2.x and 3.x. Could I use linux-awareness 4.x? Thanks for your answer :)
soongk
  • 259
  • 3
  • 17
1
2
3
13 14