with Trace32 lauterbach provides a bunch of APIs . These APIs dont provide access to Trace32 directly , rather , it provides access to the trace32 User interface ( i know what you are thinking :)).
So , this means that for you to access the trace32 Hardware , you will have to have the trace32 software open on the system . The config file of the trace installation folder is the key . i will share some more code and inputs shortly