English
Language : 

PIC18F97J60_11 Datasheet, PDF (80/492 Pages) Microchip Technology – 64/80/100-Pin, High-Performance, 1-Mbit Flash Microcontrollers with Ethernet
PIC18F97J60 FAMILY
6.1.4
EXTENDED MICROCONTROLLER
MODE AND ADDRESS SHIFTING
By default, devices in Extended Microcontroller mode
directly present the program counter value on the
external address bus for those addresses in the range
of the external memory space. In practical terms, this
means addresses in the external memory device below
the top of on-chip memory are unavailable.
To avoid this, the Extended Microcontroller mode
implements an address shifting option to enable auto-
matic address translation. In this mode, addresses
presented on the external bus are shifted down by the
size of the on-chip program memory and are remapped
to start at 0000h. This allows the complete use of the
external memory device’s memory space.
FIGURE 6-3:
MEMORY MAPS FOR PIC18F97J60 FAMILY PROGRAM MEMORY MODES
Microcontroller Mode(1)
Extended Microcontroller Mode(2)
Extended Microcontroller Mode
with Address Shifting(2)
On-Chip
Memory
Space
000000h
On-Chip
Program
Memory
(Top of Memory)
(Top of Memory) + 1
External
Memory
Space
No
Access
Reads
‘0’s
External
Memory
On-Chip
Memory
Space
000000h
On-Chip
Program
Memory
(Top of Memory)
(Top of Memory) + 1
External
Memory
Space
External
Memory
Mapped
to
External
Memory
Space
On-Chip
Memory
Space
000000h
On-Chip
Program
Memory
(Top of Memory)
(Top of Memory) + 1
Mapped
to
External
Memory
Space
1FFFFFh –
(Top of Memory)
1FFFFFh
1FFFFFh
1FFFFFh
Legend:
Note 1:
2:
(Top of Memory) represents upper boundary of on-chip program memory space (see Figure 6-1 for device-specific
values). Shaded areas represent unimplemented or inaccessible areas depending on the mode.
This mode is the only available mode on 64-pin and 80-pin devices and the default on 100-pin devices.
These modes are only available in 100-pin devices.
TABLE 6-2: MEMORY ACCESS FOR PIC18F9XJ60/9XJ65 PROGRAM MEMORY MODES
Operating Mode
Internal Program Memory
Execution Table Read Table Write
From
From
To
External Program Memory
Execution Table Read Table Write
From
From
To
Microcontroller
Yes
Yes
Yes
No Access No Access No Access
Extended Microcontroller
Yes
Yes
Yes
Yes
Yes
Yes
DS39762F-page 80
 2011 Microchip Technology Inc.