ARM® DS-5 Getting Started Guide

Version 5.20


Table of Contents

Preface
About this book
Using this book
Glossary
Typographic conventions
Feedback
Other information
1 ARM® DS-5 Product Overview
1.1 About DS-5
1.2 About Eclipse for DS-5
1.3 About DS-5 Debugger
1.4 About Fixed Virtual Platform (FVP)
1.5 About ARM® Compiler
1.6 About ARM® Streamline Performance Analyzer
1.7 Debug options supported by DS-5
1.8 About debug hardware configuration utilities
1.9 About registering a new compiler toolchain
2 ARM® DS-5 Tutorials
2.1 Configuring a compiler toolchain for the DS-5 command prompt
2.2 Installing DS-5 into a custom Eclipse environment
2.3 Importing the example projects into Eclipse
2.4 Building the Gnometris project from Eclipse
2.5 Building the Gnometris project from the command-line
2.6 Loading the Gnometris application on a Fixed Virtual Platform (FVP)
2.7 Loading the Gnometris application on to an ARM® Linux target
2.8 Configuring an RSE connection to work with an ARM® Linux target
2.8.1 Launching gdbserver with an application
2.8.2 Connecting to the Gnometris application that is already running on a ARM® Linux target
2.9 Debugging Gnometris
2.10 Debugging a loadable kernel module
2.11 Performance analysis of threads application running on ARM® Linux
2.12 Setting up the Android tools for use with DS-5
2.13 Loading the hello-neon application on to an Android target
2.14 Connecting to an application that is already running on an Android target
2.15 Managing DS-5 licenses
2.15.1 Viewing and editing licenses using the ARM License Manager
2.15.2 Using a serial number or activation code to obtain a license
2.15.3 Using an existing license file or license server to obtain a license
2.15.4 Evaluating DS-5 Professional
2.15.5 Obtaining a license manually via the ARM website
2.15.6 Deleting a license
2.15.7 Viewing detailed license and system information
2.16 Changing the Toolkit
2.17 Registering a compiler toolchain from the DS-5 command prompt
2.18 Registering a compiler toolchain from Eclipse
3 ARM® DS-5 Installation and Examples
3.1 System requirements
3.1.1 Host platform requirements
3.1.2 Debug system requirements
3.1.3 Additional tools for Linux kernel and bare-metal debugging
3.2 Installing DS-5
3.3 Installation directories
3.4 Licensing and product updates
3.5 Documentation provided with DS-5
3.6 Examples provided with DS-5

List of Figures

2-1 Configuring a default toolchain
2-2 Selecting a connection type
2-3 Defining the connection information
2-4 Defining the file system
2-5 Defining the processes
2-6 Defining the shell services
2-7 Defining the terminal services
2-8 Modifying file properties from the Remote Systems view
2-9 Typical connection configuration for a Beagle board
2-10 Typical file selection for a Beagle board
2-11 Typical debugger settings for a Beagle board
2-12 Typical connection settings for a Linux kernel/Device Driver Debug
2-13 Typical Files settings for a Linux kernel/Device Driver Debug
2-14 Streamline Capture Data file
2-15 Streamline Analysis Data file
2-16 Typical Connection tab settings for an Android application
2-17 Typical Files tab settings for an Android application
2-18 Typical Debugger tab settings for an Android application
2-19 Typical Connection tab settings for an Android application
2-20 Typical Files tab settings for an Android application
2-21 Typical Debugger tab settings for an Android application
2-22 Registering a new toolchain
2-23 Registering a new toolchain
2-24 Using a new toolchain for a new project
2-25 Changing the toolchain for a project
2-26 Toolchains preferences dialog
2-27 Properties for the new toolchain

List of Tables

1-1 ARM Compiler tools
3-1 DS-5 default directories

Release Information

Document History
Issue Date Confidentiality Change
A 30 June 2010 Non-Confidential First release
B 30 September 2010 Non-Confidential Update for DS-5 version 5.2
C 30 November 2010 Non-Confidential Update for DS-5 version 5.3
D 30 January 2011 Non-Confidential Update for DS-5 version 5.4
F 30 July 2011 Non-Confidential Update for DS-5 version 5.6
G 30 September 2011 Non-Confidential Update for DS-5 version 5.7
H 30 November 2012 Non-Confidential Update for DS-5 version 5.8
I 28 February 2012 Non-Confidential Update for DS-5 version 5.9
J 30 May 2012 Non-Confidential Update for DS-5 version 5.10
K 30 July 2012 Non-Confidential Update for DS-5 version 5.11
L 30 October 2012 Non-Confidential Update for DS-5 version 5.12
M 15 December 2012 Non-Confidential Update for DS-5 version 5.13
N 15 March 2013 Non-Confidential Update for DS-5 version 5.14
O 14 June 2013 Non-Confidential Update for DS-5 version 5.15
P 13 September 2013 Non-Confidential Update for DS-5 version 5.16
Q 13 December 2013 Non-Confidential Update for DS-5 version 5.17
R 14 March 2014 Non-Confidential Update for DS-5 version 5.18
S 27 June 2014 Non-Confidential Update for DS-5 version 5.19
T 17 October 2014 Non-Confidential Update for DS-5 version 5.20

Non-Confidential Proprietary Notice

This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications. No part of this document may be reproduced in any form by any means without the express prior written permission of ARM. No license, express or implied, by estoppel or otherwise to any intellectual property rights is granted by this document unless specifically stated.
Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use the information for the purposes of determining whether implementations infringe any third party patents.
THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, ARM makes no representation with respect to, and has undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other rights.
This document may include technical inaccuracies or typographical errors.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to ARM’s customers is not intended to create or refer to any partnership relationship with any other company. ARM may make changes to this document at any time and without notice.
If any of the provisions contained in these terms conflict with any of the provisions of any signed written agreement covering this document with ARM, then the signed written agreement prevails over and supersedes the conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if there is any conflict between the English version of this document and any translation, the terms of the English version of the Agreement shall prevail.
Copyright © [2010-2014], ARM Limited or its affiliates. All rights reserved.
ARM Limited. Company 02557590 registered in England.
110 Fulbourn Road, Cambridge, England CB1 9NJ.
LES-PRE-20349

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.
Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is Final, that is for a developed product.

Web Address

Non-ConfidentialPDF file icon PDF versionARM DUI0478T
Copyright © 2010-2014 ARM. All rights reserved.