The following Critical Warning occurs when you convert the Nios® II software to a hex file with Intel: MAX® 10, set it to have it as the initial data of UFM, and compile it.

MAX Nios II

<Warning message>
Critical Warning (113013): Memory contents are already initialized at the specified addresses. Overwriting data. Found xx warnings, reporting xx .
Critical Warning (113008): Memory contents at address "1" are already initialized. Overwriting data at line (x) of Memory Initialization File "onchip_flash.hex".
Critical Warning (113008): Memory contents at address "2" are already initialized. Overwriting data at line (x) of Memory Initialization File "onchip_flash.hex".
Category: Nios® II
Tools: Quartus® Prime / Nios® II EDS
Device: MAX®10


A warning has occurred because the setting of addressing in the hex file is incorrect.
The hex file for UFM must be byte addressing.

(reference)
Intel® MAX® 10 User Flash Memory User Guide
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/max-10/ug_m10_ufm.pdf
(Table 7. Types of Flash Initialization File Supported)

If you create a hex file with Nios® II Software Build Tools for Eclipse (SBT) according to the following procedure, it will be created with byte addressing, so please try it.

(hex file creation procedure)
Right click the App project ⇒ Make Targets ⇒ Build... ⇒ After clicking "mem_init_generate" Build



Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.