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

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
0
votes
1 answer

Trace32 practice script: DATA.SET how to use

What does the following command mean? What does EA mean? &HEAD=0x146BF94C DATA.SET EA:&HEAD+0x4 %LONG DATA.LONG(EA:&HEAD+0x4)&0xFFFFFF
0
votes
1 answer

How to read CPU name in T32

Using t32 "sys.cpu" command we can set CPU but if we want to write CMM script which that do orocessing depending on CPU version then how we can read sys.cpu value to get CPU name in cmm
anshkun
  • 105
  • 1
  • 12
0
votes
1 answer

Is it possible to set a ranged breakpoint in TRACE32 using symbols?

I'm want to set a ranged breakpoint in the TRACE32 software with symbolic names. The usual syntax is like this start--end but depenting on my ELF I need a dynamic range like this 0x00--SYM_NAME. Is it possible? When yes, how? Thx in advanced I use…
0
votes
1 answer

How do I programmatically know if Trace32 booting has completed?

We are using Trace32 in our automation environment. I am trying to programmatically control Trace32 and I am able to do it successfully with T32api dlls. After launching the trace32.exe programmatically (C#/Python 3.7), I wait for 30seconds before…
Kannan D
  • 467
  • 1
  • 4
  • 15
0
votes
1 answer

lauterbach t32-remote T32_Init() api returns -1[T32_ERR_COM_RECEIVE_FAIL]

Using T32-remote api to automate test. Lauterbach is connected through Ethernet config.t32: RCL=NETASSIST PACKLEN=1024 PORT=20000 ; Environment variables OS= ID=T32 TMP= SYS=C:\T32 ; i.e. EtherNET PBI= NET ;TRACE32…
Nirmi
  • 356
  • 3
  • 11
0
votes
0 answers

T32 CMM Script from ARM DS

I have a FPGA based system & ulink pro debugger with ARM DS IDE. I am able to connect and debug it. I want to create T32 script for this. I know ARM DS accepts and can work with CMM scripts. Wanted to know if in anyway I can generate trace32 script…
rk1825
  • 273
  • 4
  • 14
0
votes
0 answers

How does lauterbach trace32 print registers?

I am just trying to understand how does lauterbach trace32 prints registers with r command. Also how does it set breakpoints. Basically how does trace32 extract/modifies live register values? Any documentation/ source scripts to understand the…
user00011
  • 103
  • 1
  • 15
0
votes
1 answer

Trace32 - command lock on sys.gtl

I am trying to debug a A53 and hexagon core. I have attached the A53 core, which is now running. But when i run the hexagon core, I get command locked in SYS.GTL.LIBNAME ">LPATH\>LDllName" both the variables are substituted. …
user00011
  • 103
  • 1
  • 15
0
votes
1 answer

Trace32 - PBI=MCIServer Illegal commad error

I am creating a ubicom-32 core under MCI-Server configuration in T32 tree(t32 start). When i am starting the Core, I get PBI=MCIServer (Illegal command) Config=C:\Temp\T321000023.t32 T32SYS = C:\T32\ (config file) I have the below settings in my…
user00011
  • 103
  • 1
  • 15
0
votes
1 answer

Trace32: How get programmatically get maintenance key expiry month and year using t32apinet?

I am trying to get the maintenance key expiry month and year of lauterbach JTAG programmatically. I am using t32apinet for that. Is there a way to read the maintenance information using the api?
Kannan D
  • 467
  • 1
  • 4
  • 15
0
votes
1 answer

Django socket connection timout

I am trying to check if a certain device (Lauterbach PowerDebug Pro) is connected to the network. I have the following code that I am using in Django view. def checkConnection(hostname, port, timeout=5): s = socket.socket(socket.AF_INET,…
Bogdan Prădatu
  • 325
  • 5
  • 15
0
votes
1 answer

trace32 correlate function and data trace timestamps

Using Trace32 (currently in simulation mode, but will be using real hardware as well) I'm running a demo program. I want to trace both function calls and variables (data trace), so when I break I run the following: trace.EXPORT.CSVFunc…
0
votes
1 answer

How to read/write CSV file with Lauterbach CMM script row by row

I'm trying to read/write a CSV file row by row using Lauterbach CMM script, but it's not working. I thought I can read each row of CSV file as each line if I read csv as normal file, but it's not true, if you use LF characters in the cell data:…
0
votes
1 answer

How to write os awareness t32 config for test OS

Currently writing custom OS so for debugging need to know whether we need to check with t32 lauterbach for writing OS awareness module or there is any open documentation available for same Can debug our OS with t32
anshkun
  • 105
  • 1
  • 12