Visible to Intel only — GUID: lro1432740991697
Ixiasoft
Visible to Intel only — GUID: lro1432740991697
Ixiasoft
5.2.1.2.1. Memcpy-based Boot Copier
- Locates the software application in non-volatile memory
- Unpacks and copies the software application image to Random Access Memory (RAM)
- Automatically switches processor execution to application code in RAM after copy completes
The boot image is located just right after the boot copier. You need to ensure the Nios II reset vector offset points to the start of the boot copier. Figure 47 shows the flash memory map for EPCS/ EPCQ flash when using a boot copier. This memory map assumes a FPGA image is also stored in the flash memory.
Figure 48 shows the memory map of a system designed for a Intel® MAX® 10 FPGA device using QSPI/UFM flash with the memcpy-based boot copier. Since the FPGA image (*.sof) is stored in the MAX10 CFM section, the boot copier is located at the base address of QSPI/UFM flash. Hence, the Nios II reset vector offset can be set to address 0x00000000 in Platform Designer.
The memcpy-based boot copier is automatically incorporated as part of the HEX file during the memory initialization file generation ("mem_init_generate") target in the " Nios® II Software Build Tools (SBT)" section.
For more information about mem_init_generate, refer to the " Nios® II SBT Makefile "mem_init_generate" Target" section.
<install_directory>/<version>/nios2eds/components/altera_nios2/boot_loader_sources