3.9.2. Configuring semihosting for individual targets

To configure semihosting for individual targets in 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. Create a target-specific Advanced_Information block for the target. For example, create a block called ARM940T.

  7. For each individual target group in the Advanced_Information block:

    1. Expand the following entries:

      • group_name (for example ARM940T)

      • ARM_config

      • Semihosting

    2. Set Enabled in the right pane to the required value (True is the default).

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

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

Note

When you connect to a target in your Debug Configuration, the semihosting setting is applied only to the target that matches the Advanced_Information block name (an ARM940T processor in this example).

See also

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