
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
Show information about GRMON
Print AHB transfer entries in the trace buffer
Stop execution and attach GRMON to processor again
Print AHB transfer entries in the trace buffer
Add, delete or list breakpoints
Print backtrace
Display or set cache control register
Continue execution
Enable, disable CPU or select current active cpu
Show, enable or disable data cache
Display or set data cache configuration register
Resume execution with GRMON detached from processor
Error injection
Set entry point
Display FPU registers
Control I\/O forwarding
Start execution without any initialization
Print AHB transfer or intruction entries in the trace buffer
Show, enable or disable instruction cache
Display or set instruction cache configuration register
Print intruction entries in the trace buffer
Print leon specific registers
Print or set the SRMMU registers
Measure performance
Enable, disable or show simple profiling
Show or set integer registers.
Reset and start execution
Set or show the intial stack-pointer
Step one ore more instructions