Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Cyclone III Starter Board - build error: * overlaps section *

Altera_Forum
Honored Contributor II
1,122 Views

Hi, 

 

I have the Cyclone III Starter Board and I want to make a simple NIOS C/C++ application for this board. I chose the template count binary (but other templates also don't work). When I press "build" I get the following errors: 

 

ld: section .rodata overlaps section .exceptions count_binary_0 line 0 1254122024054 60 ld: section .rwdata overlaps section .text count_binary_0 line 0 1254122024054 61 

 

I think that I maybe use the wrong PTF-File (CIII_NiosII_Small.ptf, 56 KB)...? 

 

What else could be the problem? 

 

Regards, 

stefan__ 

 

______ 

 

nios: NIOS II Version: 8.0, Build: 214 

os: Windows Vista Enterprise 

fpga: Cyclone III 

 

______ 

 

edit: As I made the following steps it works: 

 

- Set System Library Properties like in this tutorial (http://www.nioswiki.com/cyclone_iii_-_nios_ii_-_starter_board

- Copy the PTF-File in your current project directory 

- remove the write protection from every file (in your current project directory)
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
444 Views

Try a PTF file from another example, I guess the CIII_NiosII_Small doesn't have enough memory to hold your code. 

Alternatively you can also try to compile with optimisations and a small C library to reduce the code size.
0 Kudos
Altera_Forum
Honored Contributor II
444 Views

Thanks for your response. 

 

 

--- Quote Start ---  

Alternatively you can also try to compile with optimisations and a small c library to reduce the code size. 

--- Quote End ---  

 

Yes, this is the same as explained here: 

http://www.nioswiki.com/cyclone_iii_-_nios_ii_-_starter_board
0 Kudos
Reply