Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

4.1. Nios® II Command-Line Tools

The Intel command line tools are useful for a range of activities, from board and system-level debugging to programming an FPGA configuration file (.sof). For these tools, the examples expand on the brief descriptions of the Intel-provided command-line tools for developing Nios® II programs in “Intel-Provided Embedded Development Tools” in the Nios® II Software Build Tools chapter of the Nios II Gen2 Software Developer’s Handbook. The Nios® II GCC toolchain contains the GNU Compiler Collection, GNU Binary Utilities (binutils), and newlib C library.

All of the commands described in this section are available in the Nios® II command shell. For most of the commands, you can obtain help in this shell by typing:
<command name> --help

To start the Nios® II command shell on Windows platforms, on the Start menu, click All Programs. On the All Programs menu, on the Intel submenu, on the Nios® II EDS <version> submenu, click Nios II <version> Command Shell.

On Linux platforms, type the following command:
 <
               Nios® II EDS install path>/nios2_command_shell.shr

The command shell is a Bourne-again shell (bash) with a pre-configured environment.