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

Changing address location for a new build in trace32

We are using python scripts to run tests in trace32. There was a recent change in the build with few features going for a change. Is there a way we could determine the new address locations for breakpoints without rewriting the scripts again? (At…
boon
  • 345
  • 1
  • 4
  • 11
0
votes
1 answer

how can I view a variable name from a given address from t32 cmm script?

how can I view a variable name from a given address from t32 cmm script ? I have address and want to log the name of the variable from T32 loaded dump or elf ?
One
  • 1
0
votes
1 answer

ETM traces and STM traces

Need to understand the difference between STM traces and ETM traces ? Also want to get understand about source, sink, link in coresight device? Please share any links/blogs for these queries
anshkun
  • 105
  • 1
  • 12
0
votes
0 answers

TRACE32 CMM script

I would like to run the t32 cmm script for accessing memory and read/write test. And tried below code. &srcadd=0x50000000 &destadd=0x50700000 REPEAT 100. //WHILE (&srcadd<&destadd) ( D.S ND:0x10:&srcadd %LE %Long…
Raj
  • 1
  • 1
  • 2
0
votes
1 answer

Display HLL C when debugging Linux kernel source with TRACE32

I am debugging with Linux kernel LTS4.4 (arm32, cortexa7). I already built successfully the kernel image as well as vmlinux. I am using Debugger Lauterbach and Trace32 tool. And use below command to load vmlinux and kernel source B:: data.load.Elf…
Thảo M. Hoàng
  • 1,224
  • 3
  • 20
  • 42
0
votes
1 answer

Filter trace output for each CPU

My ETM trace is captured separately and loaded with TRACE32 command LA.IMPORT (It is not connected directly with a device) How to filter all the records for each core means run 0,1,2 ... from ETB dump in separate windows for LA method? Is there…
anshkun
  • 105
  • 1
  • 12
0
votes
0 answers

Trace32: var.string character limit

It seems in t32 var.string() only returns up to 256 characters. This is very limiting when wanting to view large structs. Is there a way to work around this? I am currently trying to use winprint.v.v but that not working very easily.
0
votes
1 answer

Trace32 command to read symbol name for a given address from the ELF File

I used T32 to load bin files and elf and wrote scripts to extract the Pc , Lr register values from the ELF file. Now I have the address for e.g say PC's address is 0xccccdddd. Now I need to get the symbol corresponding to that. I ran gdb and used…
user00011
  • 103
  • 1
  • 15
0
votes
0 answers

Lauterbach Trace 32 ICE entering main again if breakpoints enabled

I am new to the Lauterbach debugger (Trace32) and I seem to have some problem with my debugging. In my case, every time I step into a breakpoint and I go few steps ahead in that function the control goes back to main. I know it goes back to main as…
0
votes
0 answers

Lauterbach trace32 : how to work with breakpoint in cached area

I am recently debugging on a Cortex-M4 program which has its text section on a cached memory region. After attaching to the device, I am trying to set a software breakpoint. The breakpoint can be hit and the CPU is halted. However, I cannot do any…
Eric Sun
  • 777
  • 6
  • 20
0
votes
2 answers

trace32 data.load.elf error "verify error at address NSX:0x8000"

This is my first time using Trace32 and I'm trying to flash a simple C program on arm target when I try to execute this command (to my knowledge this command will flash the target but not sure?). d.load.elf image.axf /Verify /ComPare I get the…
0
votes
1 answer

TRACE32 Full backtrace after segmentaion fault and/or unexpected end of program

is it possible to see full backtrace after getting segmentaion fault or unexpected end of program in TRACE 32. Like in DDD after bt command ? I am merging a lot of source into a project (SW Update) and keep getting target reset, would like to know…
Jeremy
  • 45
  • 11
0
votes
1 answer

Query function symbol for existence

I can use sYmbol.Browse.Function to browse through function symbols loaded to the internal TRACE32 symbol database; quoting the General Reference [S]: sYmbol.Browse.Function Lets you browse through the list of functions that have been loaded to …
dfrib
  • 70,367
  • 12
  • 127
  • 192
0
votes
1 answer

Trace32 config file error

I am using following settings to control trace32 cmm scripts execution using C# scripts. Node="localhost" Port="20000" PackLen="1024" Device="1" Somehow I recently uninstalled & installed trace32 & lost config file. Now I am not able…
techy
  • 63
  • 1
  • 8
0
votes
0 answers

How to detect breakpoint is hitting a function in trace32 using lauterbach script?

I am modifing the lauterbach script. I need to check if the breakpoint is hitting correctly on the same breakpoint which I wanted to hit. Task_func has a runanble Runnable_Func I used this piece; IF…
np2807
  • 1,050
  • 15
  • 30