3.11.1. Setting a generic connection sequence for a Debug Configuration

If you want to connect to all targets of a Debug Configuration in a specific sequence, then you can specify this sequence using the generic Pre_connect setting for that configuration.

To specify the generic connection sequence for a Debug Configuration:

  1. Select Target → Connect to Target... from the Code window main menu to open the Connect to Target window.

  2. Locate the required Debug Configuration:

    1. Select Configuration from the Grouped By list.

    2. Expand the Debug Interface containing the Debug Configuration of interest. For this example, expand RealView ICE.

    3. Make sure that all targets are disconnected on the Debug Configuration.

  3. Right-click on the required Debug Configuration to display the context menu. For example, right-click on RealView-ICE.

  4. Select Properties... from the context menu to open the Connection Properties dialog box.

  5. Click the Advanced button to open the Connection Properties window.

    The settings group for the Debug Configuration entry is selected, and the contents are displayed in the right pane.

  6. Add each target to the Pre_connect sequence:

    1. In the right pane, right-click on the black Pre_connect setting to display the context menu.

    2. Select Edit Value... from the context menu.

    3. Enter the name of the target. A new Pre_connect setting is added for the target, colored blue.

      Note

      The target name must be the full name that appears in the Connect to Target window for the Debug Configuration, for example, ARM940T_1.

    4. Repeat these steps for each target to be added.

    Note

    You must add the targets in the reverse order that they are to connect. However, you can change the order if required.

  7. Select File → Save and Close from the menu to save your changes and close the Connection Properties window.

  8. Click the OK button to close the Connection Properties dialog box.

Example connection sequence with multiple processors

For example, your development platform might have the processors ARM920T™, ARM940T, and ARM966EJ-S™. These might be shown as ARM920T_0, ARM940T_1, and ARM966EJ-S_2 in the Connect to Target window. Therefore, if you want to make sure that the processors are connected in the order ARM966EJ-S, ARM920T, and ARM940T, then you must specify the Pre_connect sequence for a Debug Configuration in the order ARM940T_1, ARM920T_0, and ARM966EJ-S_2.

How RealView Debugger connects to the targets depends on the target you attempt to connect first. Table 3.5 summarizes the connect sequence for this example.

Table 3.5. Connect sequence using the generic Pre_connect setting

Target you try to connect toTarget connect sequence
ARM920TARM966EJ-S ARM920T
ARM940TARM966EJ-S ARM920T ARM940T
ARM966EJ-SARM966EJ-S
Connect all operationARM966EJ-S ARM920T ARM940T

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0182N
Non-ConfidentialID052111