50
TR10a-LPQ User Manual
December
10,
2018
local drive.
5.
Execute the batch file flash_program.bat to start flash programming.
After restoring the flash, perform the following procedures to test the restored boot code.
1.
Power off the FPGA Board.
2.
Set FPGA configuration mode as FPPx16 Mode by setting S1 MSEL[2:0] to
000
.
3.
Specify configuration of the FPGA to Factory Hardware by setting the
FACTORY_LOAD dip in S1.4 to the ‘1’ position.
4.
Power on the FPGA Board, and the Configure Done LED D4 should light up.
The batch file converts the
Factory
and
User
.sof/.elf and PFL option bit into a flash.pof
file and use Quartus Programmer to program the CFI-Flash with the generated flash.pof.
The
factory
subfolder includes Flash_Programming.sof and NIOS_APP.elf files
generated by
Flash_Factory
project, and the
user
subfolder includes
Flash_Programming.sof and NIOS_APP.elf files generated by
Flash_User
project. The
Flash_Programming.sof under the
Flash_Restore
folder is used to program flash by
Quartus Programmer.