5.6. Working with memory

Before you load an image, you might have to define memory settings. This depends on the debug target you are using to run your image. For example, if you are using the default RVISS to simulate an ARM processor, setting the value of top_of_memory is not appropriate and a default value is used (0x80000).

Where appropriate, defining memory gives you full access to all the memory on your debug target. RealView Debugger enables you to do this in different ways, for example using an include file, or defining the memory map as part of your target configuration settings. For full details of these options, see the chapter that describes memory mapping in RealView Debugger v1.8 User Guide.


In the example in this section, you set up memory manually for the current session. Target memory settings defined in this way are only temporary and are lost when you exit RealView Debugger. You can permanently set top_of_memory using the Connection Properties window. Configure your debug target so that this setting is used whenever you connect. See the chapter that describes configuring custom targets in RealView Debugger v1.8 Target Configuration Guide for an example of how to do this.

This section describes how to set up memory:

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0181G