A newer version of this document is available. Customers should click here to go to the newest version.
1. About the Nios® V Embedded Processor
2. Nios® V Processor Hardware System Design with Intel® Quartus® Prime Software and Platform Designer
3. Nios® V Processor Software System Design
4. Nios® V Processor Configuration and Booting Solutions
5. Nios® V Processor - Using the MicroC/TCP-IP Stack
6. Nios® V Processor Debugging, Verifying, and Simulating
7. Nios® V Processor — Remote System Update
8. Nios® V Processor — Using Custom Instruction
9. Nios® V Embedded Processor Design Handbook Archives
10. Document Revision History for the Nios® V Embedded Processor Design Handbook
4.1. Introduction
4.2. Linking Applications
4.3. Nios® V Processor Booting Methods
4.4. Introduction to Nios® V Processor Booting Methods
4.5. Nios® V Processor Booting from Configuration QSPI Flash
4.6. Nios® V Processor Booting from On-Chip Memory (OCRAM)
4.7. Nios® V Processor Booting from Tightly Coupled Memory (TCM)
4.8. Summary of Nios® V Processor Vector Configuration and BSP Settings
6.5.1. Prerequisites
6.5.2. Setting Up and Generating Your Simulation Environment in Platform Designer
6.5.3. Creating Nios V Processor Software
6.5.4. Generating Memory Initialization File
6.5.5. Generating System Simulation Files
6.5.6. Running Simulation in the QuestaSim Simulator Using Command Line
1.5.4. Programming Nios® V into the FPGA Device
To program Nios® V processor based system into the FPGA and to run your application, use Intel Quartus Programmer tool.
- To create the Nios® V processor inside the FPGA device, download the .sof file onto the board with the following command.
Windows:
quartus_pgm -c 1 -m JTAG -o p;hw/output_files/top.sof@1
Linux:quartus_pgm -c 1 -m JTAG -o p\;hw/output_files/top.sof@1
Note:- -c 1 is referring to cable number connected to the Host Computer.
- @1 is referring to device index on the JTAG Chain and may differ for your board.
- To run the Hello World application program, reset the Nios® V processor system using the toggle_issp.tcl script.
quartus_stp -t scripts/toggle_issp.tcl
- Download the .elf using the niosv-download command.
niosv-download <elf file>
Note: Set the Enable Debug option during configuration in Platform Designer to use niosv-download command. - Use the JTAG UART terminal to print the stdout and stderr of the Nios® V processor system.
juart-terminal
- The Hello World application displays as shown in the following figures.
Figure 6. Output of the Hello World application using hello.c
Figure 7. Output of the Hello World application using hello_ucosii.c