Forum Discussion
pof file size and address in flash
hello
I am trying to determine the beginning address and finale address of the pof in the flash
- how can I know where the pof file is stored in the flash,
is it different for every FPGA? - how can i know the size of the pof file stored in the flash?
Hi,
In your case the address in flash is 0x0 which is where it is stored. You may refer to this link for additional information :https://www.intel.com/content/www/us/en/docs/programmable/683698/21-1-19-1-0/implementing-page-in-the-flash-pof.html
Hope this clarifies your doubts.
Thank you.
Regards,
Kelly
22 Replies
- KellyJialin_Goh
Frequent Contributor
Hi,
I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within 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 on your follow-up questions.
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.
Thank you.
Regards,
Kelly Jialin, GOH
- KellyJialin_Goh
Frequent Contributor
Hi,
In your case the address in flash is 0x0 which is where it is stored. You may refer to this link for additional information :https://www.intel.com/content/www/us/en/docs/programmable/683698/21-1-19-1-0/implementing-page-in-the-flash-pof.html
Hope this clarifies your doubts.
Thank you.
Regards,
Kelly
- dvirbuc
New Contributor
Thanks.
This (with all the other comments) answered my question
- KellyJialin_Goh
Frequent Contributor
Hi,
Any updates from your side?
Regards,
Kelly
- dvirbuc
New Contributor
Hi,
sorry for the long reply.
@KellyJialin_Goh wrote:
When you are converting your .sof file to a .pof file, you must have chosen your configuration device, which is ready to store your .pof file there. There is no text file/ information showing the stored location as you have already chosen when you are converting. Here is a link for your reference on procedure of converting your .sof to .pof and the targeted flash devices: https://www.intel.com/content/www/us/en/docs/programmable/683698/21-1-19-1-0/converting-sof-files-to...
I didn't use this tool. Quartos generated a .pof file automatically.
@KellyJialin_Goh wrote:
There is no text file/ information showing the stored location as you have already chosen when you are converting
If so, how the programer tool know where to store the pof file in the flash.
thanks
- KellyJialin_Goh
Frequent Contributor
Hi,
When you are converting your .sof file to a .pof file, you must have chosen your configuration device, which is ready to store your .pof file there. There is no text file/ information showing the stored location as you have already chosen when you are converting. Here is a link for your reference on procedure of converting your .sof to .pof and the targeted flash devices: https://www.intel.com/content/www/us/en/docs/programmable/683698/21-1-19-1-0/converting-sof-files-to-a-pof.html
Hope this could help.
Thank you.
Regards,
Kelly
- KellyJialin_Goh
Frequent Contributor
Hi,
I have found a similar community thread where you should be able to determine the pof file size with the link here:
Hope this clarifies your doubts.
Thank you.
Regards,
Kelly
- dvirbuc
New Contributor
Thanks. It helped a bit.
But I still don't know where in the flash the pof is stored.
And in my pof file the last section does not have Page_0 but has:
bICB 00000000 00010000;
mCFM0 00072000 00780000;
tUFM 00002000 00380000;
thanks
- KellyJialin_Goh
Frequent Contributor
Hi,
The .map file is not present as your project did not generate your pof file for EPC4, EPC8, or EPC16 flash configuration device to store the byte address. Therefore you will not be able to see the stored byte address or the size of your .pof file and no .map is auto generated.
Hope this clarifies your doubts.
Thank you.
Regards,
Kelly
- dvirbuc
New Contributor
Hello,
@KellyJialin_Goh wrote:
and no .map is auto generated.
Can I generate .map file myself?
Can I obtain the memory address and size in any other way?
Because the programmer tool need to know the address and size of the pof file I assume it is stored somewhere or am I wrong?
- ak6dn
Regular Contributor
This OP's issue has nothing to do with NIOS II Eclipse, it is related to Quartus generating a config PROM image.
When Quartus generates such an FPGA image for a config PROM it should also generate a .map file showing the PROM layout.
- KellyJialin_Goh
Frequent Contributor
Hi,
With the output files generated from the screenshot, the .map files is not present as your compilation was not on the NIOS II Eclipse side, but only on Quartus prime.
Maybe you could try compiling your project on NIOS II Eclipse to see whether the .map file is auto generated.
Hope to hear on your findings.
Thank you.
Regards,
Kelly
- ak6dn
Regular Contributor
What about in the output_files directory? Is that where you have Quartus place your generated files?
- dvirbuc
New Contributor
as I said earlier:
I searched in the directory \..\my_project\output_files (where the .sof\.pof file are stored) , and there are no files with .map extension... there are: my_design.map.rpt, my_design.map.summary, and they are the Analysis & Synthesis report.
- KellyJialin_Goh
Frequent Contributor
Hi,
Could you try to just click on your design file, and don't go into the output files directory. It should be available once you click on your design file. and you will see a .map file. You can open it with notepad/notepad++ and scroll down to the Memory configuration to check the address in flash.
I will attach some screenshots on the file location and the memory configuration that contains information of the flash.
Thank you.
Regards,
Kelly
- dvirbuc
New Contributor
Sorry, but I still can't find the design.map file.
What do you mean by
Could you try to just click on your design file
In my project directory I have only this files:
do I need to search in another directory? I have also searched in the Quartos directory.
Can I view the .map file from quartus itself?
thanks
- KellyJialin_Goh
Frequent Contributor
Hi,
Kindly find the screenshot of the .map file location here after you click on your design file(mine is hello_world2nd)
Once you open the file with notepad/notepad++, you may search for the memory configurations part to check out the information needed, and a screenshot of how the memory configurations look like:
Hope you manage to find these files and clear your doubts.
Thank you.
Regards,
Kelly