EasyManua.ls Logo

COBHAM GRMON3 - LEON2 Support; Switches; On-Chip Logic Analyzer Driver

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
71 www.cobham.com/gaisler
Counters are disabled when polling stops
l4stat runpoll is only supported for uninterrupted run. Commands like bp and cont may disrupt measure-
ments.
If the L4STAT core has two APB interfaces, initialize it via the interface to which traffic causes the least
disturbance to other system bus traffic.
6.12. LEON2 support
A LEON2 system has a fixed set of IP cores and address mapping. GRMON will use an internal plug and play table
that describes this configuration. The plug and play table used for LEON2 is fixed, and no automatic detection of
present cores is attempted. Only those cores that need to be initialized by GRMON are included in the table, so
the listing might not correspond to the actual target.
By default, GRMON will enable the UART receivers and transmitters for the AT697E/F by setting the correspond-
ing bits in the IODIR register to output. This can be disabled by providing the commandline switch -at697-
nouart, GRMON will then reset the IODIR to inputs on all bits.
6.12.1. Switches
-sys at697
-sys at697e
Disable plug and play scanning and configure GRMON for an AT697E system
-sys at697f
Disable plug and play scanning and configure GRMON for an AT697F system
-at697-nouart
Disable GPIO alternate UART function. When this is set, GRMON will reset the GPIO dir register bits to
input. By default GRMON will setup the GPIO dir register to enable both UARTs for the AT697E/F.
-sys agga4
Disable plug and play scanning and configure GRMON for an AGGA4 system
-agga4-nognss
Disable the built-in support for the GNSS core to make sure that GRMON never makes any accesses to the
core. This flag should be used if no clock is provided to the GNSS core.
-sys leon2
Disable plug and play scanning and configure GRMON for a LEON2 system
6.13. On-chip logic analyzer driver
The LOGAN debug driver contains commands to control the LOGAN on-chip logic analyzer core. It allows to set
various triggering conditions and to generate VCD waveform files from trace buffer data.
The LOGAN core is accessed using the command la, see command description in Appendix B, Command syntax
for more information.
The LOGAN driver can create a VCD waveform file using the la dump command. The file setup.logan is
used to define which part of the trace buffer belong to which signal. The file is read by the debug driver before a
VCD file is generated. An entry in the file consists of a signal name followed by its size in bits separated by white-
space. Rows not having these two entries as well as rows beginning with an # are ignored. GRMON will look for
the file in the current directory. I.e. either start GRMON from the directory where setup.logan is located or
use the Tcl command cd, in GRMON, to change directory.
Example 6.3.
#Name Size
clk 1
seq 14
edclstate 4
txdstate 5
dataout0 32
dataout1 32
dataout2 32
dataout3 32
writem 1
writel 1
nak 1
lock 1

Table of Contents