Intel: I would like to use the Generic Serial Flash Interface IP inside the FPGA to write configuration data from the CPU outside the FPGA to the configuration ROM (MT25Q). What format should I use for the data file for writing?

Quartus Prime Configuration/Programming

Category: Configuration/Programming
Tools: Quartus® Prime
device:-

Generate and use a .rpd file when writing from an external CPU.

(Reference) Create .pof / .jic / .rpd with Programming File Generator
https://www.macnica.co.jp/business/semiconductor/articles/intel/134223/

The .rpd file is generated in little endian by default.
When writing to the configuration ROM, it must be byte-swapped and done in big endian.
Although it depends on the specifications of the CPU that performs the writing, consider the endian when generating.

(Reference) When using Nios® II for Remote System Update and writing configuration data to ROM from the Altera Serial Flash Controller, is there software available for Byte Swap?
https://www.macnica.co.jp/business/semiconductor/support/faqs/intel/128629/

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.