How does one determine the address space of Nios II program in MAX 10 UFM when using .pof file for internal configuration?
In the current system, the Nios II reset vector is set to On-Chip Flash. After power up the Nios II program is loaded into an external DDR2 RAM from the flash and executes from there. For Max 10 internal configuration, a POF is created where the SOF and Nios program Hex file is combined.
The Max 10 flash memory is also required to be used to store settings sent to the system through ethernet so that, those settings are used the next time the system boots. Therefore, the UFM stores the Nios program and also the program settings that can be changed at runtime.
At present the program stops execution after a while and it is suspected that the settings written into flash at run time are overwriting the Nios program although it is not clear how this can be confirmed.
So how can one determine the address span of the Nios II program in Flash memory and also, how to determine where to write our settings data into the UFM?