- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello
I would like your help I am new to the Nios II environment alters need to create a new SOPC the code you get is this and create a new nios 2 application and bsp# include <stdio.h># include "system.h"# define switches (volatile char *) 0x0003000# define leds (char *) 0x0003010 int main() { while (1) *leds = *switches; } The errors I get are these luces.elf: section. exceptions lma 0x1020 overlaps previous sections luces.elf: section. 0x11b4 lma text overlaps previous sections make: *** [luces.elf] Error 1 onchip_memory2_0 region is full (luces.elf section. text) section. exceptions [00001020 -> 000011b3] overlaps section. Rodata [00001020 -> 00001053] section. rwdata [00002368 -> 0000367b] overlaps section. text [000011b4 -> 00003403]Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your onchip_memory is too small to contain your code. Either increase the sive of that memory, use an external memory, or reduce your code size by enabling the optimizations and using the small C library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks and fixed the memory that I collapsed but now I get these errors
make: *** [../haber/-recurs-make-lib] make[1]: *** [public.mk]- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have any error messages before that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
not only give me these two errors after fixing the memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I have no idea then...
Try to clean your project and rebuild it, or check that you don't have any spaces in your project path (this is a persistent bug)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello and solved the problem now gives me the error when I pass a plate says you can not download the file. Elf
The error I get is nios2-download: error: dog wrapper script only download one file at a time But first give me the run configuration failure Target connection
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