3.3.1. Configuring by scanning all run control units

This section describes how to configure the network settings for your RealView ICE run control unit by scanning for all available run control units. You can also configure your run control unit by specifying its Ethernet address, as described in Configuring using an Ethernet address.

The configuration process consists of the following steps:

  1. Scanning for your RealView ICE run control unit

  2. Identifying and selecting your RealView ICE run control unit

  3. Configuring your RealView ICE run control unit.

Scanning for your RealView ICE run control unit

Click Scan to scan for run control units that are connected to your local network. The Scan button becomes animated to indicate that a scan is in progress. When RealView ICE finds a unit, it adds it to the list of available units, as shown in Figure 3.1.

If you want to stop scanning, click Scan. You can click Scan again at any time to force a rescan of available RealView ICE units and update the list.

Note

If you are using DHCP, RealView ICE scans for a DHCP server during the first minute after rebooting. During this period, the Scan tool cannot locate the unit. If the unit is unable to obtain its IP address from a DHCP server, it appears in the RealView ICE Config IP dialog box with the address 127.0.0.2.

If you want the RealView ICE run control unit to try again to obtain its IP settings from a DHCP server, you must first reboot the unit.

Note

The number of active connections shown in the RVI Config IP dialog box might be more than the number of active users, because each user might have multiple active connections. For example, the RealView ICE connection and the RealView Trace connection are both displayed as active connections, or a device might be listed under both USB and TCP/IP if it is accessible by both methods.

Troubleshooting

This section describes problems you might encounter when attempting to connect to a RealView ICE unit, and what you can do to solve them:

Multiple programs attempting to scan

Only one program can scan the TCP/IP network or USB ports for available RealView ICE units. If another program is scanning, for example the RVConfig dialog box in RealView Debugger (see Using the RVConfig dialog box), the RVI Config IP application displays the error message shown in Figure 3.2.

Figure 3.2. Error message when another program is browsing

Error message when another program is browsing

You must stop one of the programs from scanning. To do this, click Scan, or select Stop Scan from the RVI menu in the application that you want to stop scanning.

USB server not accessible

If the USB server is not accessible, the error message shown in Figure 3.3 appears:

Figure 3.3. Error message when no USB devices present

Error message when no USB devices present

This indicates a problem with your RealView ICE installation. Click OK. If you do not want to connect to any devices over a USB connection, you can continue using RealView ICE over only TCP/IP connections. If you want to connect to a device using USB, you must reinstall RealView ICE. If the error persists, there might be a problem with your operating system.

Connection times out

The default timeout for establishing a TCP/IP connection is 5 seconds. If you repeatedly get timeouts when attempting to connect to a RealView ICE run control unit, you can change this setting. To do this:

  1. If the environment variable RVI_COMMS_CONNECT_TIMEOUT does not already exist, then create it.

  2. Set the value of this variable to the timeout that you want, in seconds. This must be an integer in the range 0-120.

For details of how to create and set an environment variable, see the documentation for the operating system that is supplied with your host computer.

Other active connections

If you connect to a RealView ICE run control unit that has other active connections, the RVI Config IP application displays the error message shown in Figure 3.4.

Figure 3.4. Error when other connections are active

Error when other connections are active

If you continue, the changes that you make might interfere with the correct operation of these applications. Do one of the following:

  • ensure that the other applications are disconnected, and then click Yes to continue using the RealView ICE Config IP application

  • click No to stop using the RealView ICE Config IP application, and try again later.

Identifying and selecting your RealView ICE run control unit

To identify and select your RealView ICE run control unit from the list of units found, do one of the following:

  • Determine the Ethernet address of your run control unit by reading the label on the side of the unit. Find the entry in the list that has the same Ethernet address, and select it.

  • Select an entry in the list and click the Identify tool:

    • If the four LEDs JTAG, STAT, CFAC and LVDS on your interface (shown in Figure 3.5) flash for 5 seconds, you have selected its entry.

      Figure 3.5. The identification LEDs


    • Otherwise, select another entry and try again.

Configuring your RealView ICE run control unit

When you have selected your RealView ICE run control unit, you must configure it to use the network settings that you previously determined (see Determining the correct network settings):

  1. Click the Configure tool. The Configure RealView ICE device dialog box appears. See Figure 3.6.

    Figure 3.6. The Configure RealView ICE device dialog box

    The Configure RealView ICE device dialog box

  2. If you are using DHCP, select DHCP. Otherwise, deselect DHCP.

  3. Enter the hostname in the Host Name field. This must contain only the alphanumeric characters (A-Z, a-z, and 0-9) and the - character, and must be no more than 255 characters long.

  4. If you are not using DHCP, enter the required details in the following fields:

    • IP Address

    • Default Gateway

    • Subnet Mask.

    Note

    If you are using DHCP, you do not have to type these settings, because they are allocated from a DHCP server on your network.

  5. Set the required Ethernet Type:

    • if you know the type of network that you are using, select that type

    • otherwise, select Auto-Detect.

  6. Click Configure.

    The RealView ICE run control unit restarts. While it is restarting, it is not present in the list of units. When it has restarted, it re-appears in the list of units, with its new network settings.

    Note

    If the RealView ICE run control unit is using DHCP, the list of units might display its IP Address as 127.0.0.2. This is a dummy address that the run control unit uses when it fails to obtain an IP address from the DHCP server.

    The list of units shows the correct address if the DHCP server has assigned it.

Copyright © 2002, 2004-2008 ARM Limited. All rights reserved.ARM DUI 0155J
Non-Confidential