- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
i am compiling a Program using NIOSII EDS 10.0SP1. My (onchip-)Memory has a size of 49152Bytes. The Compiler tells me: Info: (cas02_PGM1.elf) 44 KBytes program size (code + initialized data). Info: 1796 Bytes free for stack + heap. But this are only about 46k?!? So i am missing 2kBytes... Can anybody help me? Thanks in advance PaddyLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So, you are using the On-Chip memory as the SDRAM for the Nios II?
In except of the 2k you are missing, can you load the hello-world programm or any other on the system you created?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
yes i am using the onchip-memory as the program-memory for my NIOS. When i modify the code (add some functions) the Complier displays the following: Info: (cas02_PGM1.elf) 46 KBytes program size (code + initialized data). Info: 2184 Bytes free for stack + heap. That is what i expected (48k). Any change in my code changes the free bytes (thats o.k), but sometimes free+used bytes are not the same as the size of my memory. I can reproduce this behaviour with other programs... Paddy
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page