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

How to generate ELF file for QNX IFS image

I need to do some Trace32 debugging and i need to see the symbols of the IFS image. I generate the IFS image for my ARM A9 platform but dont know how to generate the ELF file. can somebody help me out ? thanks.
1
vote
1 answer

How to print float variable from Trace32 with python command?

I have a simple C code which will update static variable with floating variable. Let's say I have static float32 totalcount = 60.73f; I want to know how to get float values from Lauterbach trace32. I have tried to print the float values using…
user2986042
  • 1,098
  • 2
  • 16
  • 37
1
vote
0 answers

Stopped at vector cache

I am using a Lauterbach trace32 debugger for S9KEAZ128ALMH controller. And when debugging I'm getting a message Stopped at Vector catch. I used the skez.cmm script to configure flash. The same works for another sample project.
Prem
  • 11
  • 1
1
vote
1 answer

How to pass an argument to a TRACE32 .mem file?

I am trying to implement a "generic" TRACE32 menu that takes a parameter and can be reused across different projects. Would something like that be possible? How do I pass an argument to a .mem file loaded by MENU.ReProgram? ;my_menu.mem ADD MENU ( …
sergej
  • 17,147
  • 6
  • 52
  • 89
1
vote
1 answer

Assign a struct element to other cmm local variable

I'am using cmm scripts and i want to assign a struct element to other cmm mocal variable like that &Intermidiate = Debug_Log[0].Name But i had always the Error as it is shown in the pictureError structure element assignes to local cmm variable
Imed
  • 11
  • 1
1
vote
1 answer

Trace32 doesn't wait until a command gets executed to execute the next command

I am running a Practice script inside Trace32. I have noticed that if for example I have this set of commands Go Step.Over Step.Over doesn't necessarily wait for Go to finish execution to start. How to tell Trace32 not to execute a command until…
Merolla
  • 315
  • 2
  • 10
1
vote
1 answer

Controlling a specific core in a trace32 multi core debugging enviroment

I am trying to write a practice script to debug a multi core system in Trace32. As per the docs, I started the scrpit as follows SYStem.CPU CortexA55 SYStem.CONFIG CoreNumber 3 Core.Number 3 I can choose to single step in a single core by using the…
Merolla
  • 315
  • 2
  • 10
1
vote
1 answer

Trace32 window data is truncated when printed out to a file

I am trying to print a memory range window that shows the value of an array of string to a file using winprint.data.View %Var v.address("sortData0.strings") the issue is when I check the file, I find it as…
Merolla
  • 315
  • 2
  • 10
1
vote
1 answer

Is there a way to typecast void pointers in Lauterbach

I have a structure containing a void pointer but when I need to view the contents of this pointer, I want it to be displayed as a pointer of a particular type. Is there a means to do this within Lauterbach? I tried using the symbol.AddInfo.Type…
Damola
  • 72
  • 5
1
vote
1 answer

Iterating over symbol table in Trace32 PRACTICE script

I want to iterate over a symbol table database created by the trace32 debugger and want to execute a specific command on the iterator (which I expect to be a name of the symbol). Currently I am exporting the list of all symbols to a text file and…
1
vote
1 answer

How will TRACE32 identify a coresight system in multichip mode?

In a single chip system, TRACE32 could use SYStem.DETECT DAP to access the single root ROM table in DAP to idendify and discover the system. Then how in a multichip system? For example, in a system of 2 chips, each of which has its own DAP and ROM…
Wanghz
  • 305
  • 2
  • 12
1
vote
1 answer

lauterbach "no default loading agent available" error when using data.load with option checkOnly or checkload

I am trying to load a .s19 file to a microcontroller memory.In order to check whether the code has been loaded successfully I have tried using the following commands :- Data.LOAD.S3record
alvy
  • 117
  • 1
  • 10
1
vote
1 answer

check if trace32 has finished initialising when launched with python

i have seen the below code in the python trace32 demos where the functin subprocess.Popen is used to launch trace32 using python. # Launch TRACE32 as a sub process - this prevents our script # from…
alvy
  • 117
  • 1
  • 10
1
vote
1 answer

how to Give inputs to Lauterbach script?

I have practice script that take password from dialog box and set it to var. I want to modify it instead of taking password from dialog box it take it from command line like entering parameters to script. I have read the ref but i can't find it…
1
vote
1 answer

Trace32 CMM script : understanding the Data.Set command

What does the following command mean? sYmbol.NEW _VectorTable 0x34000000 sYmbol.NEW _ResetVector 0x34000020 sYmbol.NEW _InitialSP 0x34000100 Data.Set EAXI:_VectorTable %Long _InitialSP _ResetVector+1
Equation Solver
  • 545
  • 7
  • 18