6.3 Running the examples

This section describes how to start the executables.

Directly

Start the generated executable directly, then load the application onto the platform.

> EVS_DualDhrystone_Cortex-A15x1-A15x1.x -a $PVLIB_HOME/images/dhrystone.axf

With a script

On the command line, execute the run.sh (Linux) or run.bat (Microsoft Windows) script.

This automatically loads the correct application onto the EVS and starts the SystemC simulation.

With debug support

Use the normal command to start the executable, but add the -S option.

To start the DualDhrystone application from a shell with a debug server, enter:

> ./run.sh -S

To debug the application, attach Model Debugger to the simulation. All Model Debugger features, for example, source-level debugging, step, step over, and breakpoints, are available.

Non-ConfidentialPDF file icon PDF version100964_1161_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.