NOEL-ARTYA7-EX-QSG
December 2020, Version 1.2
9
www.cobhamaes.com/gaisler
4.4. Debug-link alternatives
4.4.1. Connecting via the Digilent USB/JTAG interface
Please see GRMON User's Manual for information on how to set up the required Digilent Adept driver software.
Then connect the PC and the board using a standard USB cable into the USB-mini J10 USB-JTAG connector and
issue the following command:
grmon -digilent
4.4.2. Connecting via the Ethernet debug interfaces
If another address is wanted for the Ethernet debug link then one of the other debug links must be used to connect
GRMON to the board. The EDCL IP address can then be changed using GRMON's edcl command. This new
address will persist until next system reset.
With the Ethernet Debug Communication Link 0 address set to 192.168.0.51 the GRMON command to connect
to the board is:
grmon -eth 192.168.0.51
4.4.3. Connecting via the serial UART
Make sure the switch SW[3] is selecting the UART debug link. Please see GRMON User's Manual for instructions
how to connect GRMON to a board using a serial UART connection. The PC is connected using a standard USB
cable to serial converter) to the USB-mini J10 connector and then starting GRMON without debug-link option
(default is UART) or by specifying which PC UART using the
-uart COMPORT_NAME
command line switch.
For example:
grmon -uart /dev/ttyUSB0
4.5. First steps
The previous sections have described which debug-links are available and how to start using them with GRMON.
The subsections below assume that GRMON, the host computer and the NOEL-ARTYA7-EX board have been
set up so that GRMON can connect to the board.
When connecting to the board for the first time it is recommended to get to know the system by inspecting the
current configuration and hardware present using GRMON. With the info sys command more details about the
system is printed and with info reg the register contents of the I/O registers can be inspected. Below is a list of
items of particular interest:
• AMBA system frequency is printed out at connect, if the frequency is wrong then it might be due to noise in
auto detection (small error). See
-freq
flag in the GRMON User's Manual [RD-2].
• Memory location and size configuration is found from the info sys output.
• If the Ethernet debug link is present, one can view and change the EDCL IP using the edcl command as
described in the GRMON User's Manual [RD-2].
4.6. Connecting to the board
In the following example a JTAG debug link is used to connect to the board. The auto-detected frequency, memory
parameters and stack pointer are verified by looking at the GRMON terminal output below.
grmon -digilent
GRMON version: v3.2.8.3-101-gf451057 internal version
OS: Linux
Command line: grmon -digilent -jtagcable 2
GRMON debug monitor v3.2.8.3-101-gf451057 64-bit internal version
Copyright (C) 2020 Cobham Gaisler - All rights reserved.
For latest updates, go to http://www.gaisler.com/
Comments or bug-reports to [email protected]
This internal version will expire on 27/11/2021