[Arria 10SX] Fail to load QSPI flash using quartus_hps
Dear all,
I have a simple design using the HPS on an Arria 10 AS048. The HPS is only present to load the PL configuration at boot time using u-boot.
I generated a .rbf.img and a uboot-mkpimage.bin and I am trying to write them to a S25FS512 QSPI connected to the HPS configuration pins.
I could do this and make it work using a third party tool, but I am trying to do the same using quartus_hps in the command line like so :
(from the nios2 command shell)
$ quartus_hps -c 1 -o P -a 0x0 uboot-mkpimage.bin
$ quartus_hps -c 1 -o P -a 0x720000 pl.rbf.img
I am stuck at the first command because of the error shown in the attached file. The programming fails at different percentages each time.
I tried to mix in the "--boot=18" parameter with no success.
I also tried to do a $ quartus_hps -c 1 -o E which succeeds, but the writing to the flash still fails.
Does anyone have an idea about what I am missing?
Regards