5.13.1. Setting disconnect mode

You can control the way a target processor is left after you disconnect. This is particularly useful when debugging multiprocessor debug targets and working with multiple threads. In single processor debugging mode, you might want to leave an image executing but close down RealView Debugger.

If you are connected, you can set the disconnect mode. To do this:

  1. Select Target ? Disconnect (Defining Mode)....

  2. Select the required state from the Disconnect Mode selection box.

    The options listed depend on your target vehicle, for example, when connected using RealView ARMulator ISS, the only disconnect option available is As-is with Debug.

  3. Click OK to disconnect and leave the processor in the required state.

Note

If you click Cancel, the disconnection continues using the default disconnect mode as defined by the target vehicle.

If you set disconnect mode from the Connection Control window, this temporarily overrides any setting in your target configuration file.

See the chapter that describes connecting (and disconnecting) in RealView Debugger v1.8 Target Configuration Guide for full details of disconnect mode and how to specify this setting for your debug target.

Setting disconnect mode for multiprocessor debugging

If you are working in multiprocessor debugging mode you can specify a disconnect mode for any of your active connections:

  1. Select Target ? Connect to Target..., or click the Connection Control button, to display the Connection Control window.

  2. Right-click on the connection entry and select Disconnect (Defining Mode)... from the Disconnection context menu.

  3. Select the required state from the selection box.

    The options listed depend on your target vehicle.

  4. Click OK to disconnect and leave the processor in the required state.

Note

If you click Cancel, the disconnection continues using the default disconnect mode as defined by the target vehicle.

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