User guide

24 Altera Corporation
EPXA1 Development Kit Getting Started User Guide Getting Started
Debug Settings for ADS
Follow the steps below to specify software build settings that generate the
software program with extra debug information.
1. Choose Settings (Assignments menu).
2. Under Category, expand Software Build Settings and choose
General.
3. Choose Debug from the Current Software Build Settings drop-
down list.
4. Choose CPU from the Software Build Settings list and specify the
following settings:
Processor architecture: ARM922T
Software toolset: ADS Standard Tools
Byte order: Little endian
Output file format: Hexadecimal File
Output file name: Debug\hello.hex (hexadecimal file)
Select Flash memory configuration under Programming File
Generation and browse to hello.sbi
1 A .sbi file is a slave binary image file. hello.sbi contains the
PLD configuration data for the design, which is used in
boot-from-flash mode
1 To generate a programming file, but not include the
hardware image, select Flash memory configuration , but
leave the filename blank.
5. Choose C/C++ Compiler from the Software Build Settings list and
specify the following settings:
Level: Low
Goal: Minimize size
Preprocessor definitions: type DEBUG
Additional include directories: type .,..\common
Generate debug information: turn on
6. Choose Assembler from the Software Build Settings list and specify
the following settings:
Additional include directories: type .
Generate debug information: turn on
Keep local symbols in symbol table: turn on