3.5.2. Using RealMonitor with Multi-ICE

This section describes how to set up RealView Debugger with Multi-ICE to run a RealMonitor-integrated application.

Procedure summary

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:

Configuring RealMonitor to work with Multi-ICE

Configure RealMonitor to use Multi-ICE:

  1. 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.

  2. Select Target ? Connect to Target... to display the Connection Control window, shown in Figure 3.20.

    Figure 3.20. RealMonitor in the Connection Control window

    RealMonitor in the Connection Control window

    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.

  3. Expand the RealMonitor entry.

    The entry expands and the relevant processor name entry is displayed.

  4. 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.

  5. Click OK to close the RealMonitor configuration dialog box.

Configuring the connection that is to use RealMonitor

To use RealMonitor, you must modify the connection details. To do this:

  1. Select Target ? Connect to Target... to display the Connection Control window.

  2. Right-click on the RealMonitor entry to display the Connection Properties window, shown in Figure 3.21.

    Figure 3.21. RealMonitor connection properties

    RealMonitor connection properties
  3. Expand the following entries in turn:

    1. CONNECTION=RealMonitor

    2. Advanced_Information

    3. Default

    4. ARM_config

  4. Click Default in the left pane, and set Connect_mode to no_reset_and_no_stop.

  5. Select File ? Save and Close to save your changes and close the Connection Properties window.

Loading an image before using RealMonitor

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.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0182G
Non-Confidential