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

Is it possible to manually refresh the contents of a .per file?

I have custom .per files used to provide the user a way to interact with an application from Lauterbach. However, once in a while the values of some variables do not update and the only way to get it back to regular functioning is to close the per…
Damola
  • 72
  • 5
1
vote
1 answer

What does Coresight TMC Identification wrong mean?

I am trying to set up a debug session and I have my startup script where I have defined the basic address details for each and every core sight component in the design. But unfortunately, ETFs and FUNNELs, I get an error stating 'Coresight TMC…
QTip
  • 70
  • 6
1
vote
1 answer

How to save the stackframe in Lauterbach when the breakpoints is hit

So i want to dump full stackframe with local variables to the .txt file when the breakpoint is reached and then use the "resume" option to restart again and when the breakpoint is reached again create new .txt file and save the callstack again. I…
Sir_Hubsi
  • 35
  • 5
1
vote
1 answer

How many time a function is called in Trace32?

I have only debugger power-pro from Lauterbach. I can't do trace with it, is it normal ? And if it's normal, I need to know how can I know how many time a function is called ? I set a breakpoint on my function but it doesn't show the same number…
Julia
  • 13
  • 3
1
vote
1 answer

trace32 using python: how to interpreat return data from function T32_ReadMemoryObj

Code is for reading 40 bytes of data from 32 bit address: size = 40 addr = 0x02051000 buffer = (c_uint8 * size)() buffer_handle = c_void_p() address_handle32 = c_void_p() …
Nirmi
  • 356
  • 3
  • 11
1
vote
2 answers

Dispatching an external script from Trace32's PRACTICE II script?

Is it possible to dispatch an external (python) script from Trace32 using its PRACTICE II scripting language?
Razor Storm
  • 12,167
  • 20
  • 88
  • 148
1
vote
1 answer

TRACE32: PRACTICE Script: Iterating over a list of variables

In a PRACTICE script, is there an easy way to iterate over a "list of variables/macros"? For example: ; this "list" changes... PRIVATE &var1 &var2 &var3 ; this implementation shall not change ; do something with &var1 &var2 &var3 ... I would like…
sergej
  • 17,147
  • 6
  • 52
  • 89
1
vote
1 answer

trace32 using python - use function T32_ReadMemoryObj

A question before the code: What are the differences between T32_ReadMemory and T32_ReadMemoryObj and in which cases should I prefer one over the other? As far as I can tell from the API PDF the 'Obj' version is more advanced and has more access…
Hezi Yovel
  • 105
  • 1
  • 7
1
vote
1 answer

Is it possible to use trace 32 functionality from command line not gui?

its a quick question just wondering if i can use Trace 32 functionality like flashing,break points and watch variables through command line and script without the GUI for automation process? and if its possible would there be a good link to read…
1
vote
1 answer

Failed to set break point at startup with Lauterbach for Multicore controller

I'm using Lauterbach debugger to connect Tricore controller(SPC58NG84,Configured CORE0 as Master,CORE1-Not used,CORE2-Slave). I followed below sequence to set break point. Target Reset-->Set breakpoint in software function at Core 2 -->Run…
1
vote
1 answer

debug port problem while running Lauterbach CMM script

Currently Im developing Lauterbach CMM scripts to automate test cases for SPC58NG84 As part of Test case: - Need to reset target system before and after test case. - Need to read and wrte variable values from C code. When I run test scripts I got…
1
vote
1 answer

Conditional breakpoint with trace32

I have what I think is a stack corruption. I have an stack variable (a pointer ) in the position: 0x7000C0E4 ; the normal information stored is 0x700022A5 I know that from time to time some unexpected code trashes the high part of the word getting…
Alberto Riera
  • 49
  • 1
  • 9
1
vote
1 answer

Trace32:Var.watch window is not displaying variable value updates when debugger is running mode

I'm using Trace32 to debug micro controller SPC58NXXX software. I added variables to Var.watch window and these variables values will be change once I run software. When I run software with Lauterbach debugger even the variable values are changing…
1
vote
1 answer

How to wait for t32rem DO script to complete?

It seems that doing t32rem localhost DO script.cmm is non-blocking. How can I block in a shell script until the cmm script is done? Here is an abbreviated example: $ time t32rem localhost wait 5s real 0m5.048s $ cat wait-5s.cmm WAIT 5s ENDDO …
cdleonard
  • 6,570
  • 2
  • 20
  • 20
1
vote
2 answers

Trace32: Way to set number of rows displayed on a data.dump

For a data.dump, you can set the number of columns of the window displayed with the /columns option, but is there a way to set the number of rows displayed? If I dump out only 4 addresses, the window is quite large.
azazelspeaks
  • 5,727
  • 2
  • 22
  • 39