lauterbach

Error in running trace32 with command line

半世苍凉 提交于 2019-12-25 03:39:09
问题 I have a .cmm file which helps in debugging of Qcomm chipsets. This file has a line : cd ../../../../../modem_proc When I run this same cmm file using T32 GUI, it runs fine and does the work. But when I am trying to run the same file using windows command line using, C:\T32\bin\windows64>t32mqdsp6.exe -c C:\T32\config.t32 -s D:\path\to\xxx.cmm Following error is thrown in T32: syntax error in B::cd ../../../../../modem_proc What am I missing here? I have no hands-on experience with T32 what

How to start and close Trace32 instances from t32start command line interface?

故事扮演 提交于 2019-12-24 23:10:40
问题 I have found out that Lauterbach Trace32 allows to launch Trace32 instances from the command line. I have a ts2 file . I am trying to use the t32start.exe to start and close Trace32 instances. I have roughly tried the following: t32start ts2_file_path -RUNITEM core_item_from_tree However I am unable to close a Trace32 instance with the same. Can anyone tell me he correct way to open and close Trace32 instances? Update Sometimes, the GUI may have to be force closed, while the target is still

How to force a connection to a PowerDebug which is already in use?

穿精又带淫゛_ 提交于 2019-12-24 10:45:13
问题 In some cases, the Trace32 may hang, or may be closed while the target core is still running. This leads to the following screen when trying to reopen the Trace32 GUI: Is there any way to force a "Reset and connect" (choose "Yes" in the popup) using the command-line, without requiring human interaction? 回答1: Short answer: add the line CONNECTIONMODE=AUTOCONNECT to the PBI= section of you TRACE32 configuration file (usually "config.t32") E.g.: PBI= USB CONNECTIONMODE=AUTOCONNECT Note: The

how to quit currently running Trace32 from command line

拜拜、爱过 提交于 2019-12-23 05:52:10
问题 I am doing the automate regression with Trace32. Before the regression starts, if any Trace32 process is in use, I want to kill the process. The problem is, if I kill it with system OS, when regression starts, the GUI will pop up a dialog saying "TRACE32 device already in use. Reset device and connect?" I have to manually click yes to continue to regression. Is there any way to quit the currently running Trace32 properly from command line, such that the reset dialog will not show when Trace32

how to quit currently running Trace32 from command line

陌路散爱 提交于 2019-12-23 05:52:06
问题 I am doing the automate regression with Trace32. Before the regression starts, if any Trace32 process is in use, I want to kill the process. The problem is, if I kill it with system OS, when regression starts, the GUI will pop up a dialog saying "TRACE32 device already in use. Reset device and connect?" I have to manually click yes to continue to regression. Is there any way to quit the currently running Trace32 properly from command line, such that the reset dialog will not show when Trace32

Trace32 Lauterbach APIs for C program access to the application variables

落爺英雄遲暮 提交于 2019-12-23 03:29:13
问题 I have an ECU with Infineon controller and some xyz program flashed in it. Now the values of the variables of the program can be seen real time in Trace32 debugger with Lauterbach hardware. Now I have to note down all the values manually in report. I want to access those values using Trace32 APIs using C programming to automatically write those values in excel or notepad. I tried their API for Remote Control and JTAG Access document but could not do much. Can anyone please guide? I couldn't

Benchmarking Code Runtime with Trace32

倾然丶 夕夏残阳落幕 提交于 2019-12-10 11:35:33
问题 I have an embedded system with code that I'd like to benchmark. In this case, there's a single line I want to know the time spent on (it's the creation of a new object that kicks off the rest of our application). I'm able to open Trace->Chart->Symbols and see the time taken for the region selected with my cursor, but this is cumbersome and not as accurate as I'd like. I've also found Perf->Function Runtime, but I'm benchmarking the assignment of a new object, not of any particular function

Check in Trace 32 on which CPU breakpoint stopped

天涯浪子 提交于 2019-12-08 13:23:30
问题 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. 回答1: You get the currently active core number with PRACTICE function CORE() e.g. like this PRINT CORE() while you can always execute a command when you hit a breakpoint with the /CMD option of the Break.Set command: Break.Set <addr> /CMD "<TRACE32 command>" Putting both together you get Break.Set 0x10000

Benchmarking Code Runtime with Trace32

风格不统一 提交于 2019-12-06 18:52:24
I have an embedded system with code that I'd like to benchmark. In this case, there's a single line I want to know the time spent on (it's the creation of a new object that kicks off the rest of our application). I'm able to open Trace->Chart->Symbols and see the time taken for the region selected with my cursor, but this is cumbersome and not as accurate as I'd like. I've also found Perf->Function Runtime, but I'm benchmarking the assignment of a new object, not of any particular function call ( new is called in multiple places, not just the line of interest). Is there a way to view the real

Trace32 Lauterbach APIs for C program access to the application variables

被刻印的时光 ゝ 提交于 2019-12-06 15:40:05
I have an ECU with Infineon controller and some xyz program flashed in it. Now the values of the variables of the program can be seen real time in Trace32 debugger with Lauterbach hardware. Now I have to note down all the values manually in report. I want to access those values using Trace32 APIs using C programming to automatically write those values in excel or notepad. I tried their API for Remote Control and JTAG Access document but could not do much. Can anyone please guide? I couldn't even configure Trace32 Software and not even send some command to Lauterbach. My main purpose is the