To disable the TRACE32 PowerView user interface, find the line starting with SCREEN= in your TRACE32 configuration file (default: config.t32) and change it to SCREEN=OFF. If there is no line starting with SCREEN= add a and empty line at the end of the file and then add the line SCREEN=OFF.
Then you can either start TRACE32 PowerView with a startup script which will contains the actions you want to perform or control the TRACE32 application from an external program (e.g. Python script or C application).
The TRACE32 application can be closed using the QUIT command, which can take the OS return value as argument.
Refer for more information to the TRACE32 Installation Guide and API for Remote Control and JTAG Access in C.
Comments (6)
2. While using pyrcl library, is it required to open t32 instance (disabled GUI)? Because if a t32 instance isn't open, it gives socket timeout error though pyrcl config is in place in config.t32. Or could it be someother error?
2. It is required to start the TRACE32 PowerView instance with or without GUI to use pyrcl.
The only solution in this case is to kill the instance. You should implement error handling in your cmm/py(pyrcl) script (e.g. using ON.ERROR in cmm) to always have the possibility to close the instance.