Altera_Forum
Honored Contributor
18 years agoEPCS update by NIOS
Dear all,
I have a question about how to update the EPCS content by the NIOS : - updating the FPGA configuration data is no problem. I can generate a ".rpd" file and store this file into the EPCS flash. When I do this, I can indeed update the FPGA config data. - The ".rpd" file also contains 4 bytes telling us the length of the FPGA config. data. So, we know exactly where to store our NIOS config data (immediatly after the FPGA data) - The problem now is that I don't know how to make the binary file of the NIOS configuration data. I now use the command: nios2-elf-objcopy -O binary input_file.elf output_file.bin which gives me a binary file. This is the file I also used in the past for parallel flash devices. But, I think that this file isn't arranged for storing it into an EPCS flash. For the FPGA config data we have a "raw binary data" file (.rpd) which is different from the .rbf file. (for parallel flash devices) So, my question is if anybody know how to create a NIOS binary file for the EPCS flash? Not an S-record file. Kind regards Karel