Introduction
One of the most significant advantages of the Zynq UltraScale+ platform is flexibility; you’re not locked into a single boot method.
But that flexibility also raises a key question: should you boot from QSPI flash or an SD card? The answer depends on speed, security, and how often your design changes.
This guide walks you through the entire boot process, from building the image to testing it on standard development boards. You will also see how to read data from an SD card after the board has started.
Quick Overview of the Zynq UltraScale+ Platform

The Zynq UltraScale+ family combines a processing system and programmable logic in one device. The processing system includes ARM Cortex-A53 cores and essential peripherals. The programmable logic allows developers to add custom hardware tailored to meet project needs.
At power-on, a built-in BootROM checks the selected boot mode. It then loads the first stage boot loader, known as the FSBL, from the chosen source. Boards such as the ZYBO or ZCU102 allow flexible testing of these options.
Developers can run projects that read SD card data on ZYBO or verify QSPI boot performance. Because the platform supports several boot modes, understanding how the BootROM selects the correct image is key.
The process is the same whether the system starts from on-board QSPI flash or from an external SD card.
Understanding Boot Options and Flow

Booting a Zynq UltraScale+ follows a fixed sequence. After power-on, the BootROM reads the boot mode pins and selects a source. It then loads the FSBL from that source into the processing system. The FSBL configures the hardware, loads the bitstream for programmable logic if needed, and starts the user application.
The core boot image is a file named BOOT.BIN. It contains the FSBL, optional bitstream, and application binaries. The key difference between QSPI and SD boot is the storage location of this file.
When choosing a boot method, consider the following factors:
- Speed: QSPI flash is faster.
- Update convenience: SD card allows quick changes.
- Cost: SD cards are inexpensive.
- Security: QSPI flash can be secured more easily.
Knowing this flow ensures a smooth setup, whether you prefer the speed of QSPI or the flexibility of an SD card.
Booting from QSPI Flash

QSPI flash is the go-to boot method for production systems. It offers fast startup, strong security, and eliminates the need for removable media to manage. Most Zynq UltraScale+ boards include on-board QSPI memory.
Steps to Boot
Boot Modes
Boot Mode | Mode Pins [3:0] | Pin Location | CSU Mode | Description |
PS JTAG | 0000 | JTAG | Slave | PSJTAG interface,PS dedicated pins. |
Quad-SPI (24b) | 0001 | MIO[12:0] | Master | 24-bit addressing (QSPI24). |
Quad-SPI (32b) | 0010 | MIO[12:0] | Master | 32-bit addressing (QSPI32). |
SD0 (2.0) | 0011 | MIO[25:21,16:13] | Master | SD 2.0. |
NAND | 0100 | MIO[25:09] | Master | Requires 8-bit data bus width. |
SD1 (2.0) | 0101 | MIO[51:43] | Master | SD 2.0. |
eMMC (1.8V) | 0110 | MIO[22:13] | Master | eMMC version 4.5 at 1.8V. |
USB0 (2.0) | 0111 | MIO[52:63] | Slave | USB 2.0 only. |
PJTAG (MIO #0) | 1000 | MIO[29:26] | Slave | PJTAG connection 0 option. |
PJTAG (MIO #1) | 1001 | MIO[15:12] | Slave | PJTAG connection 1 option. |
SD1 LS (3.0) | 1110 | MIO[51:39] | Master | SD 3.0 with a required SD 3.0 compliant voltage level shifter. |
- Set mode pins/jumpers → Switch to QSPI mode (check your board manual).
- Create BOOT.BIN → In Vitis or Vivado, combine the FSBL, optional bitstream, and application.
- Program the QSPI flash → Use Vivado Hardware Manager or XSCT to write the image to the correct address.
- Power cycle and test → Restart the board to confirm QSPI boot.
Pros of QSPI Boot
- Fast startup compared to SD card boot.
- Better security. Supports encryption and authentication.
- On-board storage. No removable media required.
- Reliable for production where firmware rarely changes.
Cons of QSPI Boot
- Less flexible. Updating firmware requires reprogramming tools.
- Slower development workflow compared to swapping an SD card.
- Risk of corruption if power loss occurs during flash programming.
Choose QSPI flash boot once your design is stable and ready for deployment. It’s the professional option for products that demand quick startup and secure storage.
Booting from an SD Card
SD card boot is the simplest and most flexible method for getting a Zynq UltraScale+ up and running. It’s especially useful in development, prototyping, and testing phases where updates are frequent.
Steps to Boot
- Prepare the SD card → Format as FAT32 with one primary partition.
- Create BOOT.BIN → Use Vitis or Vivado to combine the FSBL, optional bitstream, and application.
- Copy to card → Place BOOT.BIN in the root directory.
- Set boot mode → Adjust jumpers or mode pins to select SD boot.
- Insert and power up → The BootROM loads BOOT.BIN from the SD card.
Pros of SD Boot
- Easy updates, just replace BOOT.BIN.
- Large, low-cost storage.
- Perfect for prototyping and frequent iterations.
- Widely supported across boards.
Cons of SD Boot
- Slower startup than QSPI flash.
- Lower security removable media can be cloned.
- Reliability varies with card quality.
- A physical card can be lost or damaged.
Use SD boot for early development and rapid testing, then switch to QSPI for production.
Choosing Between QSPI and SD Boot
Selecting the proper boot method depends on project needs. QSPI flash provides high speed and strong security. SD card boot offers easy updates and more storage.
| Feature | QSPI Flash | SD Card Boot |
Boot speed | Fast | Moderate |
Update convenience | Requires reprogramming | Simple file copy |
Security | Strong with encryption | Lower if the card is removable |
Cost | Higher chip cost | Low and widely available |
Use QSPI flash when releasing a product that must start quickly and resist tampering. Choose SD boot during design phases or when firmware changes are frequent. Many teams begin with SD boot for flexibility, then shift to QSPI flash when the design is stable.
Practical Tips and Troubleshooting
Several issues can prevent a successful boot. Incorrect jumper settings often cause problems, so verify the mode pins first. Ensure the BOOT.BIN file is in the root directory of the SD card or correctly programmed into QSPI flash. Format SD cards as FAT32; anything else usually causes boot failures.
If the board fails to start, connect a UART cable and open a serial console. Boot messages help identify missing files or configuration mistakes. Check the image creation logs from Vitis or Vivado to confirm all required binaries are included.
For SD cards, opt for high-quality brands that offer consistent write speeds. For QSPI flash, avoid power loss during programming to prevent corruption. Following these steps helps maintain a reliable boot process.
Final Words
Zynq UltraScale+ devices can boot from QSPI flash or an SD card, and each option fits different project stages. SD boot supports fast changes during testing, while QSPI flash provides speed and security for final products.
For dependable cards and flash that save hours of debugging, check out MRT3C. Quality storage ensures that your boot process remains stable, whether you are developing or shipping a finished design.






