
GRMON3-UM
June 2019, Version 3.1.0
144
www.cobham.com/gaisler
50. info - syntax
NAME
info - GRMON extends the TCL command info with some subcommands to show information about the system.
SYNOPSIS
info subcommand ?
args...
?
DESCRIPTION
info drivers
List all available device-drivers
info mkprom2
List the most basic mkprom2 commandline switches. GRMON will print flags to use the first GPTIMER
and IRQMP controller and it will use the same UART for output as GRMON (see Section 3.9, “Forwarding
application console I/O”). I.a. it will produce switches for all memory controllers found. In case that there
exist more the one controller it's up to the user make sure that only switches belonging to one controller
are used.
info reg ?
options
? ?
dev
?
Show system registers. If a device name is passed to the command, then only the registers belonging to
that device is printed. The device name can be suffixed with colon and a register name to only print the
specified register.
If option
-v
is specified, then GRMON will print the field names and values of each registers. If a debug
driver doesn't support this feature, then the register value is printed instead.
Setting
-l
will print the name of the registers, that can be used to access the registers via TCL variables.
It also returns a list of all the register names. No registers values will be read.
Setting
-a
will also return the address in the list of all the register names. Will only have an effect if -
l is also set.
Setting
-d
will also return the description in the list of all the register names. Will only have an effect if
-l is also set.
Enabling
-all
will print all registers. Normally only a subset is printed. This option may print a lot of
registers. I could also cause read accesses to FIFOs.
info sys ?
options
? ?
dev ...
?
Show system configuration. If one or more device names are passed to the command, then only the infor-
mation about those devices are printed.
If option
-v
is specified, then GRMON will print verbose information about the devices.
The option
-xml <file>
can be used to print a xml description of the system to a file instead of printing
information on the screen.
RETURN VALUE
info drivers has no return value.
info mkprom2 returns a list of switches.
The command info reg returns a list of all registers if the
-l
is specified. If both options
-l
and
-v
have been
entered it returns a list where each element is a list of the register name and the name of the registers fields.
Otherwise it has no return value.
Upon successful completion info sys returns a list of all device names.
For other info subcommands, see TCL documentation.
Содержание 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...