Restore Factory Settings - Terasic Mercury A2700 User Manual

Accelerator card
Hide thumbs Also See for Mercury A2700:
Table of Contents

Advertisement

MSEL[2:0] on the board is set to 3'b110 and the USB connection is setup from Host to
the USB blaster II port on the MA27 board). Before program the Flash, the system will
erase Flash contents first. After the programming step is completed, the users only
need to power cycle the board, and the user's design file will be automatically loaded
into the FPGA for execution.
 Erase Flash
When the users want to clear the design in QSPI Flash, they can execute
Erase_flash.bat to complete this action.
3.4

Restore Factory Settings

This section describes how to restore the original Factory image and User image into
the flash memory device on the FPGA development board. A programming batch file
located in the AVSTx8_Restored folder is used to restore the flash content.
Performing the following instructions can restore the flash content:
1.
Make sure the Quartus II EDS (Quartus 23.1 Pro edition or later) and
USB-Blaster II driver are installed.
2.
Set FPGA configuration mode as AVSTx8 Mode by setting SW4/5 MSEL[2:0]
to 110.
3.
Make sure the FPGA board and PC are connected with an USB Cable.
4.
Power on the FPGA board.
Copy the "Demonstrations/AVSTx8_Restored" folder under the CD to your
5.
PC's local drive.
6.
Execute the batch file AVSTx8_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 AVSTx8 Mode by setting SW4/5 MSEL[2:0]
to 110.
3.
Specify configuration of the FPGA to Factory Hardware by setting the
FACTORY_LOAD dip in SW4 to the '1' position.
4.
Power on the FPGA Board, and the Configure Done LED should light up.
Batch file sof_2_pof.bat merges the Factory and User .sof and PFL option bit into a
MA27
User Manual
92
www.terasic.com
February 17,
2024

Advertisement

Table of Contents
loading

Table of Contents