Altera_Forum
Honored Contributor
10 years agoELF file size issue from Nios II
Hi,
I started learning FPGA. Bought MAX10 development kit which has 10M08SAE144C8GESE chip. I created basic system using Qsys guide. Imported qip file into Quartus and made a basic bsf file with one LED, Clk and Reset. Programmed sof into the kit and it worked. [ Only one LED is ON instead of 5, due to the hardware design ]. Now, I wanted to write a 'C' program using Nios II and download into FPGA. I configured only 30kB of on chip memory. [ If I go for 40kB, Quartus giving error as, insufficient memory] In Nios-II, i created a bsp for my MAX10 device with only [ small 'c' lib and limited drivers ]. My elf file size is 304kB :( so, Can I program my device with NiosII? Bcoz, for a very small program (infact noting in main) itself, 304kB of elf file generated. Can some one shed some light regarding this? Thanks !