Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

4.11.3.4.7. nios2-configure-sof

Description

This tool configures an configurable part. If no explicit SOF file is provided then it will try and work out the correct file to use.

Usage

nios2-configure-sof [-h/--help] [-C/--directory <dir name>]
       [-c/--cable <cable name>] [-d/--device <device index>]
           [ <filename.sof> ]

Options

-h/--help                   Prints this message.

 -C/--directory <dir name>   Change to this directory before running

 -c/--cable <cable name>     Specifies which JTAG cable to use (not needed if
                             you only have one cable).
 -d/--device <device index>  Specifies in which device you want to look for the
                             Nios II CPU (1 = device nearest TDI etc.)

 <filename.sof>              The SOF file you want to download

If you have exactly one cable attached then nios2-configure-sof will use this cable by default. If you have more than one cable attached then you must specify one. Use `jtagconfig` to find out which cables you have available. If a SOF file is specified, then that file is configured into the part. If no file is specified, or if the specified filename does not have a path associated with it then the tool will search for matching SOF files, first in the current directory and then in the directory which contains the PTF file for the project in the current directory.