User Profile
User Widgets
Contributions
Re: Is there a command-line function that can return the checksum of a .pof file?
Hi Richard, As I mentioned in the original post, that command does not seem to do what I'm looking for. Am I misunderstanding something? For example, that POF file that shows 08C5A46A in the Quartus GUI is calculated as CCB38226 when invoking that TCL command. CCB38226 is the CRC32 checksum of the POF file itself, which I can confirm with any other utility as well, but it is not the checksum that is displayed in the Quartus GUI or from the command line when programming the device. Regards, Jim3.1KViews0likes0CommentsRe: Is there a command-line function that can return the checksum of a .pof file?
Hi @BoonBengT_Altera , I'm currently using Quartus® Prime Programmer and Tools 22.1std.1.917. I do not have the full design suite installed, just that package. For further information, the automation I am trying to setup is for a manufacturing environment. My primary need is to automate configuration of devices from POF files, which is working nicely already, and secondly I would like to be able to report the expected device checksum by analyzing a POF file. (Either using an existing utility, or if I can understand the file format adequately I can write one myself.) Regards, Jim3.2KViews0likes0CommentsIs there a command-line function that can return the checksum of a .pof file?
I am trying to write some automation tooling that should be able to determine the checksum value of a POF file, preferably without connecting to a device. The value I am trying to get returned is the one displayed in Quartus Programmer when the file is opened: Screenshot highlighting the Checksum field This does not appear to be the checksum of the POF file itself; I believe it is the checksum of the object data contained within that Quartus is reporting. I have tried looking at the various utilities provided with Quartus Programmer. Unfortunately, I didn't have any luck finding a command that directly does this. I also couldn't find adequate documentation of the POF file format to help me understand how to write a utility to do it myself. The only thing I did find was a TCL command for calculating checksums... It works when I call it using quartus_sh --tcl_eval checksum <filename> . Unfortunately, it returns the checksum of the entire file rather than the one I'm looking for.3.3KViews0likes7Comments