
GRMON3-UM
June 2019, Version 3.1.0
88
www.cobham.com/gaisler
2. ahb - syntax
NAME
ahb - Print AHB transfer entries in the trace buffer
SYNOPSIS
ahb ?
length
?
ahb subcommand ?
args...
?
DESCRIPTION
ahb ?
length
?
Print the AHB trace buffer. The ?
length
? entries will be printed, default is 10.
ahb break
boolean
Enable or disable if the AHB trace buffer should break the CPU into debug mode. If disabled it will freeze
the buffer and the CPU will continue to execute. Default value of the boolean is true.
ahb force ?
boolean
?
Enable or disable the AHB trace buffer even when the processor is in debug mode. Default value of the
boolean is true.
ahb performance ?
boolean
?
Enable or disable the filter on the signals connected to the performance counters, see “LEON3 Statistics
Unit (L3STAT)” and “LEON4 Statistics Unit (L4STAT)”. Only available for DSU3 version 2 and above,
and DSU4.
ahb timer ?
boolean
?
Enable the timetag counter when in debug mode. Default value of the boolean is true. Only available for
DSU3 version 2 and above, and DSU4.
ahb delay
cnt
If
cnt
is non-zero, the CPU will enter debug-mode after delay trace entries after an AHB watchpoint was
hit.
ahb filter reads ?
boolean
?
ahb filter writes ?
boolean
?
ahb filter addresses ?
boolean
? ?
address mask
?
Enable or disable filtering options if supported by the DSU core. When enabling the addresses filter, the
second AHB breakpoint register will be used to define the range of the filter. Default value of the boolean
is true. If left out, then the address and mask will be ignored. They can also be set with the command ahb
filter range. (Not available in all implementations)
ahb filter range
address mask
Set the base
address
and
mask
that the AHB trace buffer will include if the address filtering is enabled.
(Only available in some DSU4 implementations).
ahb filter bwmask
mask
ahb filter dwmask
mask
Set which AHB bus/data watchpoints that the filter will affect.
ahb filter mmask
mask
ahb filter smask
mask
Set which AHB masters or slaves connected to the bus to exclude. (Only available in some DSU4 imple-
mentations)
ahb status
Print AHB trace buffer settings.
RETURN VALUE
Upon successful completion, ahb returns a list of trace buffer entries. Each entry is a sublist on the format format:
{
AHB
time
addr
data
rw
trans
size
master
lock
resp
bp
}. The data field is a sublist of 1,2 or 4
words with MSB first, depending on the size of AMBA bus. Detailed description about the different fields can be
found in the DSU core documentation in document grip.pdf. [http://gaisler.com/products/grlib/grip.pdf]
The other subcommands have no return value.
Содержание 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...