Intel: The following warning is displayed when specifying the initial value file (Word 245760, Size 32) to the Intel MAX® 10 User Flash Memory (UFM) and executing Synthesis. Is there a problem with the hex file?

MAX Nios II
<Warning message>
Warning (113006): Word addressed memory initialization file "***.hex" was read in the byte-addressed format File: /***.hex Line: 1
Warning (113015): Width of data items in "***.hex" is greater than the memory width. Wrapping data items to subsequent addresses. Found 245760 warnings, reporting 10 File: /***.hex Line: 1
Category: Quartus® Prime
Tools: Quartus® Prime
Device: MAX®10


The Addressing mode of the initial value file supported by the Altera On-Chip Flash IP core was as follows.

.hex: byte addressing
.mif: word addressing

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

Therefore, it is necessary to use byte (size = 8) when creating an initial value file in .hex.

In addition, since the Sector Address of the Altera On-Chip Flash IP Core's Flahs Memory is displayed as a byte address, it must be converted to a 32-bit address for the Avalon-MM interface.

(reference)
MAX10 User Flash Memory User Guide
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/max-10/ug_m10_ufm.pdf
(See 5.3.1 Sector Address.)

From the above, when initializing the Altera On-Chip Flash IP core in .hex, it must be generated with a size of 8bit.
 
 

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.