Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Problem with TCM

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
No RepliesBe the first to reply