Configuring a connection to a bare-metal target

You can download and connect to an application running on a target using a debug hardware agent.


Before connecting you must ensure that you have the target IP address or name for the connection between the debugger and the debug hardware agent.


To connect to the target:

  1. Select Window → Open Perspective → DS-5 Debug from the main menu.

  2. Select Debug Configurations... from the Run menu.

  3. Select DS-5 Debugger from the configuration tree and then click on New to create a new configuration.

  4. In the Name field, enter a suitable name for the new configuration.

  5. Click on the Connection tab to configure a DS-5 Debugger target connection:

    1. Select the required platform, Bare Metal Debug project type and the required debug operation.

    2. Configure the connection between the debugger and the debug hardware agent.

  6. Click on the Files tab to define the target environment and select debug versions of the application file and libraries on the host that you want the debugger to use.

    1. In the Target Configuration panel, select the application on the host that you want to download to the target.

  7. Click on the Debugger tab to configure the debugger settings.

    1. In the Run control panel, specify the actions that you want the debugger to do after connection to the target.

    2. Configure the host working directory or use the default.

    3. In the Paths panel, specify any source search directories on the host that the debugger uses when it displays source code.

  8. If required, click on the Arguments tab to enter arguments that are passed, using semihosting, to the application when the debug session starts.

  9. Click on Apply to save the configuration settings.

  10. Click on Debug to connect to the target.

  11. Debugging requires the DS-5 Debug perspective. If the Confirm Perspective Switch dialog box opens, click Yes to switch perspective.

When connected and the DS-5 Debug perspective opens you are presented with all the relevant views and editors.

For more information on these options, use the dynamic help.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0446L