EasyManua.ls Logo

COBHAM GRMON3 - Page 99

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
99 www.cobham.com/gaisler
-write
This option will enable a watchpoint to only watch stores at the specified address. The -read and -write
are mutual exclusive.
-addr address mask
This option will combine an AMBA data watchpoint with a a bus watchpoint so it will only trigger if a
value is read accessed from a certain address range.
-invert
The AMBA data watchpoint will trigger of value is NOT set.
--
End of options. This might be needed to set if value the first parameter after the options is negative.
RETURN VALUE
Command bp returns an breakpoint id when adding a new breakpoint.
When printing all breakpoints, a list will be returned containing one element per breakpoint. Each element has
the format: {ID ADDR MASK TYPE ENABLED CPU SYMBOL {DATA INV DATAMASK}}. AMBA watch-
points and AMBA data watchpoints will only have associated CPUs if has a symbol. The last subelement is only
valid for AMBA data watchpoints.
EXAMPLE
Create a software breakpoint at the symbol main:
grmon3> bp soft main
Create a AMBA bus watchpoint that watches loads in the address range of 0x40000000 to 0x400000FF:
grmon3> bp bus -read 0x40000000 0xFFFFFF00
SEE ALSO
Section 3.4.4, “Inserting breakpoints and watchpoints”

Table of Contents