Advanced Rose RealTime integration

This section covers the more advanced information about using Test RealTime with IBM Rational Rose RealTime.

Using a Cross Compiler with Rose RealTime

When using a compiler that produces code for a non-native platform, you must set up two Target Deployments Ports for both the native and the target platform.

To use a cross compiler:

  1. Locate the corresponding Target Deployment Ports. These TDPs must contain an attolcc Instrumentation Launcher binary.

  2. In the TDP.txt file located in the Rose RealTime installation directory, write a line for each Target Deployment Ports based on the following syntax:

 

<rosert_targetRTS_name>  ,  <testrt_tdp_name> [, [<path>], [$], [/|\]]

 

where:

For example:

NT40T.x86-VisualC++-6.0  ,  cvisual6 , C:/temp ,$ ,/

 

Using a Makefile

If you chose not to use the Rose RealTime environment for compilation and link, but instead to use a makefile to perform these tasks, you can use the Rational Test RealTime  Instrumentation Launcher tools as described below:

To compile with a makefile:

  1. Modify your compiler command as follows:

CC = attolcc <options> -- cc

LD = attolcc <options> -- ld (if necessary)

 

attolcc is the Instrumentation Launcher which must be available in the Target Deployment Port, in the /cmd directory. This directory must be in your PATH.

<options> are the instrumentation options. See the Reference Manual for more information about the Instrumentation Launcher command line.

Splitting the Result File

The instrumented application produces the atlout.spt file at the end of the execution.

To display the report

  1. Run the following command:

studio *.fdc *.tsf atlout.spt atlout.tio atlout.tdf atlout.tqf atlout.tpf

 

This launches the Test RealTime graphical user interface. The .fdc and .tsf files are static files generated by the instrumentation. The four last files are created by the product to store the traces for each component.

Related Topics

Working with IBM Rational Rose RealTimeTroubleshooting Rose RealTime Integration