2.5.5. Setting disconnect mode

You can control the way a processor is left when you disconnect. This is useful when debugging multithreaded applications, and can also be used when debugging your processor target system, for example to download your application and leave it running without the debugger connected.

To set the disconnect mode use either:

The disconnection mode that is used is defined by the Disconnect_mode setting in the Advanced_Information group in your board file unless you use the option Disconnect (Defining Mode).... For more information about setting disconnect mode in the board file, see the description of the Advanced_Information block in Appendix C Connection Properties Reference.

To define a disconnection mode using the option Disconnect (Defining Mode)...:

  1. Right-click on a connection entry to display the Disconnection context menu, shown in Figure 2.9.

  2. Select Disconnect (Defining Mode)... to display the Disconnect Mode selection box, shown in Figure 2.12.

    Figure 2.12. Disconnect Mode selection box

    Disconnect Mode selection box

    Choose from the list to close a connection and leave the target processor in one of these states:

    Running

    This leaves the processor running, with the state of breakpoints defined by the vehicle in use. This means the program might enter debug state after the debugger has disconnected, depending on the code paths the program takes.

    Stopped (Debug)

    The processor is left stopped.

  3. Highlight the required state and click OK. This has the following results:

    • the current connection is disconnected

    • the command is reflected in the Cmd tab of the Output pane

    • the toolbar state group is set to Unknown

    • title bars and Color Boxes for all windows are updated.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential