Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

How convert Hex file to SOF, POF or any format for use with USB Blaster

Hello in past I design aplication for FPGA, the programming is in system for a microporcessor, this take the information from memory flash and send to FPGA, this is OK, but I lost the design file and need programming for purposes of test with USB Blaster.

Only have the Hex file for programming flash memory, but not for use with USB Blaster.

The question is, exist any software or tool for convertion Hex file to SOF, POF or any USB Blaster support?.

Best regards and thank you.

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Converting a hex file to a sof or pof file isn't possible because the sof->hex conversion is lossy (though most of the things which are lost aren't that interesting - just dates and strings)

    You might be able to convert it to a pof file with a couple of hours work - the format is available on the web - start with a blank pof file for the right device and replace the contents of the appropriate section with the data from the hex file
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello, thank you, but I not see convertion for use with USB Blaster, only for EPC devices or CF, I can´t select USB Blaster and destination FPGA for download with ths tool

    Thank's and best regards
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello

    The programming in board is PPS, and this function is OK

    I start a revision of older design, and need verify with JTAG port, but I can´t verify with USB Blaster, I only have the hex file for Flash memory, for this reason I want convert hex file to sof or pof.

    In this moment work in the hex file for substitute the content in empty pof file

    But I apreciate if exist any other idea

    Thanks and best regards
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello again, try to attach the hex file to sof or pof files with hexadecimal editor and i can´t, Quartus show errors in file format.

    Please help me:)

    Best regards and thank you