Altera Logo

Board Update Portal Instructions

Select files required to update the board

Convert the .sof file and .elf file to flash format (that is, the format required to program the flash)

    Note: You must have the Nios® II EDS installed in order to perform this step.

  1. From the Start Menu select All Programs, Altera, Nios II EDS, and then Nios II Command Shell

  2. In the Nios II Command Shell, navigate to the .sof file and type

    sof2flash --input=yourfile_hw.sof --output=yourfile_hw.flash --offset=0x800000 --pfl --optionbit=0x00018000 --programmingmode=FPP

  3. If the design includes a software application, in the Nios II Command Shell, navigate to the .elf file and type

    elf2flash --base=0x00000000 --end=0x03FFFFFF --reset=0x23C0000 --input=yourfile_sw.elf --output=yourfile_sw.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_sources/boot_loader_cfi.srec

Program the flash and reset the board

  1. Browse to the hardware file and the software file (if required), respectively.

  2. Click Upload, and then wait for the files to be written to flash. Progress is displayed from 0 to 100%.

  3. When the upload is complete, Press button PGM_SEL (S2) until PGM LED 1 is lit then press button PGM_CONFIG (S1) to configure the FPGA with the new image.