EasyManua.ls Logo

COBHAM GRMON3 - Ethernet Debug Link; JTAG Debug Link

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
53 www.cobham.com/gaisler
this case, use the -baud switch with the 57600 or 38400 options. Below is a list of start-up switches applicable
for the AHBUART debug link.
Extra options for UART debug link:
-uart <device>
By default, GRMON communicates with the target using the first uart port of the host. This can be over-
ridden by specifying an alternative device. Device names depend on the host operating system. On Linux
systems serial devices are named as /dev/tty## and on Windows they are named \\.\com#.
-baud <baudrate>
Use baud rate for the DSU serial link. By default, 115200 baud is used. Possible baud rates are 9600, 19200,
38400, 57600, 115200, 230400, 460800. Rates above 115200 need special uart hardware on both host and
target.
5.2. Ethernet debug link
If the target system includes a GRETH core with EDCL enabled then GRMON can connect to the system using
Ethernet. The default network parameters can be set through additional switches.
Extra options for Ethernet:
-eth [<ipnum>][:<port>]
Use the Ethernet connection and optionally use ipnum for the target system IP number and/or :port to
select which UDP port to use. Default IP address is 192.168.0.51 and port 10000.
-edclmem <kB>
The EDCL hardware can be configured with different buffer size. Use this option to force the buffer size (in
KB) used by GRMON during EDCL debug-link communication. By default the GRMON tries to autodetect
the best value. Valid options are: 1, 2, 4, 8, 16, 32, 64.
-edclus <us>
Increase the EDCL timeout before resending a packet. Use this option if you have a large network delays.
The default IP address of the EDCL is normally determined at synthesis time. The IP address can be changed
using the edcl command. If more than one core is present i the system, then select core by appending the name.
The name of the core is listed in the output of info sys.
Note that if the target is reset using the reset signal (or power-cycled), the default IP address is restored. The edcl
command can be given when GRMON is attached to the target with any interface (serial, JTAG, PCI ...), allowing
to change the IP address to a value compatible with the network type, and then connect GRMON using the EDCL
with the new IP number. If the edcl command is issued through the EDCL interface, GRMON must be restarted
using the new IP address of the EDCL interface. The current IP address is also visible in the output from info sys.
grmon3> edcl
Device index: greth0
Edcl ip 192.168.0.51, buffer 2 kB
grmon3> edcl greth1
Device index: greth1
Edcl ip 192.168.0.52, buffer 2 kB
grmon3> edcl 192.168.0.53 greth1
Device index: greth1
Edcl ip 192.168.0.53, buffer 2 kB
grmon3> info sys greth0 greth1
greth0 Cobham Gaisler GR Ethernet MAC
APB: FF940000 - FF980000
IRQ: 24
edcl ip 192.168.0.51, buffer 2 kbyte
greth1 Cobham Gaisler GR Ethernet MAC
APB: FF980000 - FF9C0000
IRQ: 25
edcl ip 192.168.0.53, buffer 2 kbyte
5.3. JTAG debug link
The subsections below describe how to connect to a design that contains a JTAG AHB debug link (AHBJTAG).
The following commandline options are common for all JTAG interfaces. If more than one cable of the same type

Table of Contents