You copied the Doc URL to your clipboard.

Creating a new DS-5 debug configuration for an FVP connection

This procedure describes how to create a new debug configuration in DS-5. You can use the debug configuration to connect and run your application on an FVP model or on a hardware target.

Procedure

  1. From the DS-5 main menu, select Run > Debug Configurations.
  2. In the left-hand panel of the Debug Configurations dialog, select DS-5 Debugger.

    Figure 4-7 Create a new debug configuration

    Create a new debug configuration

  3. Click the New button to create a new DS-5 Debugger launch configuration. This displays the various tabs required to specify settings for loading your application on the target.
  4. Give a name to the debug configuration. For example, hello_world.
  5. In the Connection tab, select ARM FVP (Installed with DS-5) > ARMv8-Ax1 Foundation Platform > Bare-Metal Debug > Debug ARMv8-A.

    Figure 4-8 Select an FVP model to connect to

    Select an FVP model to connect to

    Tip:

    You can enter a filter name, for example sve in the Filter Platforms field to help find the target you want to connect to.

    Note

    If you want to connect to an SVE enabled FVP model, select the Base_AEMv8A_SVE model. This automatically populates the Model Plugin field with the correct SVE plugin.
  6. Select the Files tab, and under for the Application on host to download field, click Workspace. This displays all the projects in your current workspace.
  7. Select your project, which you have built earlier, and within it, select the image you want to load, for example hello_world.axf. Then click OK.

    Figure 4-9 Specify the application to load

    Specify the application to load

  8. Select the Debugger tab, and then select the Debug from symbol option. Set the symbol to main.

    Figure 4-10 Specify the debug symbol

    Specify the debug symbol

  9. Click Debug to connect and load the application on the FVP model. This launches the FVP model and also loads the debug information into the debugger. DS-5 also displays the connection status in the Debug Control view.
  10. If a Confirm Perspective Switch dialog appears, click Yes.
  11. The application stops at the main() function and is ready to run or debug.

    Figure 4-11 Debug Control view

    Debug Control view

  12. Click the Continue button to continue running the application. You can view the application output in the Target Console view.
Was this page helpful? Yes No