A.3.1. Application_Load

Use the Application_Load group to change the way that an executable image is loaded into target memory. The default is to write the memory using the emulator or EVM board. Settings in this group can be used to override the default and so disable all image load, for pure ROM or EPROM systems, or to run an external program to do the load.

Application_Load group settings

The following settings are available in the Application_Load group:

Load_using

Specifies how to perform the load.

Load_command

This defines a shell command run to perform the load. The command might contain $ variables, which are substituted by RealView Debugger before calling. The possible $ variables are:

$D

directory of the application

$P

full path of the application

$F

filename of the application

$N

name of the application without the extension.

If the command starts with an exclamation mark (!), the return value of the shell command is not used to stop the load, otherwise a non-zero return aborts the load. In all cases, the output of the command is shown in the Log tab in the Output view.

Load_set_pc

This controls how the PC is initialized during an image load. The default is to set the PC to the entry point if an entry point is defined and symbols are loaded and this is not an appended load (it is replace or new). This enables you to disable setting the PC under any situation, or to set it specifically to address 0.

Include_on_load

A script file that you want to execute after loading an image.

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0182N
Non-ConfidentialID052111