A.8.22. CADI::CADIMemGetSpaces()

It is recommended that the debugger call this after connecting to the target but before accessing any memory. The function identifies the number of independent address spaces available on the target. Use different memory spaces to separate distinct memory areas with overlapping address values (like program and data memory in a Harvard architecture).

virtual CADIReturn_t CADI::CADIMemGetSpaces(uint32_t startMemSpaceIndex, 
                                            uint32_t desiredNumOfMemSpaces,
                                            uint32_t *actualNumOfMemSpaces,
                                            CADIMemSpaceInfo_t *memSpaces) = 0;

where:

startMemSpaceIndex

is the index into the buffer of memory spaces present in the target.

desiredNumOfMemSpaces

is the required number of memory spaces.

actualNumOfMemSpaces

is the total number of memory spaces returned by the target.

memSpaces

is a list of memory spaces. The array is allocated, and deallocated if applicable, by the caller to be filled by the target. This space must be big enough to hold the required number of spaces.

Copyright © 2008-2014 ARM. All rights reserved.ARM DUI 0444M
Non-ConfidentialID051314