Copyright © 1999-2001 ARM Limited. All rights reserved.
ARM DUI 0066D
ARM
®
Developer Suite
Version 1.2
AXD and armsd Debuggers Guide
ii Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0066D
ARM Developer Suite
AXD and armsd Debuggers Guide
Copyright © 1999-2001 ARM Limited. All rights reserved.
Release Information
The following changes have been made to this document.
Proprietary Notice
Words and logos marked with
®
or
™
are registered trademarks or trademarks owned by ARM Limited. Other
brands and names mentioned herein may be the trademarks of their respective owners.
Neither the whole nor any part of the information contained in, or the product described in, this document
may be adapted or reproduced in any material form except with the prior written permission of the copyright
holder.
The product described in this document is subject to continuous developments and improvements. All
particulars of the product and its use contained in this document are given by ARM in good faith. However,
all warranties implied or expressed, including but not limited to implied warranties of merchantability, or
fitness for purpose, are excluded.
This document is intended only to assist the reader in the use of the product. ARM Limited shall not be liable
for any loss or damage arising from the use of any information in this document, or any error or omission in
such information, or any incorrect use of the product.
Change History
Date Issue Change
October 1999 ARM DUI 0066A ADS 1.0 Release
March 2000 ARM DUI 0066B ADS 1.0.1 Release
November 2000 ARM DUI 0066C ADS 1.1 Release
November 2001 ARM DUI 0066D ADS 1.2 Release
ARM DUI 0066D Copyright © 1999-2001 ARM Limited. All rights reserved. iii
Contents
ARM Developer Suite AXD and armsd
Debuggers Guide
Preface
About this book ............................................................................................ viii
Feedback ...................................................................................................... xii
Part A AXD
Chapter 1 About AXD
1.1 Debugger concepts ..................................................................................... 1-2
1.2 Interfacing with targets ................................................................................ 1-5
1.3 Debugging systems .................................................................................... 1-8
1.4 Availability and compatibility ..................................................................... 1-11
1.5 Online help ................................................................................................ 1-12
Chapter 2 Getting Started in AXD
2.1 License-managed software ......................................................................... 2-2
2.2 Starting and closing AXD ............................................................................ 2-3
2.3 Debugger target .......................................................................................... 2-6
2.4 AXD displays ............................................................................................... 2-9
2.5 AXD menus ............................................................................................... 2-12
Contents
iv Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0066D
2.6 Tool icons, status bar, keys, and commands ........................................... 2-14
Chapter 3 Working with AXD
3.1 Running a demonstration program ............................................................. 3-2
3.2 Setting a breakpoint .................................................................................... 3-4
3.3 Setting a watchpoint ................................................................................... 3-6
3.4 Examining the contents of variables ........................................................... 3-8
3.5 Examining the contents of registers ......................................................... 3-12
3.6 Examining the contents of memory .......................................................... 3-14
3.7 Locating and changing values and verifying changes .............................. 3-16
3.8 Creating a revised version of the program ............................................... 3-18
Chapter 4 AXD Facilities
4.1 Stopping and stepping ................................................................................ 4-2
4.2 Expressions ................................................................................................ 4-4
4.3 Viewing and editing .................................................................................... 4-6
4.4 Entering addresses ................................................................................... 4-12
4.5 Persistence ............................................................................................... 4-13
4.6 RealMonitor support ................................................................................. 4-14
4.7 Data formatting ......................................................................................... 4-16
4.8 Profiling ..................................................................................................... 4-27
Chapter 5 AXD Desktop
5.1 Menus, toolbars, and status bar ................................................................. 5-2
5.2 File menu .................................................................................................... 5-6
5.3 Search menu ............................................................................................ 5-16
5.4 Processor Views menu ............................................................................. 5-18
5.5 System Views menu ................................................................................. 5-48
5.6 Execute menu ........................................................................................... 5-76
5.7 Options menu ........................................................................................... 5-80
5.8 Window menu ........................................................................................... 5-99
5.9 Help menu .............................................................................................. 5-102
Chapter 6 AXD Command-line Interface
6.1 Command Line Window ............................................................................. 6-2
6.2 Parameters and prefixes ............................................................................ 6-4
6.3 Commands with list support ....................................................................... 6-5
6.4 Predefined command parameters .............................................................. 6-6
6.5 Definitions ................................................................................................... 6-9
6.6 Commands ............................................................................................... 6-13
Part B armsd
Chapter 7 About armsd
7.1 About armsd ............................................................................................... 7-2
Contents
ARM DUI 0066D Copyright © 1999-2001 ARM Limited. All rights reserved. v
7.2 Command syntax ........................................................................................ 7-3
Chapter 8 Getting Started in armsd
8.1 Specifying source-level objects ................................................................... 8-2
8.2 armsd variables ........................................................................................... 8-7
8.3 Low-level debugging ................................................................................. 8-13
Chapter 9 Working with armsd
9.1 Groups of armsd commands ....................................................................... 9-2
9.2 Alphabetical list of armsd commands .......................................................... 9-7
9.3 Accessing the debug communications channel ........................................ 9-46
9.4 armsd commands for EmbeddedICE ........................................................ 9-47
Appendix A AXD and armsd Commands
A.1 Comparison of commands .......................................................................... A-2
A.2 Useful internal variables .............................................................................. A-8
Appendix B Coprocessor Registers
B.1 ARM710T processor ................................................................................... B-2
B.2 ARM720T processor ................................................................................... B-3
B.3 ARM740T processor ................................................................................... B-4
B.4 ARM920T Rev 0 processor ......................................................................... B-5
B.5 ARM920T Rev 1 processor ......................................................................... B-7
B.6 ARM940T Rev 0 processor ......................................................................... B-9
B.7 ARM940T Rev 1 processor ....................................................................... B-11
B.8 ARM946E-S processor ............................................................................. B-13
B.9 ARM966E-S processor ............................................................................. B-15
B.10 ARM10200E processor ............................................................................. B-16
B.11 ARM1020E processor ............................................................................... B-20
B.12 ARM10E processor ................................................................................... B-22
B.13 XScale processor ...................................................................................... B-24
Appendix C Supplementary Display Module Formats
C.1 Predefined formats ..................................................................................... C-2
C.2 User-defined formats ................................................................................. C-5
Appendix D Using the Flash Downloader
D.1 About the Flash downloader ...................................................................... D-2
D.2 Using the Flash downloader from AXD ...................................................... D-4
D.3 Using the Flash downloader from armsd ................................................... D-5
D.4 Setting the IP address of a PID board ....................................................... D-6
Glossary