User guide
Altera Corporation 25
Getting Started EPXA1 Development Kit Getting Started User Guide
7. Chosse Linker from the Software Build Settings list and specify the
following settings:
–Under Link type: select Simple
– Entry symbol name/address: turn on and type 0
– Read-only base address: turn on and type 0
– Read/write base address: turn on and type 0x20000
– Command-line options: add
-first armc_startup.o(init)
1 This command-line option sets section init in
armc_startup.s to the reset vector address 0.
8. Click Apply and OK.
9. Choose Start Software Build (Processing menu) to build the
software program and create a flash programming file.
1 As an alternative to using the Quartus II software to build the
software application, you can run the provided makefile by
typing make debug↵ at a DOS prompt in the ads directory.
Release Settings for ADS
Follow the steps below to specify software build settings that will
generate the hello world software program with optimization turned on.
1. Choose Settings (Assignments menu).
2. Under Category, expand Software Build Settings and choose
General.
3. Choose Release from the Current Software Build settings drop-
down list.
4. Choose the CPU from the Software Build Settings list and specify the
following:
– Processor architecture: ARM922T
– Software toolset: ADS Standard Tools
– Byte order: Little endian
– Output file format: Hexadecimal File
– Output file name: Release\hello.hex
– Select Flash memory configuration under Programming File
Generation and browse to hello.sbi
5. Choose the C/C++ Compiler from the Software Build Settings list
and specify the following: