Hi @YuanLi_S_Intel
>> First of all, if you are using RBF file, you need to write your own controller to do programming and configuration as PFL IP is not supporting RBF file.
Q/ Is this still the case ?
Found the following comments by @ShafiqY_Intel who replied to another user the following :
Yes, PFL is able to configure the FPGA with .rbf file if only you convert POF to rbf. (not SOF to rbf). You no need to write extra Option Bits to the flash device (in rbf file already include Option Bits (in binary form) )
1) converting .pof to .hexout
quartus_cpf -c <pof_file_base_name>.pof <hex_file_base_name>.hexout
2) Then convert .hexout to .rbf using nios2_elf_objcopy command on the NIOS II command shell
nios2-elf-objcopy –I ihex –O binary <input file>.hexout <output file>.rbf
--
1) I found the way to convert from .pof to .hexout on the quartus command window because above quartus_cpf command was not recognised :
Invoke Quartus. Load the project
cd into the directory where the .pof file is
Then execute the following in the command window :
execute_module -tool cpf -args "-c *.pof *.hexout"
I am not using the NIOS II processor just a CPLD with the PFL instantiated within it and an FPGA Cyclone V (no NIOS II processor is used within the FPGA)
Where can I execute the 2nd nios2_elf_objcopy command:
nios2-elf-objcopy –I ihex –O binary <input file>.hexout <output file>.rbf
Do I need a special NIOS II command shell? If yes, how do I get this ?
=> Looks like I need to get the NIOS II command shell up to be able to type above NIOS II command.
I have the following directory:
C:\intelFPGA_lite\20.1.0\nios2eds
Inside it contains:
- NIOS II Command Shell.bat
- nios2_command_shell.sh (Is this the Unix version?)
- version.ptf
Need the windows command shell version.
Clicked on the "NIOS II Command Shell.bat" executable but window opens and closes instantly. I also tried to give administrator right permission but see same behaviour (ie Command Shell prompt window instantly closes after it is opened)
Need assistance here please..
I asked @ShafiqY_Intel the same question.
Regards,
Kevin