Skip to main content

How to use the t32rem tool? - Knowledgebase / TRACE32 PowerView - Lauterbach Support

How to use the t32rem tool?

t32rem is a command line tool designed to interact with a running TRACE32 PowerView instance from an external system shell. The tool uses the Remote API to send commands directly to TRACE32PowerView.

Note

The Remote API needs to be enabled in TRACE32 PowerView with the command SETUP.API.RCL.Enable. Refer to the documentation of this command in the PowerView Command Reference.

TRACE32 PowerView needs to be started with

The executables for t32rem can be found in the TRACE32 installation directory under bin/<os>. The source code of the tool is available under demo/api/capi/test/t32rem.c.

Usage:

t32rem <host> [port=<n>] [protocol=NETASSIST | NETTCP] [timeout=<s>] [wait=<ms>] <command>]

Parameters:

<host>

IP address or hostname of the machine running the receiving TRACE32

port=<n>

API port used by TRACE32 PowerView.

This parameter is optional, if not specified, the default port 20000 will be used.

protocol=

NETASSIST | NETTCP

Protocol used for the communication with TRACE32 .

Default: NETASSIST

wait=<ms>

Wait up to the given milliseconds until all PRACTICE scripts on the receiving TRACE32 PowerView instance stop, after sending the command. This is useful in combination with a command starting a PRACTICE script like “RUN” or “Do”.

Without this option t32rem will not wait for scripts to end.

<command>

TRACE32 command .

Examples:

t32rem localhost PRINT VERSION.SOFTWARE()
t32rem localhost port=20001 Do myscript.cmm

Refer for more information about controlling TRACE32 PowerView over the Remote API to API for Remote Control and JTAG Access in C and Controlling TRACE32 via Python 3.

Helpful Unhelpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image