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;



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


is the desired number of memory spaces.


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


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 desired number of spaces.

Copyright © 2008-2010 ARM Limited. All rights reserved.ARM DUI 0444F