5.2.1. Creating a new RealView ICE connection

This example defines a new RealView ICE connection. You can do this by creating a new connection entry or by copying an existing entry.

Note

If you copy a connection entry, certain configuration details are not updated until you close the Connection Properties window. This might mean that some asterisks are not immediately visible in the copy.

This example creates a new connection entry. It assumes that a correctly configured .rvc file exists for the new target and this has been saved in the default RealView ICE installation directory. If you do not have this file, you can follow the example but you must also follow the instructions in Configuring a RealView ICE interface unit before you can connect to the new target.

To define the new connection:

  1. Select Target ? Connection Properties... to display the Connection Properties window.

  2. Right-click on the CONNECTION=RealView-ICE entry, in the left pane.

  3. Select Make New... from the context menu.

  4. This displays the Group Type/Name selector dialog box, shown in Figure 5.3.

    Figure 5.3. Specifying a new CONNECTION group

    Specifying a new CONNECTION group

    Leave the type of the new entry unchanged as CONNECTION.

    In the Group Name data field change the name from RealView-ICE to something suitable for your target, using only alphanumeric characters, underscore _, and dash -, for example RealView-ICE_2.

    This can be a descriptive name or the name of the new .rvc file that you are going to select, but without the .rvc extension.

  5. Click OK to confirm your settings and to close the Group Type/Name selector dialog box.

    The new entry appears in the left pane of the Connection Properties window. It is automatically selected, and its details are displayed in the right pane. These details are the default for a new CONNECTION and you must change at least the Connect_with/Manufacturer, the Configuration filename and target Description. The next steps explain how to make these changes.

  6. In the right pane of the Connection Properties window, right-click on the Configuration entry and select Edit as Filename from the context menu.

    The Enter New Filename dialog box is displayed to enable you to locate the required .rvc file, for example RealView-ICE_2.rvc.

  7. Click Save to confirm your entries and to close the Enter New Filename dialog box.

    The new pathname is displayed in the right pane.

  8. In the right pane of the Connection Properties window, right-click on the Description field and select Edit Value from the context menu.

    Type RealView-ICE connection to test hardware board in the entry area and press Enter.

    This is the description displayed in the Connection Control window and Connection Properties window to identify the new target.

  9. In the right pane of the Connection Properties window, right-click on the Connect_with entry and select Explore from the context menu.

  10. In the right pane of the Connection Properties window, right-click on the Manufacturer entry and select the required connection type from the context menu, that is ARM-ARM-NW.

    If you do not specify this setting, the new connection appears in the Connection Control window but, when you try to connect, RealView Debugger prompts for the connection type.

  11. If you want the trace analyzer to be connected automatically when you connect to this target, you can define the analyzer settings. See Logic_Analyzer for more details.

    Expand the following entries in turn:

    1. CONNECTION=New_RealView_ICE_2

    2. Advanced_Information

    3. Default

  12. Select Logic_Analyzer in the left pane.

  13. Right-click on Vendor in the right pane, and select, for example, ARM from the context menu.

  14. If you want to configure other settings for your target, for example reference a specific .bcd file, make these changes now.

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

    Your new RealView ICE target is now displayed in the Connection Control window.

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