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
2
votes
2 answers

Trace32 is there way to know if PRACTICE cmm finished?

I am using RCL for controlling Trace32 remotely. It is well-known that when running any PRACTICE command interactively (e.g. cd.do my_script.cmm) the command itself completes immediately, while the CMM script continues to run. Same applies when…
Noob
  • 335
  • 1
  • 8
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

Trace32 Debug in VSCode or Visual Studio

Is there a possibility to debug an embedded C code in VSCode or Visual Studio with an Lauterbach by utilizing the Trace32 Power Debug USB Tools? Why do I want to do that? I do not like the GUI provided by Trace32, but it is needed to use the…
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

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
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
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
1
2
3
12 13