
GRMON3-UM
June 2019, Version 3.1.0
158
www.cobham.com/gaisler
59. load - syntax
NAME
load - Load a file or print filenames of uploaded files.
SYNOPSIS
load ?
options...
?
filename
?
address
? ?
cpu#
?
load
subcommand
?
arg
?
DESCRIPTION
The load command may be used to upload a file to the system. It can also be used to list all files that have been
loaded. When a file is loaded, GRMON will reset the memory controllers registers first.
To avoid overwriting the image file loaded, one must must make sure that DMA is not active to the address range(s)
of the image. Drivers can be reset using the reset command prior to loading.
load ?
options...
?
filename
?
address
? ?
cpu#
?
The load command may be used to upload the file specified by
filename
. If the
address
argument
is present, then binary files will be stored at this address, if left out then they will be placed at the base
address of the detected RAM. The
cpu#
argument can be used to specify which CPU it belongs to. The
options is specified below.
load clear ?
cpu#
?
This command will clear the information about the files that have been loaded to the CPU:s. If the
cpu#
argument is specified, then only that CPU will be listed.
load show ?
cpu#
?
This command will list which files that have been loaded to the CPU:s. If the
cpu#
argument is specified,
then only that CPU will be listed.
OPTIONS
-binary
The
-binary
option can be used to force GRMON to interpret the file as a binary file.
-delay
ms
The
-delay
option can be used to specify a delay between each word written. If the delay is non-zero
then the default block size will be 4 bytes, but can be changed using the
-bsize
option.
-bsize
bytes
The
-bsize
option may be used to specify the size blocks of data in bytes that will be written. Sizes that
are not even words may require a JTAG based debug link to work properly. See Chapter 5, Debug link
more information.
-debug
If the
-debug
option is given the DWARF debug information is read in.
-nmcr
If the
-nmcr
(No Memory Controller Reinitialize) option is given then the memory controller(s) are not
reinitialized. Without the option set all memory controllers that data is loaded to are reinitialized.
-wprot
If the
-wprot
option is given then write protection on the core will be disabled
RETURN VALUE
Command load returns the entry point.
EXAMPLE
Load and then verify a hello_world application
grmon3> load ../hello_world/hello_world
grmon3> verify ../hello_world/hello_world
Содержание GRMON3
Страница 56: ...GRMON3 UM June 2019 Version 3 1 0 56 www cobham com gaisler...
Страница 114: ...GRMON3 UM June 2019 Version 3 1 0 114 www cobham com gaisler...
Страница 123: ...GRMON3 UM June 2019 Version 3 1 0 123 www cobham com gaisler dcache...
Страница 156: ...GRMON3 UM June 2019 Version 3 1 0 156 www cobham com gaisler SEE ALSO Section 6 13 On chip logic analyzer driver...
Страница 208: ...GRMON3 UM June 2019 Version 3 1 0 208 www cobham com gaisler SEE ALSO Section 3 5 Tcl integration...