ARM Technical Support Knowledge Articles

MEMORY SPACE OVERLAP WITH AT91SAM7 EXAMPLE

Applies to: ARM Development Tools

Answer


Information in this article applies to:


QUESTION

I am using the Keil CARM Compiler with the Atmel Evaluation Board AT91SAM7S. When I build the program HELLO for debugging in RAM (target AT91SAM7S RAM) then I get the following linker warning:

*** WARNING L30: MEMORY SPACE OVERLAP
    FROM:    00200000H
    TO:      00200040H

What is wrong here?

ANSWER

You are correct, the project is not correctly configured for the RAM target. However, you can easily correct this mistake by changing the selections as described below:

Now the project compiles without warnings.

The startup file SAM7S.S has several configuration options that are specified with the Assembler directive SET.

When both RAM_MODE and RAM_INTVEC are specified, the interrupt vectors are overlapping the startup code which gives the linker warning. You may also review the linker map file for analysis.

MORE INFORMATION

Article last edited on: 2005-07-15 09:35:17

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential