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.

Note

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.
Non-ConfidentialPDF file icon PDF versionARM DUI0371M
Copyright © 2007-2014 ARM. All rights reserved.