Datasheet
Creating an Application
ARM DUI 0064D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-25
3.6 Debugging the application with AXD
AXD enables you to run and debug your image using any of the following debug targets:
• ARMulator (the default)
• Multi-ICE
•EmbeddedICE
• Angel debug monitor
• Gateway.
See the AXD and armsd Debuggers Guide for more information on using the debuggers.
3.6.1 Starting AXD
Start AXD in any of the following ways:
• If you are running under UNIX, either:
— from any directory type the full path and name of the debugger, for
example,
/opt/arm/axd
— change to the directory containing the debugger and type its name, for
example,
./axd
• If you are working in the CodeWarrior IDE, open a project and select Edit →
target Settings... → Debugger → ARM Debugger to ensure that AXD is the
default debugger and other settings are as you require, then click the Run/Debug
button or select Debug from the Project menu.
• If you are running Windows, select Start → Programs → ARM Developer
Suite 1.2 → AXD Debugger.
• If you are using a Windows DOS shell, you can start AXD with the following
arguments. Arguments must be in lowercase:
-debug ImageName
Load
ImageName
for debugging.
-exec ImageName
Load and run
ImageName
.
-logo
Show splash screen (this is the default).
-nologo
Suppress splash screen.
For example, to launch AXD and load
dhryansi.axf
for debugging, type:
axd -debug dhryansi.axf
Loading an image
If you start AXD from the CodeWarrior IDE, or specify an image name on the DOS
command line, an image is already loaded into AXD. Use File → Load Image to load
a new image (Figure 3-14 on page 3-26).