Non-Confidential | ![]() | 100966_1102_00_en | ||
| ||||
Home > Getting Started with Fixed Virtual Platforms > Loading and running an application on an FVP |
There are different ways to run an application on an FVP, for example from a command prompt, or from Model Debugger, or DS-5.
To run an FVP from the command prompt, change to the directory where your model is located. At the command prompt, enter the model name followed by the model options. To see all available options, use the --help option. The following options are commonly used when running an application on an FVP:
filename
.axf@<address_in_hex>
<byte_in_hex>
--data filename
.bin@address
instance
.parameter
=value
-C bp.flashloader0.fname=fip.bin
loads a program
into flash. To list all the available parameters, with their type, default
value, and description, invoke the model with the --list-params, or -l option. To set
multiple parameters at the same time, use the -f option
instead.config_file
.txt-C
option.-S
For example:
models_directory
/FVP_Base_Cortex-A57x1 -a __image.axf -f params.txt
You can also launch and debug bare metal and Linux applications on an FVP from Model Debugger or DS-5 Debugger. These debuggers use CADI to communicate with the FVP, so you must use the -S option when launching the FVP.
Starting the model opens the FVP CLCD display, which shows the contents of the simulated color LCD framebuffer.