TR5-F40W
User
Manual
55
June 20, 2018
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 SW7 MSEL[0:4] to 00010.
8.
Specify configuration of the FPGA to Factory Hardware by setting the FACTORY_LOAD
dip in SW5 to the upper 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.