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

Trace32: How get programmatically get maintenance key expiry month and year using t32apinet?

I am trying to get the maintenance key expiry month and year of lauterbach JTAG programmatically. I am using t32apinet for that. Is there a way to read the maintenance information using the api?
Kannan D
  • 467
  • 1
  • 4
  • 15
0
votes
1 answer

trace32 correlate function and data trace timestamps

Using Trace32 (currently in simulation mode, but will be using real hardware as well) I'm running a demo program. I want to trace both function calls and variables (data trace), so when I break I run the following: trace.EXPORT.CSVFunc…
0
votes
0 answers

[trace32]Error while reading physical image addresses from relocatable data

When I load a dump of SM8150 5G modem dump. Trace32 show: "Error while reading physical image addresses from relocatable data." But I double check my *.elf file, it is match with the dump files. I don't know the cause of the error. Do you can help…
0
votes
1 answer

How to read/write CSV file with Lauterbach CMM script row by row

I'm trying to read/write a CSV file row by row using Lauterbach CMM script, but it's not working. I thought I can read each row of CSV file as each line if I read csv as normal file, but it's not true, if you use LF characters in the cell data:…
0
votes
1 answer

Can i display a memory address (d.dump) typecasted to a specific structure type?

I am trying to view a structure passed as argument to my function.. However while debugging in Trace32 it is only showing me the start address of the structure, but not complete strucute. I can see the values in memory dump at that location, but i…
0
votes
1 answer

Access watch variables from trace32 scripting language

I'd like to create a diagnosis script and would like somehow to get all the variables the user inputs in a watch window to a script. How may i access the watch variables and manipulate them? I tried with a DIALOG.view but that wastes too much time.…
M. Alex
  • 49
  • 1
  • 1
  • 5
0
votes
0 answers

Conditional break point syntax

I'm running the TRACE32 debugger on a tc27x Infineon CPU I'm chasing a stack corruption, I know that some Task or ISR is overwriting a specific stack address with a wrong value. The address is 0x7000c0ec and the value is 0x41000000, I'd like to set…
Alberto Riera
  • 49
  • 1
  • 9
0
votes
0 answers

How to run BSDL File for a Target Microcontrol Evluation Board

I am trying to run Infineon TC297TF Evaluation Board with the Infineon provided BSDL file using Trace-32. Can you please provide me the steps of commands I need to execute within Trace-32 to run the BSDL file and verify that some port input/output…
user3806728
  • 301
  • 1
  • 6
0
votes
1 answer

Why is a device needed between JTAG and the TRACE32 software from Lauterbach?

What is the point of having this rectangular thingy like https://www.microsemi.com/images/soc/partners/solution/ip/Trace_small.jpg? How comes that gdbserver is able to debug over the Ethernet without any additional H/W and this TRACE32 behemoth S/W…
xor256
  • 197
  • 9
0
votes
0 answers

python implementation of the function T32_GetBreakpointList

We are trying to write a python script for lauterbach where we try to get in a variable the address of the breakpoints set without address like, t32api.T32_Cmd("Break.Set func+4") or t32api.T32_Cmd("Break.Set func\0+4"). We identified the function,…
boon
  • 345
  • 1
  • 4
  • 11
0
votes
1 answer

Get address of the breakpoint in Lauterbach

On setting breakpoint using the command, Break.set function And the breakpoint is set at the start of the function. We want to get the address of the breakpoint. How can we get the address of the breakpoint?
boon
  • 345
  • 1
  • 4
  • 11
0
votes
1 answer

Exporting BMC trace flow via Trace32

I am working with two HW platforms that include two ARM processors: Cortex-A15 and Cortex-R5. I would like to export via Lauterbach Trace32 a mixed trace composed of program flow and BMC values (benchmark counters / performance counters). To…
acornagl
  • 521
  • 5
  • 24
0
votes
2 answers

How do I get the data from the "state line" from a TRACE32 application via cmm scripting?

The state line at the bottom of T32 application outputs error messages like, fatal errors, link errors etc. This consists of several fields like cursor, mode, ... See "State Line" on page 23 of http://www2.lauterbach.com/pdf/ide_user.pdf I need to…
Tom
  • 31
  • 3
0
votes
2 answers

how to export a variable values from TRACE32

My question is how to export a variable value which I have seen in watch window? I need to append the values of that variable in Excel format, I'm using the TRACE32 software.
0
votes
2 answers

Error in running trace32 with command line

I have a .cmm file which helps in debugging of Qcomm chipsets. This file has a line : cd ../../../../../modem_proc When I run this same cmm file using T32 GUI, it runs fine and does the work. But when I am trying to run the same file using windows…
Rohit
  • 475
  • 4
  • 18