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
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
3 answers

BDM elf file vs normal elf file

Whats the advantage that the BDM ELF file has over the normal ELF file in terms of memory used? I know the following things about both: BDM ELF file could be used for debugging through any debugger tools like Trace32 by plugging in JTAG. The normal…
wrapperm
  • 1,266
  • 12
  • 18
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
1 answer

Running TRACE32 using python

I want to run a .cmm file that reads the register values in kernel in TRACE32 and i want to initiate that using python so that data analysis becomes easy. Kindly help me with the procedure and commands to do so
user3659556
  • 21
  • 2
  • 4
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
1
vote
0 answers

Can we disable in-line support in GCC 4.3.3 for linux kernel debugging

I am trying to learn about IPSec layer in Linux kernel using Trace 32 ICD. For that I am trying to trace packet flow from user land to Ethernet driver. Problem I'm facing is that Trace32 is not able to display inline functions in stackframe output…
Satpal Parmar
  • 361
  • 3
  • 12
1
vote
0 answers

Debugging Qualcomm FFA running Android (kernel) using Trace 32

I would like to know the procedure the set up Android Kernel debugging using Trace 32 for a phone based on a Qualcomm chipset. There are quiet a few cmm scripts available in the Android code I synced from Code Aurora Forum. But I don't know which…
spitfire88
  • 1,596
  • 3
  • 19
  • 31
0
votes
1 answer

Writing to the Trace32 command line through python

Hello I'm currently working on automating some tasks in Trace32 using python. I have no previous knowledge of Trace 32 so I'm trying to learn as I go. so far I've understood that I need to use lauterbach.trace32.rcl (the remote control API provided…
0
votes
0 answers

How to resolve this error 'critical error accessing file ' in Trace32

I am currently working on a practice script. One of the function of the script is to print the values of a set of structure values into a file using the "winprint.v.v" command. The corresponding part of the script includes the following…
0
votes
1 answer

How to print variable from Multi core Trace32 with Python command

I want to get both static variables and local variable from a function in trace32 with python script. I have got some useful reference from trace32 site with python script. with below documents, I have written some script to control the trace32 with…
user2986042
  • 1,098
  • 2
  • 16
  • 37