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

Lauterbach hexdump address range into file

How do I hexdump by using range (e.g. 0xA0000000 - 0xA000FFFF) into a hex file using Trace32 scripting language?
Juhas
  • 178
  • 2
  • 13
0
votes
1 answer

Trace 32 command to read the Breakpoint source file

Is there a command in Trace 32 to read the field marked in this screenshot enter image description here
Yomna Ali
  • 1
  • 1
0
votes
1 answer

symbol not found error in Trace32 cmm script

LOCAL &aVariable &aVariable = Var.Val('\someheader.h\SOMEMACRO') where SOMEMACRO was defined in the header as a static const and in a diffErent sub-directory as the cmm script
M___K
  • 1
0
votes
1 answer

Trace32 command get struct members/elements name

I found that WinPrint or Var.WRITE can only write up to 4095 bytes to the file at a time. For larger size structures, the data out of limits will be lost. To avoid this, we can write multiple times according to the member order. ( If we only know…
Cosmic Roach
  • 93
  • 2
  • 6
0
votes
0 answers

Trying to connect via ethernet on trace32 debugger

I have tried to connect on a trace32 Lauterbach debugger via ethernet but I can't made it work. I can only connect via USB. I followed the steps from lauterbach website but a I can't check "full duplex" option. Could that be the problem? This is the…
0
votes
1 answer

How can I reset my SoC from cmm script using RISC-V trace32 debugger. I don't have TRST or SRST serial lines connected to SoC

My cmm script is something like this : ..start of cmm script ""GTL config and GTL connect"" ""some JTAG.SHIFT operations"" JTAG.PIN DISable system.mode prepare ;Need a reset here. I am trying this to reset my SoC WAIT 10.MS …
Yash
  • 1
  • 1
0
votes
1 answer

Updating breakpoint with change of build - Lauterbach

we have lauterbach scripts were we place breakpoints using python scripts at specific address lines of code in a function and the subsequent lines of the function by manually finding the address locations. #Breakpoint is set at the entry point of…
boon
  • 345
  • 1
  • 4
  • 11
0
votes
1 answer

Jump to subroutine from a custom Trace32 menu

I would like to run a couple of similar command sequences from a menu in Lauterbach T32 (or even from the toolbar, the issue is the same). Menu is built using something like: menu.reprogram ( add toolbar ( toolitem "Say NE", "SN,r" ( GOSUB…
0
votes
2 answers

t32 read symbols if we give symbol table and string table section from ELF file

We have stripped ELF where symbol table and string table stripped from ELF binary and copied to as symtab.bin and strtab.bin. Copy is done using file operations where we read section symbtab, strtab start offset to size and write to symtab.bin and…
anshkun
  • 105
  • 1
  • 12
0
votes
1 answer

Trace32 - reading ASCII from memory into macro/variable

I would like to know the proper way of reading a memory chunk which is plain ASCII into a variable (Practice macro). This is apparently possible for simple integer types, with Data.Long(). However, conversion to ASCII would be cumbersome. I tried…
0
votes
1 answer

What does the command DIAG 3411 do?

Im trying to understand a few lauterbach commands, may i know what does the DIAG 3411 do? Should the system be in any specific state for it to be executed? Thank you!
QTip
  • 70
  • 6
0
votes
1 answer

How to pass to a PULLDOWN DIALOG as a variable?

In a PRACTICE script, how do I pass a list of items to a pulldown dialog as a variable. I have tried the following, but it doesn't seem to work. &myFiles="foo,bar,baz" DIALOG ( OptionA.SEL: PULLDOWN &myFiles "" )
sergej
  • 17,147
  • 6
  • 52
  • 89
0
votes
0 answers

Is it possible to know every input and output of a Microcontrollers in Trace32?

Is it possible to know every microcontroler in Trace32 input and output at real time ? I would know when an external port is connecting to the microcontroler.
Julia
  • 13
  • 3
0
votes
2 answers

How do I make Trace32 path working for all other users?

The configuration file with named config.t32 under installation of Trace32 has a static directory default as SYS=C:\T32. When other user runs this file in their system it doesn't runs because they have installed Trace32 in different location. How…
ARR
  • 41
  • 4
0
votes
0 answers

lauterbach scripting: read peripheral

I am trying to check if a function is called every 2 miliseconds by way of a script. For this I need to read the value of a timer but I get the error 'memory access not allowed' when I try to read it(Data.Long(D:0xF00001010)). This is may…
sandra
  • 65
  • 4