08-21-2019 02:53 AM
I have some firmware and software that I can configure the FPGA with using JTAG. Now I have problems creating a config file for the flash...
First, in Vivado I tried Tools -> Associate ELF files
with this error:
But there is! The Zynq MP is instantiated in a block design!
I found it's possible to add the ELF to the project as a source, but I'm not sure if it will be properly associated with the processor, will it?
Another thing I tried was Tools -> Generate memory configuration file. Then I have two problems:
a) I can only choose bit files, not ELF
b) It doesn't generate for dual qspi, why?
08-21-2019 03:42 AM
Associating the ELF files is used to place an ELF into a Microblaze Application memory (LMB bram, or AXI bram). So, this is why you get the error here.
If you are targgeting the SRM processor on the PSU and want to add the ELF, then you will need to add this ELF to the boot partition. The FSBL (First Stage Bootloader_ will be executed, this will load all the images in the boot partition (user can create this in SDK), and will handoff execution (in your case to your elf)
See Chapter 5