Keil Logo

µVISION1: SPECIFYING CODE BANKS FOR BANK SWITCHING


Information in this article applies to:

  • µVision Version 1

QUESTION

How do I specify the code bank for source modules in my µVision project?

ANSWER

To set up code banking using the Keil µVision IDE:

  1. Under the 'Options' menu, select 'BL51 Code Banking Linker'.
  2. Select the 'Linking' tab.
  3. Under Target Options, check 'Code banking'.
  4. Select the 'Size/Location' tab.
  5. Enter the address range for the 'Bank Area'.

The bank number can be set for each source file in the project window.

  1. Under the 'project' menu, select 'Edit Project'.
  2. Select a file from the list of 'Source Files' (single-click the file name).
  3. At the bottom of the project window are several options for the selected source file, including 'Bank number'. Enter the bank number.

When you have set the bank numbers for all the source files, remember to click the 'Save' button before closing the project window.

MORE INFORMATION

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Saturday, July 9, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.