2.2.93. RELOAD

The RELOAD command loads a linked program image containing program code and data.

Syntax

RELOAD [{,qualifier...}] [name | id] [=task]

where:

qualifier

If specified, qualifier must be one of the following:

all

Loads all the files in the file list.

symbols_only

Reloads the symbols only, not the executable image.

image_only

Reloads the executable image only, not the symbols.

force

Forces the load to proceed even if it might be aborted because, for example, the file being loaded overlaps a file already loaded.

killtasks

Applicable only to RTOS and when threads identify the entry function. Attempts to identify any threads connected to a file being unloaded or reloaded and stop their execution.

nokilltasks

Does not attempt to identify affected threads and stop their execution.

name | id

Specifies the file to be reloaded, either by its name or by an identifier allowing its selection from the executable file list. If you do not specify a file, the whole process is reloaded.

task

Specifies the task that is to start. This parameter is required only when the target is running multiple tasks.

Description

The RELOAD command loads or reloads an absolute file image containing program code and data. You can load a specified file, or one or more files from the file list. The PC is reset to the start location.

If any file being reloaded is already loaded, it is unloaded before being loaded again. If the symbols for a given file are already loaded, they are not reloaded unless the file modification date has changed.

You can reload symbols only, or the image only. For details see the descriptions of the command qualifiers.

The effect of reloading the system file is defined by the vehicle.

See also

The following commands provide similar or related functionality:

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0235B
Non-Confidential