GRMON3-UM
June 2019, Version 3.1.0
120 www.cobham.com/gaisler
29. eeload - syntax
NAME
eeload - Load a file into an EEPROM
SYNOPSIS
eeload ?options...? filename ?cpu#?
DESCRIPTION
The eeload command may be used to upload a file to a EEPROM. It's an alias for 'load -delay 1 -bsize 4 -wprot'.
When a file is loaded, GRMON will reset the memory controllers registers first.
eeload ?options...? filename ?address? ?cpu#?
The load command may be used to upload the file specified by filename. It will also try to disable write
protection on the memory core. 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
-binary
The -binary option can be used to force GRMON to interpret the file as a binary file.
-bsize bytes
The -bsize option may be used to specify the size blocks of data in bytes that will be written. Valid
value are 1, 2 or 4. Sizes 1 and 2 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.
RETURN VALUE
Command eeload returns the entry point.
EXAMPLE
Load and then verify a hello_world application
grmon3> eeload ../hello_world/hello_world
grmon3> verify ../hello_world/hello_world
SEE ALSO
Section 3.4.2, “Uploading application and data to target memory”