3.5.4. memRead()

int memRead(string memspace, int address,int numberOfMAU=1)

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

Read a value from the specified memory space at the address specified in address. Returns the integer value. 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 read in a single call. The default size for numberOfMAU is 1.


This command can cause a run-time error.

The function can only read 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