Visible to Intel only — GUID: zuk1638408180107
Ixiasoft
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 Embedded Processor Design Handbook Archives
9. 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. Summary of Nios® V Processor Vector Configuration and BSP Settings
6.4.1. Prerequisites
6.4.2. Setting Up and Generating Your Simulation Environment in Platform Designer
6.4.3. Creating Nios V Processor Software
6.4.4. Generating Memory Initialization File
6.4.5. Generating System Simulation Files
6.4.6. Running Simulation in the QuestaSim Simulator Using Command Line
Visible to Intel only — GUID: zuk1638408180107
Ixiasoft
1.4.4. Programming Nios® V/m into the FPGA Device
To program Nios® V/m processor based system into the FPGA and to run your application, use Intel Quartus Programmer tool.
- To create the Nios® V/m 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;top.sof@1
Linux:quartus_pgm -c 1 -m JTAG -o p\;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/m processor system using the toggle_issp.tcl script.
quartus_stp -t 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/m 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.cFigure 7. Output of the Hello World application using hello_ucosii.c