Forum Discussion
How to leave unused UFM Flash on MAX10 blank (0xFF)
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?
thank you
18 Replies
- Naji_Naufel_Arrow
Occasional Contributor
- JohnT_Altera
Regular Contributor
Hi,
Could you provide me your .sopcinfo file? May I know how do you set the sector 1 to be unused?
- Naji_Naufel_Arrow
Occasional Contributor
- Naji_Naufel_Arrow
Occasional Contributor
- JohnT_Altera
Regular Contributor
Hi,
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.
- Open the Hex file and use the default word size
- Highlight by dragging the starting location to the end location that you would like to modify
- Right click on the highlighted cell and select "Fill cells with 1's"
- Save the file
- Naji_Naufel_Arrow
Occasional Contributor
Thank you. I will try it.
- JohnT_Altera
Regular Contributor
Sure. Let me know if you have further queries.