| |||
| Home > armsd > About armsd > Command syntax > Command-line options | |||
armsd [-elp] [-vsn] [[-hittle] | [-lig]] [-bu cpname] [ - | [-fpe]] [-nofpembols] [-syoname] [-ript scname] [-xec] [-ei name] [-lock cn] [-targetdllname] [[-ote] | [-rem] | [-armuladpoptions]] image_name args
where:
-helpGives a summary of the armsd command-line options.
-vsnDisplays information on the armsd version.
-littleSpecifies that memory is to be little-endian (the default setting).
-bigSpecifies that memory is to be big-endian.
-cpu nameSpecifies the CPU type that is to be simulated.
With this option you must not specify -rem or -adp as
the target. Specify -armul as the target to invoke
RealView ARMulator ISS. If you do not specify a target, RealView
ARMulator ISS is invoked if it can simulate the specified processor.
If the specified processor cannot be simulated, armsd exits.
Instead of you
can specify namelist, to display a list of processors
available on the target. For example:
armsd -cpu listlists available processors of standard targets (RealView ARMulator ISS and Remote_A)
armsd -armul -cpu listlists available processors of RealView ARMulator ISS
armsd -target dllname -cpu
listlists available processors of the specified target.
RealView ARMulator ISS is the only ARM supplied target that has a list of available processors.
Instead of -cpu you can still use -proc,
but this is now obsolete.
-fpeInstructs RealView ARMulator ISS to load the FPE on startup.
-nofpeInstructs RealView ARMulator ISS not to load the FPE on startup (this is the default setting).
-symbolsReads debug information from the specified image file but does not download the image.
-o nameWrites output from the debuggee to the named file.
-script nameTakes commands from the named file (reverts to stdin on
reaching EOF).
-execInstructs the debugger to load and execute the named file immediately, and quit when execution stops.
-i nameAdds to
the set of paths to be searched to find source files.name
-clock nSpecifies the clock speed in Hz (suffixed with K
or M) for RealView ARMulator ISS. This is intended for use with
an armsd.map file.
-target dllnameSpecifies a .dll file that
is a third-party RDI target simulator to be used instead of RealView
ARMulator ISS.
-remoteSelects remote debugging. By default this is ADP.
-armulSelects RealView ARMulator ISS. This is assumed by default if you do not specify a target but do specify a processor type that RealView ARMulator ISS can simulate.
-adp optionsSelects remote debugging using ADP, further defined by one or more of the following options:
-port exprspecifies the ADP port to use, where selects
serial, serial-and-parallel, or ethernet communications and can
be one of:expr
s=nSelects serial port communications. n can
be 1, 2 or a device name.
s=n,p=mSelects serial-and-parallel port communication. n and m can
be 1, 2, or a device name. There must be no space between the arguments.
e=idSelects ethernet communication. is
the ethernet address of the target board.id
For serial and serial-and-parallel communications, you can
add ,h=0 to the port expression to switch off
the heartbeat feature of ADP. For example, -port s=1,h=0 selects
serial port 1 and turns off the ADP heartbeat.
-linespeed nSets the line speed to .n
-loadconfig nameSpecifies a file containing required configuration data, when using a Remote_A connection to EmbeddedICE. See loadconfig for more information.
-selectconfig name versionSpecifies the target for which configuration data is required, when using a Remote_A connection to EmbeddedICE. See selectconfig for more information.
image_nameGives the name of the file to debug. You can also specify this information using the load command. See load for more information.
argsGives program arguments. You can also specify this
information using the load command. See load for more information.
Where given, the debug file, and any associated arguments, must be the last entry on the command line. This ensures that all specified command-line options are correctly interpreted.