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

Putting Breakpoint on Register Write in Trace32

I see an option for putting a breakpoint on read or write of a register when creating a new breakpoint, but it is greyed out. How do I get to select that option and how would I write, for example, that I want to break when something writes a value…
CodeMonkey
  • 1,795
  • 3
  • 16
  • 46
0
votes
1 answer

Is it possible to read data from a file and store to a PRACTICE variable created using VAR.NEWGLOBAL

I found an example, with READ #1 "filename.hex" &data were &data is a PRACTICE macro. I need to parse this data. As it is stored in a macro, I am not able to. Is it possible to store it in a PRACTICE variable? If so what would the command look…
dottruce
  • 13
  • 4
0
votes
1 answer

Check in Trace 32 on which CPU breakpoint stopped

Does anyone knows if that is possible to check ID of CPU on which I reached breakpoint? I want to print it out and resume execution immediately, so likely need a t32 cmd or global variable.
wrymarkX
  • 99
  • 8
0
votes
1 answer

Assign a register value from d.in to a local variable

I want to assign a register value to a local macro/variable in trace32. &temp = d.in 0x0234567 does not seem to work. Any ideas?
Rgarg
  • 496
  • 3
  • 6
  • 13
0
votes
2 answers

How to access two different routines in two files in Trace32 CMM scripts

I have two files in two different floder locations in Trace32. I execute cd.do file_name subroutine_name in Trace32. The trace32 takes the location of first command executed as the folder from which the following commands needs to be executed. How…
Aabha Geed
  • 39
  • 1
  • 11
0
votes
1 answer

Is it possible in .cmm to check if we are running script in Trace32 simulator session

I have a script to setup different stuff before I start debugging the target with Trace32. Sometimes I debug also on simulator where some steps are not relevant for. I want to check in a script if I run on simulator or I am attached to live system.…
wrymarkX
  • 99
  • 8
0
votes
2 answers

Flashing image to STM3220g-EVAL board using Trace 32

I have an STM3220g-EVAL board. It doesn't seem to have a preloaded image in it now, as it was used for other purposes. When I power it on, the display is shown blank. I dont have a STLINK/V2 hardware. I am using Trace32 and Lauterbach for flashing…
0
votes
1 answer

How does TRACE32 know the type of a global symbol loaded from an ELF?

I have a strange behaviour: I load an ELF file containing two global variables : E1 and S1 Those two variable are both declared as "int" but TRACE32 see E1 as a FLOAT and S1 as an int. I try to use "readelf" but it only say that E1 and S1 are…
Fabrice LARRIBE
  • 322
  • 3
  • 9
0
votes
1 answer

Cannot set Breakpoints in Specific Functions by Lauterbach debugger

When debugging code with lauterbach, some functions which are present and displayed in Trace32 cannot put any breakpoints inside them and when trying to put a Breakpoint at the line which this function is called it is not hit (i.e line is skipped)
iwahdan
  • 429
  • 1
  • 5
  • 14
0
votes
0 answers

Why we can not debug the reset or crash issue with JTAG emulator (trace32)?

I have observed reset / crash issue with my target. But when I am trying to debug it with jtag the device doesn't reset or crash. It works correctly. What is happening internally which will not allow the device to reset or crash. This may be…
kapilddit
  • 1,729
  • 4
  • 26
  • 51
-1
votes
1 answer

Trace32 emulation installation

I have at my disposition a MPC5566 evaluation board, I installed the software Trace32 for debugging purpose with the right debugger from lauterbach, the problem is that I can't find the right exe for the board i'm using, even after i tried an upload…
Amine
  • 13
  • 4
-2
votes
1 answer

If the program counter (PC) reset in arm, how the booting resumes?

I have an arm controller and I have an option to reset the CPU registers using Lauterbach Trace32. Now after resetting the CPU registers also , when I press "Play" in the Trace32 ,2 times my board is up and running. So when there is no way to know …
achoora
  • 1,270
  • 1
  • 16
  • 32
-2
votes
1 answer

How to send data to target through Trace32 debugger?

I need a way to send some data to the ucontroller through Trace32. I heard that this is possible some way, but I have no idea where to start. What I am actually trying to do is run a piece of code on a Aurix TC297 ucontroller to do some measurements…
1 2 3
13
14