Debug Configurations - Connection tab

The Connection tab in the Debug Configurations dialog box enables you to configure DS-5 Debugger target connections. Each configuration you create is associated with a single target processor.

If the development platform has multiple processors, then you must create a separate configuration for each processor. Be aware that when connecting to multiple targets you cannot perform synchronization or cross-triggering operations.

Note

Options in the Connection tab are dependent on the type of platform that you select.

Select target

These options enable you to select the target:

Platform

Select the target platform.

Note

Contact your support representative if your target is not listed.

Project type

Select the project type:

Linux Application Debug

Select to debug a Linux application.

Linux Kernel and/or Device Driver Debug

Select to debug a Linux kernel or device driver.

Bare Metal Debug

Select to debug an application running on a bare-metal target.

APK native library debug

Select to debug an application running on an Android target.

Debug operation

These options enable you to specify the target environment. The options available depend on the selected platform and project type:

Download and debug application, Download and debug an Android application

Select this option when the application image and libraries do not exist on the target. When you connect to the target, the debugger loads the application onto the target and starts a new gdbserver session.

Start gdbserver and debug target resident application

Select this option when the application already exists on the target.

Connect to already running gdbserver

Select this option when the application already exists on the target and gdbserver is already running.

Debug and ETB Trace via DSTREAM/RVI

Select to debug and trace an application running on a bare-metal target with Embedded Trace Buffer (ETB) support.

Debug and Trace via DSTREAM

Select to debug and trace an application running on a bare-metal target with Trace Port Interface Unit (TPIU) support.

Debug and Kernel-only ETB Trace via DSTREAM/RVI

Select to debug and trace a kernel running on a bare-metal target with ETB support.

Debug via DSTREAM/RVI

Select to debug an application running on a bare-metal target.

Connections

These options enable you to configure the connection between the debugger and the target:

RSE connection

A list of Remote System Explorer (RSE) configurations that you have previously set up. Select the required RSE configuration that you want to use for this debug configuration.

Android devices

A list of Android devices that you have previously configured. Select the required device that you want to use for this debug configuration.

Connection options

The following options might also be available, depending on the debug operation you selected:

  • Select Connect as root to use root access to start gdbserver.

  • Select Kill existing process if you want to kill any existing instances of the application or gdbserver before starting a new debug session.

gdbserver (TCP)

Specify the target IP address or name and the associated port number for the connection between the debugger and gdbserver.

The following options might also be available, depending on the debug operation you selected:

  • Select the Use Extended Mode checkbox if you want to restart an application under debug. Be aware that this might not be fully implemented by gdbserver on all targets.

  • Select the Terminate gdbserver on disconnect checkbox to terminate gdbserver when you disconnect from the target.

  • Select the Use RSE Host checkbox to connect to gdbserver using the RSE configured host.

gdbserver (serial)

Specify the local serial port and connection speed for the serial connection between the debugger and gdbserver.

For the RTSM connection, details for gdbserver are obtained automatically from the target.

Select the Use Extended Mode checkbox if you want to restart an application under debug. Be aware that this might not be fully implemented by gdbserver on all targets.

Bare Metal Debug

Specify the target IP address or name of the debug hardware agent. You can also click on Browse... to display all the available debug hardware agents on your local subnet or USB connections.

Model parameters

These options are only enabled for RTSM platforms.

You can configure a Virtual File System (VFS) that enables a model to run an application and related shared library files from a directory on the local host. Alternatively you can disable VFS and manually transfer the files to a directory on the model.

Enable Virtual File System support

Enable or disable the use of VFS.

Host mount point

Specify the location of the file system on the local host:

  • enter the location in the field provided

  • click on File System... to locate the directory in an external location from the workspace

  • click on Workspace... to locate the directory within the workspace.

, you can select the workspace root directory.

Remote target mount point

Displays the default location of the file system on the model. The default is the /writeable directory.

Apply

Save the current configuration. This does not connect to the target.

Revert

Undo any changes and revert to the last saved configuration.

Debug

Connect to the target and close the Debug Configurations dialog box.

Close

Close the Debug Configurations dialog box.

Figure 61. Connection configuration for a model using VFS

Connection configuration for a model using VFS

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0446H
Non-ConfidentialID111711