GRMON3-UM
June 2019, Version 3.1.0
93 www.cobham.com/gaisler
5. at - syntax
NAME
at - Print AHB transfer entries in the trace buffer
SYNOPSIS
at ?length?
at subcommand ?args...?
DESCRIPTION
at ?length? ?devname?
Print the AHB trace buffer. The ?length? entries will be printed, default is 10.
at bp1 ?options? ?address mask? ?devname?
at bp2 ?options? ?address mask? ?devname?
Sets trace buffer breakpoint to address and mask. Available options are -read or -write.
at bsel ?bus? ?devname?
Selects bus to trace (not available in all implementations)
at delay ?cnt? ?devname?
Delay the stops the trace buffer recording after match.
at disable ?devname?
Stops the trace buffer recording
at enable ?devname?
Arms the trace buffer and starts recording.
at filter reads ?boolean? ?devname?
at filter writes ?boolean? ?devname?
at filter addresses ?boolean? ?address mask? ?devname?
Enable or disable filtering options if supported by the 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 at filter range.
at filter range ?address mask? ?devname?
Set the base address and mask that the AHB trace buffer will include if the address filtering is enabled.
at filter mmask mask ?devname?
at filter smask mask ?devname?
Set which AHB masters or slaves connected to the bus to exclude. (Only available in some DSU4 imple-
mentations)
at log ?devname?
Print the whole AHB trace buffer.
at status ?devname?
Print AHB trace buffer settings.
RETURN VALUE
Upon successful completion, at returns a list of trace buffer entries , on the same format as the command ahb. Each
entry is a sublist on the format format: {AHB time addr data rw trans size master lock resp irq
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 sub commands have no return value.
EXAMPLE
Print 10 rows
grmon3> at
TIME ADDRESS D[127:96] D[95:64] D[63:32] D[31:0] TYPE ...
266718 FF900004 00000084 00000084 00000084 00000084 read ...
266727 FF900000 0000000D 0000000D 0000000D 0000000D write ...