GRMON3-UM
June 2019, Version 3.1.0
215 www.cobham.com/gaisler
106. vwmemh - syntax
NAME
vwmemh - AMBA bus 16-bit virtual memory write access
SYNOPSIS
vwmemh ?options...? address data ?...?
DESCRIPTION
vwmemh ?options...? address data ?...?
Do an AMBA write access. GRMON will translate address to a physical address and write the 16-bit
value specified by data. If more than one data word has been specified, they will be stored at consecutive
physical addresses. If no MMU exists or if it is turned off, this command will behave like the command
vwmemh
NOTE: Only JTAG debug links supports byte accesses. Other debug links will do a 32-bit read-modi-
fy-write when writing unaligned data.
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
vwmemh has no return value.
EXAMPLE
Write 0xABCD to address 0x40000000 and 0x1234 to 0x40000004:
grmon3> vwmemh 0x40000000 0xABCD 0x1234
SEE ALSO
Section 3.4.7, “Displaying memory contents”
Section 3.4.14, “Memory Management Unit (MMU) support”