2.2.3. Running the simulation without a debugger

The simulation library must be started using Model Shell. This tool allows running arbitrary simulation targets like the Cortex-A8 based EB platform. The corresponding executable model_shell is located in the bin directory of the installation. It provides several options to set parameters and load application files. The most convenient way to set parameters is to use a configuration file.

To generate this configuration file, start model_shell with the --list-params option and the simulation library. For Linux this is:

model_shell --list-params <path_to_simulation_library> > params.config

The configuration file for the parameters can have any arbitrary name and can be edited using a normal text editor to set the parameter values. For Linux, the <path_to_simulation_library> looks like:

./<installation_path>/lib/Linux-Release-GCC-3.4/lib/RTSM_EB_CortexA8.so

For Win32 platforms:

./<installation_path>/Win32-Release-VC2005/lib/RTSM_EB_CortexA8.dll

For Linux, the simulation library might be started using the parameter configuration file with the following command:

model_shell <path_to_simulation_library> -f params.config -a <application_file.axf>

For Windows, the command is similar:

model_shell.exe <path_to_simulation_library> -f params.config -a <application_file.axf>

The --help option lists all available options for model_shell.

Note

Use the -C, --parameter PARNAME=VALUE option to set individual parameters on the model_shell command line. This allows priority over parameters specified in a parameter file.

Copyright © 2010 ARM Limited. All rights reserved.ARM DUI 0532A
Non-ConfidentialID110210