Forum Discussion
Reading checksum of the rpd with FPGA
Would there be a method for the FPGA to verify the checksum of a .rpd file it receives serially?
I'm passing a rpd file to my FPGA to write into Flash and I want to make sure that the data is properly received. I've read where others have used tcl scripts and/or Quartus to read the checksum but didn't know if there was a particular area or the file itself that contained the information that maybe the FPGA could use to verify the file.
6 Replies
- NurAiman_M_Intel
Super Contributor
Hi,
Any further information needed for this case? Else, I will set this case to close for now.
Regards,
Aiman
- NurAiman_M_Intel
Super Contributor
Hi,
RPD is a bitstream which you can use write your own script to program into the flash. You cannot use Quartus Programmer to program RPD into flash. To validate the bistream, you can compare the data with the .map file. .map file can be generated during RPD file generating.
Regards,
Aiman
- Jcole
Occasional Contributor
Hi, Thank you for responding, but that's not quite what I'm asking. I wanted to know if there was a checksum associated with the rpd file. I'm serially passing my FPGA the hex translation of a .rpd file from my connected processor. The FPGA will then write the received rpd file to the flash memory. I just want to know if there is a method for the FPGA to check that the file was received from the processor correctly such as the checksum.
- FvM
Super Contributor
Why not add a e.g. crc32 to the file?
- NurAiman_M_Intel
Super Contributor
Hi,
We do not have that method.
To answer your question, if file was NOT received from the processor correctly, quartus programmer will not be 100% successful as you can see in the link below, page 6:
Hope this answer your questions.
Regards,
Aiman
- NurAiman_M_Intel
Super Contributor
We do not receive any response from you to the previous answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you