GRMON3-UM
June 2019, Version 3.1.0
65 www.cobham.com/gaisler
-nswb
When the -nswb flag is set, the CPUs will not go into debug mode when a software breakpoint occur. This
option is required when a native software debugger like GDB is running on the target LEON.
-dsudelay <ms>
Set the DSU polling period. Normally GRMON will poll the DSU as fast as possible.
-nic
Disable instruction cache
-ndc
Disable data cache
-stack <addr>
Set addr as stack pointer for applications, overriding the auto-detected value.
-mpgsz
Enable support for MMU page sizes larger then 4kB. Must be supported by hardware.
6.3.2. Commands
The driver for the debug support unit provides the commands listed in Table 6.1.
Table 6.1. DSU commands
about Show information about GRMON
ahb Print AHB transfer entries in the trace buffer
attach Stop execution and attach GRMON to processor again
at Print AHB transfer entries in the trace buffer
bp Add, delete or list breakpoints
bt Print backtrace
cctrl Display or set cache control register
cont Continue execution
cpu Enable, disable CPU or select current active cpu
dcache Show, enable or disable data cache
dccfg Display or set data cache configuration register
detach Resume execution with GRMON detached from processor
ei Error injection
ep Set entry point
float Display FPU registers
forward Control I\/O forwarding
go Start execution without any initialization
hist Print AHB transfer or intruction entries in the trace buffer
icache Show, enable or disable instruction cache
iccfg Display or set instruction cache configuration register
inst Print intruction entries in the trace buffer
leon Print leon specific registers
mmu Print or set the SRMMU registers
perf Measure performance
profile Enable, disable or show simple profiling
reg Show or set integer registers.
run Reset and start execution
stack Set or show the intial stack-pointer
step Step one ore more instructions