I use the UFM to store my NIOS code but I reserve Sector 1 (16kB) for data storage (Liker Script).
I use "Convert Programming File" to merge the .sof and .hex to make a .pof.
After configuration, any unused Flash location by the NIOS code is set to 0x00.
I need any unused Flash location to stay blank (0xFF), espetially the 16kB sector I reserve for data storage.
"Convert Programming File" does not allow me to add more .hex files.
I have the "initialize flash content" box checked in the Flash IP Core.
How do get sector 1 to remain blank (0xFF) at configuration time?
Is this done NSBT? How?
In Convert Programming Files:
Modifying the .hex is not as simple as find 00 and replace with FF. I have to calculate checksum for the end of every line on too many lines.
Isn't there a way for Quartus tools to do it?
I have check with engineering, unfortunately there is no way to implement it into the Nios II as the "make mem_init_generate" is automated from the tools.
I would recommend you to use Quartus to modify it.