| |||
| Home > Configuring Custom Targets > Using RealMonitor > Using RealMonitor with Multi-ICE | |||
This section describes how to set up RealView Debugger with Multi-ICE to run a RealMonitor-integrated application.
Debugging a RealMonitor-integrated application with Multi-ICE requires that you connect with the RMHost controller while the program is running. To debug a RealMonitor-integrated application with Multi-ICE you must perform the following sequence of actions:
Configure RealMonitor to use Multi-ICE:
If you are using the Multi-ICE server with RMHost, make sure that it is not autoconfigured because this causes the target to be reset and disrupts any running program. See ARM RMHost User Guide for more details on configuring Multi-ICE server with RMHost.
Select Target ? Connect to Target... to display the Connection Control window, shown in Figure 3.20.
Where you have installed RealMonitor, the RealMonitor.dll is
autodetected by RealView Debugger and appears as a target in the Connection
Control window. If it is not visible, see Adding and configuring RDI targets for details on how to add this DLL to
your list of RDI targets.
Expand the RealMonitor entry.
The entry expands and the relevant processor name entry is displayed.
Right-click on the RealMonitor entry
and select Configure Device Info... from
the context menu. Use the configuration dialog box to configure
RealMonitor to use Multi-ICE. Ensure that the JTAG Controller settings
points to the Multi-ICE DLL. See Configuring ARM RealMonitor for details.
Click OK to close the RealMonitor configuration dialog box.
To use RealMonitor, you must modify the connection details. To do this:
Select Target ? Connect to Target... to display the Connection Control window.
Right-click on the RealMonitor entry
to display the Connection Properties window, shown in Figure 3.21.
Expand the following entries in turn:
CONNECTION=RealMonitor
Advanced_Information
Default
ARM_config
Click Default in the left pane,
and set Connect_mode to no_reset_and_no_stop.
Select File ? Save and Close to save your changes and close the Connection Properties window.
Typically, RealMonitor resides in Flash or ROM. However, if you have to upload your image, you must:
Create a standard connection to upload the image to the target and set it running:
for details on how to create a standard connection, see Connecting to a target.
for details on how to load an image, see the chapter that describes working with images in the RealView Debugger v1.8 User Guide.
Use the RealMonitor connection you configured in Configuring the connection that is to use RealMonitor.