Nios II Classic Software Developer’s Handbook

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

4.11.3.3.8. sof2flash

Description

The sof2flash utility takes an FPGA configuration file in SOF format and translates it to a FLASH file that can be programmed into the flash memory connected to an FPGA.

Usage

sof2flash [--programmingmode=programmingmode] [--debug]
       [--optionbit=optionbitaddress] [--save] [--quiet] [--pfl] [--epcs]
       [--epcq128] [--epcq] [--verbose] [--activeparallel] [--timestamp]
       [--help] [--log=file] [--input=file] [--offset=addr] [--compress]
       [--options=file] [--output=file]

Options

    --activeparallel                      create parallel flash contents
                                          for active parallel programming
    --compress                            compress the SOF
    --debug                               debug mode
    --epcq                                EPCQ flash mode of size
                                          256Mbits
    --epcq128                             EPCQ flash mode of size
                                          128Mbits or less
    --epcs                                EPCS flash mode
    --help                                print this message
    --input=<file>                        input SOF file to process
    --log=<file>                          file for logging progress
    --offset=<addr>                       design location within the
                                          flash
    --optionbit=<optionbitaddress>        Option Bit Address
    --options=<file>                      intermediate Options file (for
                                          EPCS only)
    --output=<file>                       output flash file
    --pfl                                 Pfl mode
    --programmingmode=<programmingmode>   Programming mode
    --quiet                               only print errors
    --save                                save intermediate files
    --timestamp                           produce a s0 record with
                                          timestamp of input file
    --verbose                             lots of interesting
                                          information