Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

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

Altera_Forum
Honored Contributor II
3,704 Views

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.
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
2,402 Views

Did you try Quartus => file => convert programming file ...

0 Kudos
Altera_Forum
Honored Contributor II
2,402 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,402 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,402 Views

What is the boot configuration of the FPGA ? AS,PS,PP... ?

0 Kudos
Altera_Forum
Honored Contributor II
2,402 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,402 Views

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
0 Kudos
Reply