- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I’m trying to fill an Intel ROM IP generated in Quartus with a Hex file also generated by Quartus. I want to generate a HEX file from a SOF File I have, that too was generated in Quartus. I go to File -> Convert Programming File to generate the file, but I don’t see the option for the HEX file format. I tried using the hexout files for the ROM generation, but get an error:
Error (127000): Can't read Memory Initialization File or Hexadecimal (Intel-Format) File output_file.hexout for ROM instance ALTSYNCRAM. If the file exists, it is not in correct format.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This isn't possible. A .hex for an on-chip RAM or ROM is created manually as a separate file (File menu -> New) and then incorporated into a .sof or other programming file. You can't extract a .hex from an existing programming file.
Convert programming file is only used to do just that: convert an existing programming file from one format to another.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My end goal is to write an external FPGA image file in the flash then use it with the Remote Update System to reprogram new FPGA versions. I have the RSU system working, and I can communicate with the Flash, but just trying to test out writing the SOF/POF data to the flash. I wanted to use a ROM to hold the data during testing phase, but not sure what's the best method for testing the flash writing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm, not sure on that then. I'm sure others can help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use various bin2hex tools for the conversion.
It's however not quite clear what you want to achieve. Why would you store .sof configuration file in on-chip ROM?
Or do you mean, you are converting .sof to .hexout with programming file generator tool? It's intended to program e.g. configuration flash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my final design I wanted my FPGA able to receive a new programming file from an external source (possibly a processor), the FPGA will then write the new programming file into flash (EPCQ128A in this case) and use the Remote Update System in conjunction with the flash to update the FPGA.
Currently in the testing phase I don't have my external source setup, so I wanted to try storing the new programming file into a ROM and write the ROM contents into the flash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see what you want to achieve, problem is however that memory capacity of embedded ROM is much smaller than configuration image size. You can't store a full configuration bit stream in embedded ROM, even if device utilization is low and image compressed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Understandable, I was planning on storing the data in mif files and supplying it to possibly 3 or 4 different ROM modules, hopefully this plan doesn't utilize all the available resources in the FPGA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would the hex translation of a .rbf file be a suitable version of the image to write to flash and be used with the Remote System update?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.rbf works for remote update, either binary or converted to hex. I have used hex remote update image in systems with UART interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe your initial inquiry regarding hex generation has been answered. Do you need any further assistance in regards to this case?
Regards,
Richard Tan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe your initial inquiry has been answered. If you have any follow up question, we recommend to file a new case for tracking purpose.
We prefer a new case for each unique technical problem, as it aids our case analysis and helps us assess our customer support requirements.
Thank you for your understanding.
Now, I will transition this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out.
Thank you and have a great day!
Best Regards,
Richard Tan

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page