ARM Technical Support Knowledge Articles

DISABLING AUTOMATIC BANK SWITCHING

Applies to: BL51 Code-banking Linker/Locator

Answer


Information in this article applies to:


QUESTION

I wish to implement my own bank switching mechanism. How can I disable the automatic bank switching generated by the linker for inter-bank function calls?

ANSWER

Use the NOJMPTAB (abbreviation: NOJT) directive. The linker will no longer modify function calls to jump to the bank switching code.

Using this directive has the following effects on the linker:

You must ensure that the correct bank is selected before making any inter-bank calls or jumps.

You may specify the directive in one of the boxes under the Additional tab in the BL51 Code Banking Linker Options in uVision.

MORE INFORMATION

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

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