Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

литература / XL007 AX309 Manual

.pdf
Скачиваний:
0
Добавлен:
13.05.2026
Размер:
2.48 Mб
Скачать

Note: If no FPGA chip is detected at this time, check whether the adapter of the downloader is tightened, whether the cable is tightly plugged in, and whether the development board is powered on and whether the driver of the downloader is installed correctly.

Double-click the Xilinx chip and open the lcd_test.bit file in the 04_lcd_test directory in the pop-up navigation box.

Select No PDFin the pop-up dialog box for adding SPI FLASH.

Right-click on the chip and select Program to download the Bit file to the development board's FPGA.

 

 

 

 

 

 

 

After the download is complete, the interface will display Program

 

Succeeded, as shown in the following figure

 

 

In this way, our program is downloaded. Please observe the four LEDs

on the development board. If successful, a running light experiment will be

performed.

PDF

 

Here we need to explain that since we were shipped, there is already a

program that has been hardened into SPI FLASH. We used the JTAG mode

for the above test. If we re-power on, we will find that the program is still the

factory default DEMO program. This may be a problem for beginners. The

 

GAs

are based

on

SRAM

technology.

They are

problem is

that

downloaded via the JTAG mode. They only download the program into the

SRAM inside the FPGA. Therefore, after the power is turned off, the programs

 

 

 

 

 

 

 

 

we download through the JTAG mode will be lost. After re-powering, SPI

FLASH will automatically load the program into the FPGA.

 

If you

purchased a

4.3-inch

LCD

screen,

you can

download

flash_sdram_lcd.bit under the 09_VERILOG\18_flash_sdram_lcd directory so that the image stored in the SPI FLASH can be directly displayed on the LCD screen.

8.Restore the factory program
This concludes our JTAG download testing function.

Although the development board is configured with the SPI FLASH chip (we use the W25Q128) before leaving the factory, the DEMO factory program is fixed. However, the user erases and programs his own program during use and operation. We can use the following methods: Restore the factory program. The format of thePDFconfiguration file downloaded to the configuration chip is an MCS file. For how to convert the Bit file into an MCS file, refer to the fourth part of the document “Black Gold Sparten6 evelopment Board Verilog Tutorial V1.3.pdf”: Water Lamp Routines. Let us explain how to download the MCS file through the JTAG port to achieve the solidification of the program.

1). The development board is connected to the JTAG downloader and thenpowered on. The Xilinx Impact software is opened. The Initialize Chain establishes the JTAG connection and double-clicks the SPI/BPI icon to add the

MCS file.

2). Select the DEMO_A.mcs file in the 08_DEMO directory and open it.

3). Select the type of SPI FLASH as M25P16. This model needs to be consistent with the SPI FLASH model on the development board.

PDF

4). Right-click the FLASH icon and select Program.

5). In the pop-up property box, you can not select Verify in order to speed

up the programming process. Click OK to start flash programming.

 

 

 

 

 

PDF

 

6) Succeeded will appear after successful programming, and the board's

 

 

manufacturing process will be run immediately.