About this book

This book describes how to use the debugger to debug Linux applications, bare-metal, Real-Time Operating System (RTOS), and Linux platforms.

Using this book

This book is organized into the following chapters:

Chapter 1 Introduction to DS-5 Debugger

Introduces DS-5 Debugger and some important debugger concepts.

Chapter 2 Configuring debug connections in DS-5 Debugger

Describes how to configure and connect to a debug target using ARM® DS-5 Debugger.

Chapter 3 Controlling Target Execution

Describes how to control the target when certain events occur or when certain conditions are met.

Chapter 4 Working with the Target Configuration Editor

Describes how to use the editor when developing a project for an ARM® target.

Chapter 5 Examining the Target

This chapter describes how to examine registers, variables, memory, and the call stack.

Chapter 6 Debugging Embedded Systems

Gives an introduction to debugging embedded systems.

Chapter 7 Debugging with Scripts

Describes how to use scripts containing debugger commands to enable you to automate debugging operations.

Chapter 8 Running DS-5 Debugger from the operating system command-line or from a script

This chapter describes how to use DS-5 Debugger from the operating system command-line or from a script.

Chapter 9 Working with the Snapshot Viewer

This chapter describes how to work with the Snapshot Viewer.

Chapter 10 Platform Configuration

You can configure models and hardware platforms using DS-5.

Chapter 11 DS-5 Debug Perspectives and Views

Describes the DS-5 Debug perspective and related views in the Eclipse Integrated Development Environment (IDE).

Chapter 12 Troubleshooting

Describes how to diagnose problems when debugging applications using DS-5 Debugger.

Chapter 13 File-based Flash Programming in ARM DS-5

Describes the file-based flash programming options available in DS-5.

Chapter 14 Writing OS Awareness for DS-5 Debugger

Describes the OS awareness feature available in DS-5.

Chapter 15 Debug and Trace Services Layer (DTSL)

Describes the DS-5 Debugger Debug and Trace Services Layer (DTSL).

Chapter 16 Reference

Lists other information that might be useful when working with DS-5 Debugger.


The ARM Glossary is a list of terms used in ARM documentation, together with definitions for those terms. The ARM Glossary does not contain terms that are industry standard unless the ARM meaning differs from the generally accepted meaning.

See the ARM Glossary for more information.

Typographic conventions

Introduces special terminology, denotes cross-references, and citations.
Highlights interface elements, such as menu names. Denotes signal names. Also used for terms in descriptive lists, where appropriate.
Denotes text that you can enter at the keyboard, such as commands, file and program names, and source code.
Denotes a permitted abbreviation for a command or option. You can enter the underlined text instead of the full command or option name.
monospace italic
Denotes arguments to monospace text where the argument is to be replaced by a specific value.
monospace bold
Denotes language keywords when used outside example code.
Encloses replaceable terms for assembler syntax where they appear in code or code fragments. For example:
MRC p15, 0, <Rd>, <CRn>, <CRm>, <Opcode_2>
Used in body text for a few terms that have specific technical meanings, that are defined in the ARM glossary. For example, IMPLEMENTATION DEFINED, IMPLEMENTATION SPECIFIC, UNKNOWN, and UNPREDICTABLE.


Feedback on this product

If you have any comments or suggestions about this product, contact your supplier and give:

  • The product name.
  • The product revision or version.
  • An explanation with as much information as you can provide. Include symptoms and diagnostic procedures if appropriate.
Feedback on content

If you have comments on content then send an e-mail to errata@arm.com. Give:

  • The title ARM® DS-5 Debugger User Guide.
  • The number ARM DUI0446Z.
  • If applicable, the page number(s) to which your comments refer.
  • A concise explanation of your comments.

ARM also welcomes general suggestions for additions and improvements.


ARM tests the PDF only in Adobe Acrobat and Acrobat Reader, and cannot guarantee the quality of the represented document when used with any other PDF reader.

Other information

Non-ConfidentialPDF file icon PDF versionARM DUI0446Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.