EasyManua.ls Logo

Altera Cyclone V - Features

Altera Cyclone V
30 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Related Information
Booting and Conguration
For more information about the NAND clocking options selected by Boot ROM based on CSEL pins, refer
to the Booting and Conguration chapter of the Cyclone V Technical Reference Manual.
Boot from FPGA
When booting from FPGA, the Boot ROM performs the following operations:
• Waits for FPGA to be congured and in user mode
• Veries that the Boot from FPGA was enabled in the FPGA fabric
• Jumps to address 0xC0000000, corresponding to oset 0 on the HPS-2-FPGA bridge
Note:
e conguration on the FPGA side needs to enable the signal notifying the HPS that a boot image
is available (f2h_boot_from_fpga_ready).
Note: No other checking, such as CRC of the image, is performed. No clocking conguration is
performed either, and the CSEL value is ignored.
FPGA Fallback Boot
When the Boot ROM did not successfully load any image, it tries to boot from an FPGA fallback image:
• Checks if the FPGA is congured and in user mode
• Veries that the fallback image was enabled in the FPGA fabric
• Jumps to address 0xC0000000, corresponding to oset 0 on the HPS-2-FPGA bridge
Note:
e conguration on the FPGA side needs to enable the signal notifying the HPS that an FPGA
fallback image is available (f2h_boot_from_fpga_on_failure).
Boot from RAM on Warm Reset
is scenario applies only for Warm resets. e Boot ROM can be instructed to directly jump to an image
already loaded in OCRAM with an optional CRC check for that image.
e following registers located in sysmgr (romcodegrp and warmramgrp) are used to set up the Boot from
RAM on Warm Reset:
• enable - Set bit 0 to enable Boot from RAM on Warm reset.
• datastart - Byte oset in OCRAM for the region to be CRC-validated. Needs to be 4 byte aligned.
• length - Size of OCRAM area to be CRC-validated, in 4 byte words. Set to 0 to disable the CRC
validation.
• execution - Byte oset in OCRAM where to jump to.
• crc - CRC value for the OCRAM area that is CRC-validated.
Note:
When booting from RAM, the Boot ROM does not do any initialization, including clocking and it
therefore ignores the CSEL pins.
Boot Clocks
e board on which the Cyclone V resides can have dierent clocking needs:
• OSC1 input clock can have dierent values
• Flash memories can have dierent clocking requirements
• Board layout may also impact the maximum ash speeds
AN-709
2016.01.27
Boot from FPGA
7
HPS SoC Boot Guide - Cyclone V SoC Development Kit
Altera Corporation
Send Feedback