Forum Discussion
Altera_Forum
Honored Contributor
15 years agoAlberto,
The .flash files are really just SREC (SRecords), so their size is not what matters. It's the binary content they contain that really matters. Fortunately, there's an easy solution. binutils, included with the Nios II toolchain, has a utility called "size" which can determine the binary size of an SREC. Just type...nios2-elf-size <.flash file> ...from a Nios II Command Shell, and you'll know the actual amount of memory these files consume when programmed. Adding these together will give you the total size. Cheers, --slacker