- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm new to using SOPC and NIOS. I'm using Quartus II 10.0.
1. I've instantiated NIOS II procesoor, onchip_memory, jtag_uart in my project. 2. Chosen all default options 3. Auto assigned base addresses 4. Generated the sopc and compiled it in using quartus. Loaded teh .sof in our board using JTAG usb byte blaster 5. Invoked NIS II eclipse from SOPC builder 6. Created a nes "NIOS II Application and BSP from Template" 7. Selected HelloWorld template 8. Crated the applcation project(named MyNiosSwproject2) and _bsp project 9. Build the application_bsp project. No errors reported 10.hen I try to run, it asks for run configuration. I tried to created a new configuration for NIOS II hardware. It asks for the path of the .elf file. But theelf is not found in teh projects folder. 11. I tried to build the application project instead. This has reported teh following errors Description Resource Path Location Type make: *** [MyNiosSwproject2.elf] Error 1 MyNiosSwproject2 line 0 C/C++ Problem MyNiosSwproject2.elf: section .exceptions lma 0x4020 overlaps previous sections MyNiosSwproject2 line 0 C/C++ Problem MyNiosSwproject2.elf: section .text lma 0x41b4 overlaps previous sections MyNiosSwproject2 line 0 C/C++ Problem region onchip_memory2_0 is full (MyNiosSwproject2.elf section .text) MyNiosSwproject2 line 0 C/C++ Problem section .rodata [00004020 -> 0000406f] overlaps section .exceptions [00004020 -> 000041b3] MyNiosSwproject2 line 0 C/C++ Problem section .rwdata [00005ab8 -> 000074ff] overlaps section .text [000041b4 -> 000094d3] MyNiosSwproject2 line 0 C/C++ Problem Please suggest how this issue can be solved. thanks and regards, VaasundharaLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like your code footprint is larger than the memory you have allocated. I recommend looking at the Nios II software handbook and the various options you can use to reduce your memory footprint. Since you are working with the templates you can try the "hello world small" template to see the various setting changes in the BSP to reduce the footprint.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! I used "HelloWorldSmall" and it is working now. Yet to try out selecting different parameters for the memory.
regards, Vasundhara
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