Figure 11.3. Address Memory Map For Instruction Fetches (128 Kb Flash Only); Sfr Definition 11.1. Psbank: Program Space Bank Select - Silicon Laboratories C8051F12 Series Manual

8k isp flash mcu
Table of Contents

Advertisement

C8051F120/1/2/3/4/5/6/7 C8051F130/1/2/3

SFR Definition 11.1. PSBANK: Program Space Bank Select

R/W
R/W
-
-
Bit7
Bit6
Bits 7
6: Reserved.
Bits 5
4: COBANK: Constant Operations Bank Select.
These bits select which Flash bank is targeted during constant operations (MOVC and Flash
MOVX) involving addresses 0x8000 to 0xFFFF. These bits are ignored when accessing the
Scratchpad memory areas (see
00: Constant Operations Target Bank 0 (note that Bank 0 is also mapped between 0x0000 to
0x7FFF).
01: Constant Operations Target Bank 1.
10: Constant Operations Target Bank 2.
11: Constant Operations Target Bank 3.
Bits 3
2: Reserved.
Bits 1
0: IFBANK: Instruction Fetch Operations Bank Select.
These bits select which Flash bank is used for instruction fetches involving addresses 0x8000 to
0xFFFF. These bits can only be changed from code in Bank 0 (see Figure 11.3).
00: Instructions Fetch From Bank 0 (note that Bank 0 is also mapped between 0x0000 to
0x7FFF).
01: Instructions Fetch From Bank 1.
10: Instructions Fetch From Bank 2.
11: Instructions Fetch From Bank 3.
*Note: On the C8051F132/3, the COBANK and IFBANK bits should both remain set to the default setting of '01' to
ensure proper device functionality.

Figure 11.3. Address Memory Map for Instruction Fetches (128 kB Flash Only)

134
R/W
R/W
COBANK
Bit5
Bit4
Section "15. Flash Memory" on page 199
Internal
Address
IFBANK = 0
IFBANK = 1
0xFFFF
Bank 0
Bank 1
0x8000
0x7FFF
Bank 0
Bank 0
0x0000
Rev. 1.4
R/W
R/W
R/W
-
-
Bit3
Bit2
Bit1
IFBANK = 2
IFBANK = 3
Bank 2
Bank 3
Bank 0
Bank 0
R/W
Reset Value
IFBANK
00010001
Bit0
SFR Address:
0xB1
SFR Page:
All Pages
).

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F12 Series and is the answer not in the manual?

Questions and answers

Table of Contents