ARM Technical Support Knowledge Articles

RELOCATING REGISTER BANKS

Applies to: L166 Linker/Locator

Answer


Information in this article applies to:


QUESTION

How can I relocate a register bank to another location in on-chip RAM? I have tried the following:

SECTIONS(myreg%REG (0xFD00))
SECTIONS(myreg%*REG* (0xFD00))

but they both give errors stating the section or register bank cannot be found.

ANSWER

You can relocate a register bank using the L166 REGBANK directive. For example, to relocate the register bank myreg to FD00H you would use:

REGBANK(myreg(0xFD00))

To set this directive in uVision:

MORE INFORMATION

Article last edited on: 2005-07-15 13:12:34

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