Questions tagged [lauterbach]

Questions regarding Lauterbach Microprocessor Development Tools. Use trace32 tag for questions specific to TRACE32 tool.

Lauterbach provides microprocessor development tools for leading processor architectures like ARM, Intel, MIPS.

More information can be found at http://www.lauterbach.com/

186 questions
1
vote
1 answer

How to See the Call Trace in Trace 32

Can anyone help we out to see the Call Trace in the Trace 32 debugger. I remember such option is available in UDE debugger. Is such option available in the Trace32 as well. Example:-When a interrupt has raised then I wanted to know what all function…
1
vote
2 answers

Benchmarking Code Runtime with Trace32

I have an embedded system with code that I'd like to benchmark. In this case, there's a single line I want to know the time spent on (it's the creation of a new object that kicks off the rest of our application). I'm able to open…
codehearts
  • 483
  • 1
  • 9
  • 16
1
vote
1 answer

Trace32 continuously read file

I'm trying to make a script for Trace32 PRACTICE language that reads some data from a .txt file and then passes the values to a variable that I need to debug. My problem is that I cannot make it return to the top of the file and start over, once the…
1
vote
1 answer

T32 script usage

I'm new to T32 script, and got a question about the scripting. Looking into our project's script, I found the code like below : A.cmm ======================================================= .... if (&AAA==TRUE()) ( do B.cmm F=test1 …
Nobody
  • 179
  • 2
  • 8
1
vote
1 answer

Trace32 Execute script when program stops

Is there a way to execute a script every time the program stops? I need to do something like this: Var.Set \myvar=list[Id] where list and Id are variables from the program. However when the Id changes \myvar doesn't change, it remains with the…
1
vote
2 answers

How to disable assembly during debugging in Trace32?

I want to disable assembly and see pure C/C++ code during debugging using Trace32. is it possible to do that?
1
vote
2 answers

Display Linux linked list in Trace32

I try to print Linux linked list in user friendly way in Trace32. 1. Is there already any known method available? If not then let me show an example with modules list. I have global variable static struct list_head modules; where struct…
1
vote
1 answer

How to run a .bat file from a TRACE32 script?

I need to run a .bat file from a TRACE32 script. I tried with OS.FILE.ACCESS("name of file","x") where x represents X execute file. In the manual it says that this function returns TRUE or FALSE, so I executed PRINT OS.FILE.ACCESS("FILENAME","x")…
John Smith
  • 777
  • 2
  • 14
  • 37
1
vote
1 answer

How to put a breakpoint at a line in a module from a TRACE32 script?

I would like to place a breakpoint at a certain line in a certain file. Using BREAK.SET I know that this is possible for functions and for an address. I just want to place a breakpoint at a certain line(without knowing the address). Is this possible…
John Smith
  • 777
  • 2
  • 14
  • 37
1
vote
1 answer

How to check return value of a function in Lauterbach(Trace32)?

I need to check the return value of a function from a TRACE32 script. Reading the documentation I see a possible solution to read Program Counter(IP) register and then after executing the instruction at address where PC points to take the value from…
John Smith
  • 777
  • 2
  • 14
  • 37
1
vote
1 answer

Execute a personal trace32 function when line is reached during test

I'm testing a real-time application on physical hardware via lauterbach-trace32 probe. Trace32 documentation is too vast and very technical but I'm not able to find how to implement what I need. I would like to know if there is a method to execute a…
acornagl
  • 521
  • 5
  • 24
1
vote
1 answer

Trace32 Lauterbach APIs for C program access to the application variables

I have an ECU with Infineon controller and some xyz program flashed in it. Now the values of the variables of the program can be seen real time in Trace32 debugger with Lauterbach hardware. Now I have to note down all the values manually in report.…
Rohit
  • 11
  • 1
  • 4
1
vote
1 answer

Current directory with OS.COMMAND

I'm trying to run a script(on OS level) (and not block until its return) from T32 using OS.Command, but when I do I get '\\somepath' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to…
kag0
  • 5,624
  • 7
  • 34
  • 67
1
vote
2 answers

Assembly code breakpoint does not work as expected

I am developing a STM32F2 device using GCC 4.7.4 and a Lauterbach Combiprobe JTAG debugger. In my code, I have the following statement to always break at a certain spot for testing purposes: asm volatile ("BKPT #0"); This is the only breakpoint.…
Bryan C.
  • 347
  • 1
  • 12
1
vote
1 answer

understanding trace32 commands

I am looking in to trace32 cmm scripts at my work place. It is mentioned as below sys.bc 1000000. sys.m up ; disable watchdog d.s 0x101022 0x40 d.s CPU:0x3ff00 %long 100001 d.s SD:0x101050 %long 00000051 d.s SD:0x101054 %long 5ff00002 My question…
venkysmarty
  • 11,099
  • 25
  • 101
  • 184