Error (19117): QSPI Flash Programming Failed on AXE5-Eagle Board Using .jic File
Hi all,
I'm working with the AXE5-Eagle Agilex 5 development board and trying to program a .jic file that includes the .sof and U-Boot SPL (FSBL) using Quartus Prime Pro 24.2 on Linux.
I'm following the official AXE5-Eagle Linux flow from this GitHub link:
https://github.com/ArrowElectronics/Agilex-5/wiki/Command-Line-Linux-24.2
I generated the .jic using the following command:
quartus_pfg -c output_files/axe5_eagle_top.sof flash_image.hps.jic \
-o device=MT25QU128 \
-o flash_loader=A5ED065BB32AE4SR0 \
-o hps_path=~/u-boot-socfpga/spl/u-boot-spl.ihex \
-o mode=ASX4
Then I attempted to program it via JTAG using:
quartus_pgm -c 1 -m jtag -o "pvi;axe5_eagle_top_hps.jic@2"
But I get the following error during programming:
Error (19117): Programming failed on flash chip select 0 at address 0x00000000
Error (209012): Operation failed
Full log excerpt:
- Configuration of FPGA succeeds
- Flash erase starts, then fails at programming stage
I’ve confirmed:
- USB-Blaster is detected and working
- JTAG cable index is correct
- MSEL is currently set to JTAG (confirmed by behavior)
- .sof programming works fine via JTAG
Questions:
1. Is there a specific MSEL mode required to successfully program QSPI flash via JTAG?
2. Are there known issues with QSPI flash access on this board or Quartus 24.2?
3. Could U-Boot/SPL be holding the flash in a way that interferes with programming?
4. Any recommended `quartus.in` or cable speed settings for this setup?
Thanks in advance for any help or tips!