EasyManua.ls Logo

COBHAM GRMON3 - Page 97

COBHAM GRMON3
239 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GRMON3-UM
June 2019, Version 3.1.0
97 www.cobham.com/gaisler
8. bload - syntax
NAME
bload - Load a binary file
SYNOPSIS
bload ?options...? filename ?address? ?cpu#?
DESCRIPTION
The bload command may be used to upload a binary file to the system. It's an alias for 'load -binary'. When a file
is loaded, GRMON will reset the memory controllers registers first.
bload ?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.
OPTIONS
-delay ms
The -delay option can be used to specify a delay between each word written. If the delay is non-zero
then the maximum block size is 4 bytes.
-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
for more information.
-wprot
If the -wprot option is given then write protection on the core will be disabled
RETURN VALUE
Command bload returns a guessed entry point.
EXAMPLE
Load and then verify a binary data file at a 16MBytes offset into the main memory starting at 0x40000000.
grmon3> bload release/ramfs.cpio.gz 0x41000000
grmon3> verify release/ramfs.cpio.gz 0x41000000
SEE ALSO
Section 3.4.2, “Uploading application and data to target memory”

Table of Contents