Forum Discussion
There are a few problems with that approach. Here is a screenshot of our .map file. Below it is the screenshot of the Qsys system's flash memory component settings.
The address space in the .map file seems to encompass the entire flash memory. The Nios .hex file is only 282kB. This is not so big that it should fill the entire flash memory.
Therefore, it is concluded that the .map file does not give the information we are looking for.
The address space information in the .map file includes the ICB which starts at 0x0. This is not even present in the Qsys settings where we can see that the UFM sector 1 starts at 0x0. It is not clear why such discrepancy exists.
It is not clear what part of UFM can be used by us in our C program to store settings for the program.