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

Trace32 practice script: DATA.SET how to use

What does the following command mean? What does EA mean? &HEAD=0x146BF94C DATA.SET EA:&HEAD+0x4 %LONG DATA.LONG(EA:&HEAD+0x4)&0xFFFFFF
0
votes
1 answer

How to step over a software breakpoint in TRACE32

I am working on code that runs on an ARM Cortex M3. I am using a Lauterbach debugger that works with TRACE32 software package. I am inserting a software breakpoint as ARM suggests…
Haris Pap
  • 85
  • 1
  • 3
  • 10
0
votes
1 answer

How to read CPU name in T32

Using t32 "sys.cpu" command we can set CPU but if we want to write CMM script which that do orocessing depending on CPU version then how we can read sys.cpu value to get CPU name in cmm
anshkun
  • 105
  • 1
  • 12
0
votes
1 answer

Hot to do subplots with ITM of trace32

I am debugging a chip with trace32 . I true to visualize many variables at the same plot. When I do Trace.Draw.Var %HEX Variable1 Variable2 Variable3 /Steps I get something like Note that above, I have used variable values of equal to 1 , 2 and 3…
Haris
  • 15
  • 6
0
votes
1 answer

Is it possible to set a ranged breakpoint in TRACE32 using symbols?

I'm want to set a ranged breakpoint in the TRACE32 software with symbolic names. The usual syntax is like this start--end but depenting on my ELF I need a dynamic range like this 0x00--SYM_NAME. Is it possible? When yes, how? Thx in advanced I use…
0
votes
1 answer

trace32 python api read memory address - how?

I am trying to use a python script to read from memory through trace32. I've found the following document: https://www2.lauterbach.com/pdf/api_remote.pdf I managed the following code: local_buffer =…
Hezi Yovel
  • 105
  • 1
  • 7
0
votes
1 answer

How do I programmatically know if Trace32 booting has completed?

We are using Trace32 in our automation environment. I am trying to programmatically control Trace32 and I am able to do it successfully with T32api dlls. After launching the trace32.exe programmatically (C#/Python 3.7), I wait for 30seconds before…
Kannan D
  • 467
  • 1
  • 4
  • 15
0
votes
1 answer

lauterbach t32-remote T32_Init() api returns -1[T32_ERR_COM_RECEIVE_FAIL]

Using T32-remote api to automate test. Lauterbach is connected through Ethernet config.t32: RCL=NETASSIST PACKLEN=1024 PORT=20000 ; Environment variables OS= ID=T32 TMP= SYS=C:\T32 ; i.e. EtherNET PBI= NET ;TRACE32…
Nirmi
  • 356
  • 3
  • 11
0
votes
0 answers

T32 CMM Script from ARM DS

I have a FPGA based system & ulink pro debugger with ARM DS IDE. I am able to connect and debug it. I want to create T32 script for this. I know ARM DS accepts and can work with CMM scripts. Wanted to know if in anyway I can generate trace32 script…
rk1825
  • 273
  • 4
  • 14
0
votes
0 answers

How does lauterbach trace32 print registers?

I am just trying to understand how does lauterbach trace32 prints registers with r command. Also how does it set breakpoints. Basically how does trace32 extract/modifies live register values? Any documentation/ source scripts to understand the…
user00011
  • 103
  • 1
  • 15
0
votes
1 answer

Trace32 stopped once adding coverage buffer to coverage database

Refer to PRACTICE Script Language Reference of Trace32 tool: https://www2.lauterbach.com/pdf/general_ref_c.pdf Analyzer.Mode Stack Go sieve … COVerage.ADD ; clear trace buffer and use stack mode ; run a part of the application ; process the trace…
Thảo M. Hoàng
  • 1,224
  • 3
  • 20
  • 42
0
votes
1 answer

Same symbol name present on 2 different cores

I'm writing an OS awareness plugin. I need to read a symbol name to get the tasklist. In our system, the OS is running on 2 different cores, so that the symbol name which I want to read is presented on 2 different cores with the same symbol name.…
Sat
  • 11
  • 2
0
votes
1 answer

Trace32 Function RunTime does not work as expected

I'm trying to debug the execution flow of a piece of code from a point A to function call B. For that purpose I'm activating some Trace graphics using a cmm script SYStem.RESetTarget Break.Delete Break EcuM_Prv_StartOS Go WAIT !STATE.RUN()…
Alberto Riera
  • 49
  • 1
  • 9
0
votes
1 answer

Trace32 - command lock on sys.gtl

I am trying to debug a A53 and hexagon core. I have attached the A53 core, which is now running. But when i run the hexagon core, I get command locked in SYS.GTL.LIBNAME ">LPATH\>LDllName" both the variables are substituted. …
user00011
  • 103
  • 1
  • 15
0
votes
1 answer

Trace32 - PBI=MCIServer Illegal commad error

I am creating a ubicom-32 core under MCI-Server configuration in T32 tree(t32 start). When i am starting the Core, I get PBI=MCIServer (Illegal command) Config=C:\Temp\T321000023.t32 T32SYS = C:\T32\ (config file) I have the below settings in my…
user00011
  • 103
  • 1
  • 15