3.6.1. Configuring connect mode

The difference between configuring the connect mode for a connection through DSTREAM or RealView ICE is the Debug Interface that you use. The following procedure uses the RealView ICE Debug Interface as an example.

To configure connect mode for any hardware debug target:

  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. Expand the following entries in turn:

    1. CONNECTION=RealView-ICE

    2. Advanced_Information

  7. Select the Default group.

    Note

    You can also configure a target-specific connect mode by creating target-specific Advanced_Information groups.

  8. Right-click on the Connect_mode setting in the right pane to display the context menu.

    The connection options on the context menu are fixed, and so might include options that are not supported by your Debug Interface. If you specify such an option, the debugger prompts you to select an appropriate connection mode when you try to connect.

  9. Select the required disconnect mode (see Connect_mode). For example, select no_reset_and_no_stop so that the target processor is not reset when you connect. The running state of the target is unchanged.

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

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

Considerations for DSTREAM or RealView ICE

For connections through DSTREAM or RealView ICE, what happens when a processor comes out of reset depends on the combination of:

  • the RealView Debugger connection mode

  • the Default Post Reset State setting in the RVConfig utility.

Table 3.1 summarizes this action.

Table 3.1. Action performed after reset

Connection modeAction performed after reset
Reset and StopStops the target.
Reset and No StopTarget state determined by the RVConfig Default Post Reset State setting.
No Reset and StopSpecified by the RealView Debugger connect_mode setting or Connect Mode on the Connect to Target window.
No Reset and No StopSpecified by the RealView Debugger connect_mode setting or Connect Mode on the Connect to Target window.

See also

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