GRMON3-UM
June 2019, Version 3.1.0
221 www.cobham.com/gaisler
112. wmemb - syntax
NAME
wmemb - AMBA bus 8-bit memory write access
SYNOPSIS
wmemb ?options...? address data ?...?
DESCRIPTION
wmemb ?options...? address data ?...?
Do an AMBA write access. The 8-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.
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
wmemb has no return value.
EXAMPLE
Write 0xAB to address 0x40000000 and 0xBC to 0x40000001:
grmon3> wmemb 0x40000000 0xAB 0xBC
SEE ALSO
Section 3.4.7, “Displaying memory contents”