Keil Logo

User-Defined

The following configuration settings are required when user-defined banking is used (?B_MODE = 4).

Name Description
SWITCHx For each memory bank, you must create a macro that defines the bank switch code. The number of macros must be consistent with the ?B_NBANKS definition. For example, 4 banks require SWITCH0, SWITCH1, SWITCH2 and SWITCH3 macros. Each macro must generate exactly the same number of code bytes. If the sizes are different you must use NOP instructions to pad out the difference. You must also ensure that the CPU has selected a defined state at startup. The RTX51 real-time operating system does not support this banking mode.
  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.