4.3.2. Using RealView Debugger

As an alternative to Model Debugger, you can debug your model using RealView® Debugger version 3.1 or later. See the following sections for more information on the ways that you can connect to your model:

Further information on how to use RealView Debugger is provided elsewhere. See the RealView Debugger User Guide.

Note

You must not connect to more than one virtual platform model or RTSM at any one time in RealView Debugger. If you do, you might experience unexpected behavior, including crashes.

Starting model as an RTSM connection

You can add your model to the RealView Debugger Connect to Target window under the Real-Time System Model (RTSM) debug interface configuration.

  1. In RealView Debugger, click Target → Connect to Target... to open the Connect to Target window.

  2. Click the Add button beside the Real-Time System Model (RTSM) debug interface name. This opens the Model Configuration Utility window. Click the Browse... button to open a file browser for locating your model .dll or .so file.

  3. Select the model to use in the Models pane on the left side of the Model Configuration Utility. Configure the device parameters if required by selecting the device in the upper right Devices pane, and setting the parameters in the lower right Parameters pane. When you have finished, or if no parameters require configuration, click OK.

  4. In the RealView Debugger Connect to Target window, double click on your newly-created target to connect to it. If you are grouping targets by Configuration, expand the target connection tree view to see your target instance. Connecting to a target opens a CLCD window, where you can, for example, enable Tortoise before loading an image.

Connecting to a running model using RealView Debugger

You can use RealView Debugger® to connect to an already running Model Shell instance. You can make multiple debugger connections to a single model instance.

  1. Start Model Shell, if it is not already running. See Batch mode debugging.

  2. In RealView Debugger, click Connect to Target... from the Target menu to open the Connect to Target window.

  3. Click the Add button beside the debug interface name. The debugger detects any running CADI servers and displays them in a pop-up window. Click OK.

  4. In the RealView Debugger Connect to Target window, double click on your newly-created SoC Designer target to connect to it.

    Note

    You cannot define instantiation-time parameters at connection time because the model is already running.

Copyright © 2007-2009 ARM Limited. All rights reserved.ARM DUI 0370H
Non-Confidential