Memory region attributes allow you to describe special handling required by regions of your target's memory. uses attributes to determine whether to allow certain types of memory accesses; whether to use specific width accesses; and whether to cache target memory.
Defined memory regions can be individually enabled and disabled. When a memory region is disabled, uses the default attributes when accessing memory in that region. Similarly, if no memory regions have been defined, uses the default attributes when accessing all memory.
When a memory region is defined, it is given a number to identify it; to enable, disable, or remove a memory region, you specify that number.
mem address1 address1 attributes...
delete mem nums...
disable mem nums...
enable mem nums...
info mem
The access mode attributes set whether may make read or write accesses to a memory region.
While these attributes prevent from performing invalid memory accesses, they do nothing to prevent the target system, I/O DMA, etc. from accessing memory.
ro
wo
rw
The acccess size attributes tells to use specific sized accesses in the memory region. Often memory mapped device registers require specific sized accesses. If no access size attribute is specified, may use accesses of any size.
8
16
32
64
The data cache attributes set whether will cache target memory. While this generally improves performance by reducing debug protocol overhead, it can lead to incorrect results because does not know about volatile variables or memory mapped device registers.
cache
nocache (default)
Go to the first, previous, next, last section, table of contents.