To update the Nios® II program data stored in the onchip memory, I executed the Quartus® II Processing menu ⇒ Update Memory Initialization Files. The following warning is output. How should I deal with it?
warning message
Warning (113015): Width of data items in "NiosII_onchip_memory.hex" is greater than the memory width.
Wrapping data items to subsequent addresses. Found 8192 warnings, reporting 10
Category: Nios® II
Tools: Quartus® II
Device: MAX®10
You can safely ignore this warning.
If the memory data width and hex file record length do not match, this warning will be output, but even if there is a mismatch, the hex file will be expanded in memory normally, so there is no problem.
To remove the warning, add the --record=4 option to the elf2hex command described in mem_init.mk in the Nios® II SBT application folder and execute mem_init_generate again.
However, since the contents of mem_init.mk will be rewritten each time Generate BSP is executed, correction is required each time.
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.