You can use the Flash Programming Tool in the Vitis IDE to program BOOT.BIN into the QSPI Flash. The Program Flash wizard in the Vitis
IDE provides an easy way to select files and programming modes. When the settings are ready, it can call the program_flash
command line tool to do the programming task. This is an easy-to-use method. You can also use JTAG to load U-Boot to DDR and use the U-Boot to program QSPI Flash. This method will be introduced in the next section.
Following the steps below, you can program QSPI Flash with the flash programming tool in the Vitis software platform:
Power on the ZC702 board in JTAG boot mode (SW16 = 00000).
Select Vitis → Program Flash in the Vitis Unified IDE.
Set the Image File to the BOOT.bin file.
Set the Flash Type to qspi-x4-single.
Enable Blank Check after Erase and Verify after flash.
Select Program.
Upon successful programming, a message appears in the Console window saying “Flash Operation Successful”.
Power off the board and boot it in QSPI boot mode (SW16=01000).