Search code examples
cmdautomationtrace32lauterbach

Is it possible to use trace 32 functionality from command line not gui?


its a quick question just wondering if i can use Trace 32 functionality like flashing,break points and watch variables through command line and script without the GUI for automation process? and if its possible would there be a good link to read about how to do it?


Solution

  • You have two options to use TRACE32 functionality without using the GUI*:

    • You can start TRACE32 with a startup script by adding the command line option -s <script>. More information is available in debugger_user.pdf chapter "Command Line Arguments for Starting TRACE32".

    • You can use the TRACE32 Remote API. You can use the TRACE32 Remote API in shell scripts (by using the precompiled binaries) or in C programs or Python scripts. More information is available in api_remote_c.pdf and app_python.pdf.

    *The PowerView process is still required. You can start PowerView without a GUI by setting SCREEN=OFF in the config file.

    ;Other settings separated by an empty line
    
    ;Screen Settings
    SCREEN=OFF
    
    ;Other settings separated by an empty line
    

    All PDFs are also inside your TRACE32 installation.