advertisement
EPXA1 Development Kit Getting Started User Guide Getting Started
6.
Choose Assembler from the Software Build Settings list and specify the following:
– Additional include directories : type .
– Generate debug information : turn on
– Keep local symbols in symbol table : turn on
– Use C preprocessor : turn on
7.
Choose Linker from the Software Build Settings list and specify the following:
– Object/library modules : type
%ALTERA_ARM9GP_ROOT%/%ALTERA_ARM9GP_VER%/%ALTER
A_ARM9GP_HOST%/lib/gcc-lib/arm-elf/2.96-
%ALTERA_ARM9GP_VER%/crtbegin.o,
%ALTERA_ARM9GP_ROOT%/%ALTERA_ARM9GP_VER%/%ALTER
A_ARM9GP_HOST%/lib/gcc-lib/arm-elf/2.96-
%ALTERA_ARM9GP_VER%/crtend.o
– Additional library directories : type
%ALTERA_ARM9GP_ROOT%/%ALTERA_ARM9GP_VER%/%ALTERA_A
RM9GP_HOST%/lib/gcc-lib/arm-elf/2.96-
%ALTERA_ARM9GP_VER%,
%ALTERA_ARM9GP_ROOT%/%ALTERA_ARM9GP_VER%/%ALTER
A_ARM9GP_HOST%/arm-elf/lib
– Under Link type: select Custom link script and browse to software\armelf.x
– Command-line options : add -lc -lgcc -lc
1 The crtbegin and crtend files set up the environment and clean up for the C run-time libraries.
The linker script file implements the functions required for the standard library calls this program uses.
8.
Click OK.
9.
Click on Start Software Build (Processing menu) to build the software application 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 gnu directory.
20 Altera Corporation
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 9 Introduction
- 9 Software and Hardware Requirements
- 10 Excalibur Utilities
- 10 Quartus II Software
- 10 ADS-Lite
- 10 GNUPro Toolkit
- 11 EPXA1 Development Board
- 11 Preparation
- 12 Design Overview
- 15 Configure the Stripe
- 16 Compile the Hardware Design
- 17 Compile the Software Application
- 17 Specifying the Toolset Directory
- 18 Software Build Settings for ADS
- 19 Debug Settings for ADS
- 20 Release Settings for ADS
- 21 Software Build Settings for GNUPro
- 22 Debug Settings for GNUPro
- 24 Release Settings for GNUPro
- 25 Configure the Development Board
- 25 Boot-from-Passive-Serial Mode
- 26 Boot-from-Flash Mode
- 27 Connections and Jumper Settings
- 28 Altera Flash Programmer
- 28 Debug the Design
- 28 ADS AXD Debugger
- 30 GNUPro Insight Debugger
- 33 Introduction
- 33 Installing the ByteBlaster Driver on a Windows NT System