Download Altera SoC Embedded Design Suite User Guide
Transcript
TOC-2 Contents Introduction to SoC Embedded Design Suite.................................................... 1-1 Overview....................................................................................................................................................... 1-1 Device Tree Binary...........................................................................................................................1-2 Hardware and Software Development Roles........................................................................................... 1-3 Hardware – Software Development Flow.................................................................................................1-5 Installing the Altera SoC Embedded Design Suite............................................. 2-1 Installation Folders...................................................................................................................................... 2-1 Installing the SoC EDS................................................................................................................................ 2-1 Installing the ARM DS-5 Altera Edition Toolkit.....................................................................................2-2 Licensing.............................................................................................................. 3-1 Getting the License...................................................................................................................................... 3-1 Activating the License................................................................................................................................. 3-2 Getting Started Guides........................................................................................ 4-1 Getting Started with Board Setup.............................................................................................................. 4-1 External Connections...................................................................................................................... 4-1 Dual in-line package (DIP) Switch Settings................................................................................. 4-2 Jumper Settings................................................................................................................................ 4-2 Getting Started with Running Linux.........................................................................................................4-2 Getting Started with Preloader...................................................................................................................4-3 Getting Started with GCC Bare-Metal Project Management................................................................ 4-6 Start Eclipse.......................................................................................................................................4-6 Create New Project.......................................................................................................................... 4-6 Set the Linker Script.........................................................................................................................4-9 Write Application Source Code...................................................................................................4-12 Build Application........................................................................................................................... 4-15 Debug Application.........................................................................................................................4-17 Getting Started with ARM Compiler Bare-Metal Project Management............................................4-25 Start Eclipse.....................................................................................................................................4-25 Create a New Project..................................................................................................................... 4-26 Create a Linker Script....................................................................................................................4-29 Set the Linker Script.......................................................................................................................4-34 Write Application Source Code...................................................................................................4-37 Build Application........................................................................................................................... 4-40 Debug Application.........................................................................................................................4-42 Getting Started with Bare-Metal Debugging..........................................................................................4-51 Bare-Metal Debugging Sample Application Overview.............................................................4-51 Starting the Eclipse IDE................................................................................................................ 4-52 Altera Corporation