Load Program into ZYNQ's FLASH or SD-Card
This Document is mended to provide the procedure of programming ZYNQ based FPGAs through FLASH or SD-CARD. The Board used for this demo project is Xilinx Zynq based ZYBO board.
After creating Bare metal application SDK project directory is as follows.
1st step: Board Support Package Setting
1.Right click on Zynq_BareMetal_App_bsp and click Board Support Package Settings.
2.Tick to include xilffs click OK (This is required to create the FSBL which would be used in next step)
2nd Step: create the FSBL
Create a first stage bootloader (FSBL).
1.Select File > New > Application Project.
2.Enter zynq_fsbl as the project name, select the Use existing standalone Board Support Package option with hello_world_bsp, and click Next.
3.Select Zynq FSBL in the Available Templates pane and click Finish.
(A zynq_fsbl project will be created which will be used in creating the BOOT.bin)
3rd Step:Create Boot Image
1. You can create a new folder, such as image, to save boot files.
2.In the SDK, select Xilinx > Create Boot Image.
3. Select output bif with bin File path and file.
Note: Boot image partitions The order and settings of the three files in the file should be correct, and there will be hints if they are not.
Recommended by LinkedIn
4th Fourth step:Flash
1. If it is cured into Flash, first set the jumper to JTAG mode.
The Zybo board supports these configuration options:
· PS Configuration: Quad SPI flash memory
· PS Configuration: Processor System Boot from SD Card
· PL Configuration: USB JTAG configuration port
2. Select Xilinx > Program Flash.
3. Choose Image File, offset Set to 0, Flash Type FSBL File, Click Program
Blank check after erase with Verify after flash Optional, get lonely. in Console.
There will be a lot of useful information displayed:
Power Off the board and set Jumper JP5 to QSPI mode and restart the Board.
5th step: boot from SD card
In order to boot from SD card Just copy BOOT.bin file into your SD card formatted in FAT32.
ZYBO board Boot configurations are already listed earlier in the document.
· Set the Jumper JP5 to SD
For More Information
contact me: https://www.garudax.id/in/rafi-uzman-088a0711a/
Great