Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSize of RAM needed to store NiosII code
Hi, I'm currently working on porting a project from an Altera Dev Board (Nios II Embedded Evaluation Kit, Cyclone III Edition) to a self-designed PCB board. Currently, I have some code fo...
Altera_Forum
Honored Contributor
15 years agoThe windows 'explorer' gives you the file size - this includes a lot of stuff that isn't loaded (symbol tables, debug info, etc).
'nios2-elf-size -A test_sram.elf' will give you the sizes of all the sections, butthe output from 'objdump -p' (program sections - for loader) and 'objdump -h' (elf sections) is normally more use. I suspect the heap size you have is the configured size, not the size used.