Configuring a connection to an RTSM model

DS-5 supports serial connections between a Real-Time System Model (RTSM) and the host machine on both Windows and Linux platforms.

To connect to an RTSM:

  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 RTSM platform, Linux Application Debug project type and the required debug operation. For example, if you are using a Virtual File System (VFS) then select Debug target resident application.

    2. In the Connections panel, a serial connection is automatically configured.

    3. If you are using VFS, select Enable virtual file system support. The default VFS mounting point maps the Eclipse workspace root directory to the /writeable directory on the model. Leave the default or change as required.


      VFS is only set-up on initialisation of the model. Changes to the VFS directory structure might require restarting the model.

  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, specify the location of the application on the target. You can also specify the target working directory if required.

    2. In the Files panel, select the files on the host that you want the debugger to use to load the debug information.


    Options in the Files tab are dependent on the type of debug operation that you select.

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

    1. 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. Configure the search paths on the host used by the debugger when it displays source code.

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

  9. If required, click on the Environment tab to create and configure the target environment variables that are passed to the application when the debug session starts.

  10. Click on Apply to save the configuration settings.

  11. Click on Debug if you want to connect to the target and begin debugging immediately.

    Alternatively, click on Close to close the Debug Configurations dialog box. Use the Debug Control view to connect to the target associated with this debug configuration.

  12. Debugging requires the DS-5 Debug perspective. If the Confirm Perspective Switch dialog box opens, click on 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