Specifications
Contents
Overview of Nios II Embedded Development.................................................... 1-1
Prerequisites for Understanding the Nios II Embedded Design Suite.................................................1-1
Finding Nios II EDS Files........................................................................................................................... 1-1
Nios II Software Development Environment.......................................................................................... 1-2
Nios II EDS Development Flows...............................................................................................................1-2
Nios II SBT Development Flow..................................................................................................... 1-2
Nios II Programs..........................................................................................................................................1-3
Makefiles and the SBT.....................................................................................................................1-3
Nios II Software Project Types.......................................................................................................1-4
Altera Software Packages for Embedded Systems...................................................................................1-4
Nios II Embedded Design Examples.........................................................................................................1-5
Hardware Examples.........................................................................................................................1-5
Software Examples...........................................................................................................................1-5
Third-Party Embedded Tools Support.....................................................................................................1-6
Additional Nios II Information................................................................................................................. 1-6
Document Revision History for Overview of Nios II Embedded Development................................ 1-7
Getting Started with the Graphical User Interface.............................................2-1
Getting Started with Nios II Software in Eclipse.....................................................................................2-1
The Nios II SBT for Eclipse Workbench...................................................................................... 2-1
Creating a Project.............................................................................................................................2-2
Navigating the Project.....................................................................................................................2-4
Building the Project.........................................................................................................................2-4
Configuring the FPGA.................................................................................................................... 2-4
Running the Project on Nios II Hardware................................................................................... 2-5
Debugging the Project on Nios II Hardware............................................................................... 2-5
Creating a Simple BSP...................................................................................................................2-11
Makefiles and the Nios II SBT for Eclipse..............................................................................................2-11
Eclipse Source Management.........................................................................................................2-12
User Source Management.............................................................................................................2-13
BSP Source Management..............................................................................................................2-14
Using the BSP Editor.................................................................................................................................2-14
Tcl Scripting and the Nios II BSP Editor....................................................................................2-14
Starting the Nios II BSP Editor.................................................................................................... 2-14
The Nios II BSP Editor Screen Layout........................................................................................2-15
The Command Area......................................................................................................................2-15
The Console Area...........................................................................................................................2-18
Exporting a Tcl Script....................................................................................................................2-19
Creating a New BSP.......................................................................................................................2-19
BSP Validation Errors................................................................................................................... 2-20
Run Configurations in the SBT for Eclipse............................................................................................2-21
Opening the Run Configuration Dialog Box.............................................................................2-21
TOC-2
Altera Corporation