Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

.rbf file

Altera_Forum
Honored Contributor II
3,574 Views

Hi, 

 

I am looking for information on creating a .rbf file. If our board goes dead, we would like to be able to boot it up via USB with just enough data to get the ethernet running, in which we can then redownload the software to flash on the fpga. Can we create a .rbf file with both the fpga configuration as well as nios data? Any help would be greatly appreciated. Thanks.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,814 Views

You can convert your sof into rbf file using 'Convert Programming File...' option under file menu of Quartus II. I dont think .elf of NIOS II would be converted into .rbf, but you can create flash file using elf2flash utility.

0 Kudos
Altera_Forum
Honored Contributor II
1,814 Views

Sorry to bring up a dead topic, but I was wondering the default save location for the .rbf files? I have configured under the "Device and Pins" option but no where after compilation do I see the .rbf file.

0 Kudos
Altera_Forum
Honored Contributor II
1,814 Views

 

--- Quote Start ---  

Sorry to bring up a dead topic, but I was wondering the default save location for the .rbf files? I have configured under the "Device and Pins" option but no where after compilation do I see the .rbf file. 

--- Quote End ---  

 

 

Hope this helps to answer an ancient question, @ryancte. For me the .rbf was not where I expected it, in the output_files directory where the .sof input file was, but in the parent directory, where the .qpf project file resides. 

 

Big thanks @Ketan for the answer. That dialog box was a bit intimidating at first but here are the settings I used: 

 

Programming file type: Raw Binary File (.rbf) 

File name: MyProjectName.rbf 

Input files to convert:  

  • click on SOF Data  

  • click Add File button  

  • navigate to the .sof file in the output_files directory  

 

Then click the Generate button.
0 Kudos
DKonz
Beginner
1,814 Views

It can be a permanent setting. I think all versions of Quartus are similar, but specifically Quartus 18.....

Open your project, then from the main screen, Click Assignments > Settings > Device/Board (button in top right corner of pop up window) > Device and Pin Options > Programming Files > Check the Raw Binary Files Check box

Then click OK at the bottom of the pop up window. It's buried good where it hard to find.

0 Kudos
Reply