The Debug Sprite is invoked as follows:
arm-none-linux-gnueabi-sprite [options
]device-url
board-file
The device-url
specifies the
debug device to use to communicate with the board. It follows the
standard format:
scheme
:scheme-specific-part
[?device-options
]
Most device URL schemes also follow the regular format:
scheme
:[//hostname
:[port
]]/path
[?device-options
]
The meanings of hostname
,
port
, path
and device-options
parts depend on the
scheme
and are described below. The
following schemes are supported in Sourcery G++ Lite for ARM GNU/Linux:
rdi
Use an RDI debugging device. Refer to the section called “Remote Debug Interface Devices”.
flashpro
Use a FlashPro debugging device. Refer to the section called “FlashPro Devices”.
The optional
?
portion is
allowed in all schemes. These allow additional device-specific
options of the form
device-options
.
Multiple options are concatenated using
name
=value
&
.
The board-file
specifies an XML
file that describes how to initialize the target board. If
board-file
refers to a file (via a
relative or absolute pathname), it is read. Otherwise,
board-file
can be a board name, and the
toolchain's board directory is searched for a matching file.
See the section called “Supported Board Files” for
the list of supported boards, or invoke the Sprite with the
-b
option to list the available board files.
You can also write a custom board file; see
the section called “Board File Syntax” for more information.