Questions tagged [lauterbach]

Questions regarding Lauterbach Microprocessor Development Tools. Use trace32 tag for questions specific to TRACE32 tool.

Lauterbach provides microprocessor development tools for leading processor architectures like ARM, Intel, MIPS.

More information can be found at http://www.lauterbach.com/

186 questions
0
votes
0 answers

T32api to click a button in a dialog box

I am trying to click a button of an already opened dialog box using the t32api.T32_Cmd() function. But I am not able to find a suitable dialog command to click a button. Need help. Tried many DIALOG Commands like EXECUTE, SELECT, SET. nothing worked…
0
votes
0 answers

How to resolve this error 'critical error accessing file ' in Trace32

I am currently working on a practice script. One of the function of the script is to print the values of a set of structure values into a file using the "winprint.v.v" command. The corresponding part of the script includes the following…
0
votes
1 answer

PRACTICE Script To Quickly Halt CPU

I am trying write a script to halt CPU right after powerup (for example we install a faulty code to flash of S32K144 device and make the chip stuck in reset. Other than the basic functions like SYSTEM.UP, BREAK, SYSTEM.MODE.ATTACH , is there any…
0
votes
1 answer

How to print variable from Multi core Trace32 with Python command

I want to get both static variables and local variable from a function in trace32 with python script. I have got some useful reference from trace32 site with python script. with below documents, I have written some script to control the trace32 with…
user2986042
  • 1,098
  • 2
  • 16
  • 37
0
votes
0 answers

Lauterbach Trace 32 debugger shows Illegal sap id code error

Whenever I am trying to run any script on Trace32 I am getting below error. How can I fix this? Any help would be appreciated. I want to run few .cmm scripts
Faiz
  • 1
0
votes
0 answers

How to count Linux Kernel function calls using Trace32?

I'm on an ARMv7 system with a Lauterbach Power Trace connected via JTAG and I want to count function calls (B, BL) in the Linux Kernel up to a certain point, so that I have an output of: c0107200 handle_IRQ 80 c0107278 arch_cpu_idle 76 ... Is this…
JohnnyFromBF
  • 9,873
  • 10
  • 45
  • 59
0
votes
1 answer

Lauterbach Trace Function Micro Trace

I would like to en-quire whether Lauterbach able to trace any data without elf file or symbol file loaded to the target board? My target board is LPC1768 We would like to know whether Trace function is working without any symbol file or .elf file…
0
votes
0 answers

How to load .elf file through QSPI&flash memory with help of lauterbach?

I wrote lauterbach script for read and write (dummy data) to/from flash with help of QSPI. But I don't know how image(.elf) read and send to as a parameter to write API. Write API have Entry &address &data ;QSPI configuration ;erase…
0
votes
2 answers

Automatically generating t32 config file at a given path with a given name

I am trying to automate a workflow, where on multiple remote computers, I run tests via Trace32. The code for the test is done, I also wrote the code (mostly in Powershell) for automatically opening T32 PowerView GUI on the computers and running the…
me9hanics
  • 3
  • 2
0
votes
1 answer

How to get a variable's value using it's string name

I have a global MACRO defined in .cmm script and I want to get it's value by using the string name. I tried to reference it with double "&" symbol, but after this line I get an "operand expected" error: &error_name =…
Ondina
  • 3
  • 2
0
votes
0 answers

Is there an option to check the sequence of the function that is running using Trace 32

I am trying to check the order or sequence in which the functions are being called after i flash using trace 32. Can anyone help me know if there is an option to check this and where can i find it? I tried a graphical method which i saw online but…
0
votes
0 answers

Get the Stack frame in Lauterbach T32 from Python RCL Api

I am trying to get the Call Stack from my python script over the API. Reading variables and setting breakpoints is not a problem, but I cannot read the Call stack or the current frame with the RCL library.
0
votes
1 answer

Trace32: How to Focus view on a user provided pc(program counter)

I got a situation on ARM controller, where in the underlying OS layer, an exception is reported by calling osException(). The caller of this function also passes the pc(program counter). I have set a breakpoint on osException() and can print the…
Sumen
  • 1
  • 1
  • 2
0
votes
1 answer

Lauterbach Trace32 command line start up: Cannot append to item of type "Configuration Container V2.2" an item of type "PRINT"

I am trying to open Trace32 (t32start.exe) by running Powershell code (or simply from the command line), then running a .cmm practice script to open the PowerDebug. (It's for starting the program when the PC is turned on after e.g. a power cut.) The…
me9hanics
  • 3
  • 2
0
votes
0 answers

ZYNQ-ULTRASCALE Warning: verify error at flash adress : 0x0

I got following warning during after-flashing verification. Code fragment: WAIT 2s FLASHFILE.LOAD ..\..\..\..\ZZZ_Build_Products\* 0x0 WAIT 2s FLASHFILE.LOAD ..\..\..\..\ZZZ_Build_Products\* 0x0 /ComPare During flashing procedure there were no…