Altera_Forum
Honored Contributor
16 years agoNewbie Q - physical memory required for program
Hi,
I built the first software package "Hello World" using the templates in the NIOS2 Eclipse IDE and was able to run it on the target. My question is how to find the size of the physical memory required to run this program on the NIOS2 system. I tried the command line utility "nios2-elf-size" utility and it showed me the various sections. But I am confused how to interpret the information that this utility provides (text data bss dec hex filename). Do I use the value reported for 'data' as the size of the physical memory required in bytes? The requirement I have for my project is the software should run on the "On Chip RAM" without using any external memory. Thanks in advance. -Ram