Forum Discussion
Hi,
How was the rbf being program as rbf is meant for user own programmer and cannot be program by using Quartus?
On top of that, if .sof can be program, it does not mean PS setup is correct, hence might need to check the setup and follow the guide. There are a lot of possibility on why the .rbf cannot be programmed but .sof file can be programmed.
Below are the PFL guide example if you are using MAX series as host controller:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_pfl.pdf
Regards,
Aiman
Hi
As mentioned in the original post: rbf file data is sent serially to NIOS running in the bootloader application that writes the data into the EPCQ32A flash memory.
Secondly: As mentioned, the previous version of the project (Using the EPCQ32 on Quartus 15) did the job just fine. Also, the new version (Quartus 20.1 updating the IP's) writes the data byte-for-byte correct into the EPCQ32A device. We use the USB blaster to verify that the correct data is found in the flash device. Therefore programming the flash does not seem to be the problem at all. BTW - we can program both pof and sof as well as we can use the JTAG and serial programming interfaces, however we only use this during development.
Taken that the sof is OK, there are but a very few possibilities that the rbf goes wrong (you would agree), as generating the rbf is very simple. Generating the rbf with only the application.sof does not work, however doing the following does:
1) Generate an pof with both bootloader.sof and application.sof where the address of the application.sof is specified at xxx.
2) Cutting the data in the pof from address xxx +152 bytes into a new file and renaming it app.rbf does work.
See the picture below (Capture2) from a compare of the auto-generated (left) and the cut-from-pof (right) files. The header content is different, but also you will notice the three byte offset difference between the two files (FF FF FF that is found in red at the lower end of the picture). This offset is evident throughout the whole file, however the rest of the content is exactly the same.
- RHI5 years ago
New Contributor
Sorry, I missed placing the file
- BoonBengT_Altera5 years ago
Moderator
Hi @RHI,
Hi,
Good day and hope this message find you well, a quick check on the issues is it still persisting?
And is the device are you using? As for the .rbf generation, its has been generated via the GUI and there is some manual steps (i.e. cutting of data and rename to .rbf) involved? This steps are also used and working in the previous quartus 15? The comparison of the screenshot capture2 is from quartus15(left) and quartus20.1 (right)?Wamr regards
BB- BoonBengT_Altera4 years ago
Moderator
Hi @RHI,
Hope this message find you well, we are suspecting the different of flash configuration might be the cause, would suggest to try regenerating the pof via the GUI by select the configuration device as EPCQ32A, followed by same generation of rbf files. Here are also some guideline which highlight the different between the flash devices which might be useful. Please do try and let us know.
Unfortunately as we do not receive any response from you to the previous clarification that we have provided. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.
Thank you
Warm Regards
BB