| |||
| 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 the 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 2.19.
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.
Right-click on the RealMonitor Target
Access to display the context menu.
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.
Click OK to close the RealMonitor Configuration dialog box.
To use RealMonitor, you must modify the details of the connection that is to use RealMonitor. To do this:
Select Target ? Connect to Target... to display the Connection Control window.
Right-click on the RealMonitor Target
Access to display the context menu.
Select Properties... from the context menu to display the Connection Properties window, shown in Figure 2.20.
Expand the following entries in turn:
CONNECTION=RealMonitor
Advanced_Information
Default
ARM_config
Select Default in the left pane.
In the right pane, 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 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.