Datasheet
2003-2013 Microchip Technology Inc. DS39609C-page 41
PIC18F6520/8520/6620/8620/6720/8720
REGISTER 4-1: CONFIG3L CONFIGURATION BYTE
FIGURE 4-2: MEMORY MAPS FOR PIC18F8X20 PROGRAM MEMORY MODES
R/P-1 U-0 U-0 U-0 U-0 U-0 R/P-1 R/P-1
WAIT — — — — —PM1PM0
bit 7 bit 0
bit 7 WAIT: External Bus Data Wait Enable bit
1 = Wait selections unavailable, device will not wait
0 = Wait programmed by WAIT1 and WAIT0 bits of MEMCOM register (MEMCOM<5:4>)
bit 6-2 Unimplemented: Read as ‘0’
bit 1-0 PM1:PM0: Processor Data Memory Mode Select bits
11 = Microcontroller mode
10 = Microprocessor mode
01 = Microcontroller with Boot Block mode
00 = Extended Microcontroller mode
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit, read as ‘0’
- n = Value after erase ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Microprocessor
Mode (MP)
000000h
1FFFFFh
External
Program
Memory
External
Program
Memory
1FFFFFh
000000h
On-Chip
Program
Memory
Extended
Microcontroller
Mode (EMC)
Microcontroller
Mode (MC)
000000h
External
On-Chip
Program Space Execution
On-Chip
Program
Memory
1FFFFFh
Reads
Boot+1
1FFFFFh
Boot
Microprocessor
with Boot Block
Mode (MPBB)
000000h
On-Chip
Program
Memory
External
Program
Memory
Memory Flash
On-Chip
Program
Memory
(No
access)
‘0’s
External On-Chip
Memory Flash
On-Chip
Flash
External
On-Chip
Memory Flash
Boundary Values for Microprocessor with Boot Block, Microcontroller and Extended Microcontroller modes
(1)
Note 1: PIC18F6X20 devices are included here for completeness, to show the boundaries of their Boot Blocks and program memory spaces.
Device Boot Boot+1 Boundary Boundary+1
Available
Memory Mode(s)
PIC18F6520 0007FFh 000800h 007FFFh 008000h MC
PIC18F6620 0001FFh 000200h 00FFFFh 010000h MC
PIC18F6720 0001FFh 000200h 01FFFFh 020000h MC
PIC18F8520 0007FFh 000800h 007FFFh 008000h MP, MPBB, MC, EMC
PIC18F8620 0001FFh 000200h 00FFFFh 010000h MP, MPBB, MC, EMC
PIC18F8720 0001FFh 000200h 01FFFFh 020000h MP, MPBB, MC, EMC
Boundary
Boundary+1
Boundary
Boundary+1