
GRMON3-UM
June 2019, Version 3.1.0
224
www.cobham.com/gaisler
115. wmem - syntax
NAME
wmem - AMBA bus 32-bit memory write access
SYNOPSIS
wmem ?
options...
?
address
data
?
...
?
DESCRIPTION
wmem ?
options...
?
address
data
?
...
?
Do an AMBA write access. The 32-bit value specified by
data
will be written to
address
. If more than
one data word has been specified, they will be stored at consecutive addresses.
OPTIONS
-bsize
bytes
The
-bsize
option may be used to specify the size blocks of data in bytes that will be written.
-wprot
Disable memory controller write protection during the write.
RETURN VALUE
wmem has no return value.
EXAMPLE
Write 0xABCD1234 to address 0x40000000 and to 0x40000004:
grmon3> wmem 0x40000000 0xABCD1234 0xABCD1234
SEE ALSO