2.6.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 the 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 2.19.

    Figure 2.19. 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. Right-click on the RealMonitor Target Access to display the context menu.

  4. Select Configure... from the context menu.

    The RealMonitor Configuration dialog box is displayed.

    Use the RealMonitor Configuration dialog box to configure RealMonitor to use Multi-ICE. Make sure 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 details of the connection that is to use RealMonitor. To do this:

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

  2. Right-click on the RealMonitor Target Access to display the context menu.

  3. Select Properties... from the context menu to display the Connection Properties window, shown in Figure 2.20.

    Figure 2.20. RealMonitor connection properties

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

    1. CONNECTION=RealMonitor

    2. Advanced_Information

    3. Default

    4. ARM_config

  5. Select Default in the left pane.

  6. In the right pane, set Connect_mode to no_reset_and_no_stop.

  7. 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 the RealView Debugger v3.0 User Guide.

    • for details on how to load an image, see the chapter that describes loading images and binaries in the RealView Debugger v3.0 User Guide.

  • Use the RealMonitor connection you configured in Configuring the connection that is to use RealMonitor.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0182H
Non-Confidential