3.5.3. memWrite()

void memWrite(string memspace, int address, int value,int numberOfMAU=1)

Valid values for the memspace parameter are “Normal” and “Secure”.

Write a value in the specified memory space at the address specified in address. Value can be of type string or integer. The size of the access depends on the Minimum Addressable Unit (MAU) size which is the size of one word defined for that memory space.

Use the optional parameter numberOfMAU to specify how many MAUs are written in a single call. The default size for numberOfMAU is 1.


This command can cause a run-time error.

The function can only write 64 bits (8 bytes) at a time. To prevent a run-time error, the value of numberOfMAU * bytePerMAU must be less than 8.

Copyright © 2007-2011 ARM. All rights reserved.ARM DUI 0371J