![Terasic DE5-Net User Manual Download Page 61](http://html1.mh-extra.com/html/terasic/de5-net/de5-net_user-manual_1088509061.webp)
DE5-Net User Manual
June 20, 2018
61
3.
Power on the FPGA board.
4.
Copy the “Demonstrations/PFL/flash_programming_batch” folder under the CD to your
PC’s local drive.
5.
Execute the batch file flash_program_ub2.bat to start flash programming.
6.
Power off the FPGA Board.
7.
Set FPGA configure mode as FPPx32 Mode by setting SW6 MSEL[0:4] to 00010.
8.
Specify configuration of the FPGA to Factory Hardware by setting the FACTORY_LOAD
dip in SW5 to the ‘1’ position.
9.
Power on the FPGA Board, and the Configure Done LED should light.
Except for programming the Flash with the default code PFL, the batch file also writes PFL
(Parallel Flash Loader) Option Bits data into the address 0x30000. The option bits data specifies
0x20C0000 as start address of your hardware design.
The NIOS II EDS tool
nios-2-flash-programmer
programs the Flash based on the Parallel Flasher
Loader design in the FPGA. The Parallel Flash Loader design is included in the default code PFL
and the source code is available in the folder Demonstrations/ PFL in System CD.