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.

Problem with TCM

Altera_Forum
Honored Contributor II
1,421 Views

Hi everybody, 

 

I begin descibing our system: 

 

Quartus 5.01 

NIOS II 5.01 

64K TCM Instruction(Dual port memory--> 1 for I master and 1 for avalon data) 

Base address --> 0x02300000  

32K TCM Data 

Base address --> 0x02310000 

SDRAM Base adress --> 0x01000000 

ext_ram Base adress --> 0x02000000 

ext_flash Base address --> 0x00000000 

 

SOPC Settings: 

Reset address --> flash 

Exception address --> Instruction TCM/s1, offset 20 --> address: 0x02300020 

 

IDE settings: 

.text --> Instruction TCM/s1 

.rodata, .rwdata... --> DataTCM 

 

The linker gives the next error: 

 

section .text [02300020 -> 02305F83] overlaps section .exception [02300020 -> 0230001C7]. 

This error doesn't happen when both sections are located in SDRAM(this is the way we have it before using TCM).  

 

So to me it seems that if the sections are in SDRAM the linker knows how to locate them in order not to overlap. But if I put the two sections in a TCM the linker can not locate them. Is this a bug?? 

 

What´s the problem? Thanks in advance, 

Luis
0 Kudos
0 Replies
Reply