EasyManua.ls Logo

COBHAM GRMON3 - Tcl Variables; Ethernet Controller; Commands; GRPWM Core

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
66 www.cobham.com/gaisler
stop Interrupts current CPU execution
tmode Select tracing mode between none, processor-only, AHB only or both.
va Translate a virtual address
vmemb AMBA bus 8-bit virtual memory read access, list a range of addresses
vmemh AMBA bus 16-bit virtual memory read access, list a range of addresses
vmem AMBA bus 32-bit virtual memory read access, list a range of addresses
vwmemb AMBA bus 8-bit virtual memory write access
vwmemh AMBA bus 16-bit virtual memory write access
vwmems Write a string to an AMBA bus virtual memory address
vwmem AMBA bus 32-bit virtual memory write access
walk Translate a virtual address, print translation
6.3.3. Tcl variables
The DSU driver exports one Tcl variable per CPU (cpuN), they allow the user to access various registers of
any CPU instead of using the standard reg, float and cpu commands. The variables are mostly intended for Tcl
scripting. See Section 3.4.12, “Multi-processor support” for more information how the cpu variable can be used.
6.4. Ethernet controller
The GRETH debug driver provides commands to configure the GRETH 10/100/1000 Mbit/s Ethernet controller
core. The driver also enables the user to read and write Ethernet PHY registers. The info sys command displays
the core’s configuration settings:
greth0 Cobham Gaisler GR Ethernet MAC
AHB Master 2
APB: C0100100 - C0100200
IRQ: 12
edcl ip 192.168.0.201, buffer 2 kbyte
If more than one GRETH core exists in the system, it is possible to specify which core the internal commands
should operate on. This is achieved by appending a device name parameter to the command. The device name is
formatted as greth# where the # is the GRETH device index. If the device name is omitted, the command will
operate on the first device. The device name is listed in the info sys information.
The IP address must have the numeric format when setting the EDCL IP address using the edcl command, i.e. edcl
192.168.0.66. See command description in Appendix B, Command syntax and Ethernet debug interface in
Section 5.2, “Ethernet debug link” for more information.
6.4.1. Commands
The driver for the greth core provides the commands listed in Table 6.2.
Table 6.2. GRETH commands
edcl Print or set the EDCL ip
mdio Show PHY registers
phyaddr Set the default PHY address
wmdio Set PHY registers
6.5. GRPWM core
The GRPWM debug driver implements functions to report the available PWM modules and to query the waveform
buffer. The info sys command will display the available PWM modules.
grpwm0 Cobham Gaisler PWM generator
APB: 80010000 - 80020000

Table of Contents