- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Help help help me
I work with NIOS II IDE 10.1 I already pass the SOPC genration, and then I want to use the NIOS II IDE for outputing "hello word" I can create the "my_first_hello_word" and "my_first_hello_word_bsp" When I build the project of "my_first_hello_word_bsp", it is OK. When I build the project of "my_first_hello_word", it has errors error is ********************************************** Description Resource Path Location Type my_first_hello_word.elf section `.text' will not fit in region `onchip_memory2' my_first_hello_word line 0 C/C++ Problem Description Resource Path Location Type make: *** [my_first_hello_word.elf] Error 1 my_first_hello_word line 0 C/C++ Problem Description Resource Path Location Type region `onchip_memory2' overflowed by 8964 bytes my_first_hello_word line 0 C/C++ Problem total three errors ************************************************ please help me thank you very muchLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
The error that says "...will not fit in region... " is probably because you are using the onchipmemory to store the mem sections of your program. You can try either use the small library option (in the BSP editor) or use a SDRAM or SSRAM (a bigger mem) to place the mem sections of your program (the mem where you want to place the mem sections of your program is also configurable in the BSP editor).- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right click on your project folder ,click on "bsp editor"
1) Unchecked "support C++" (if you just wanna see "hello world" in C) 2) Check "reduce device drivers" 3) Check "small C library"- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You give me a big help
Thank you very much It can work:)
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