English
Language : 

PIC18F6585 Datasheet, PDF (363/496 Pages) Microchip Technology – 64/68/80-Pin High-Performance, 64-Kbyte Enhanced Flash Microcontrollers with ECAN Module
PIC18F6585/8585/6680/8680
FIGURE 24-5:
EXTERNAL BLOCK TABLE READ (EBTRn) DISALLOWED
Register Values
TBLPTR = 000FFFh
PC = 004FFEh
Program Memory
000000h
0007FFh
000800h
TBLRD *
003FFFh
004000h
Configuration Bit Settings
WRTB, EBTRB = 11
WRT0, EBTR0 = 10
WRT1, EBTR1 = 11
007FFFh
008000h
WRT2, EBTR2 = 11
00BFFFh
00C000h
WRT3, EBTR3 = 11
00FFFFh
Results: All table reads from external blocks to Block n are disabled whenever EBTRn = 0.
TABLAT register returns a value of ‘0’.
FIGURE 24-6:
EXTERNAL BLOCK TABLE READ (EBTRn) ALLOWED
Register Values
TBLPTR = 000FFFh
PC = 003FFEh
Program Memory
000000h
0007FFh
000800h
TBLRD *
003FFFh
004000h
Configuration Bit Settings
WRTB, EBTRB = 11
WRT0, EBTR0 = 10
007FFFh
008000h
WRT1, EBTR1 = 11
WRT2, EBTR2 = 11
00BFFFh
00C000h
WRT3, EBTR3 = 11
00FFFFh
Results: Table reads permitted within Block n even when EBTRBn = 0.
TABLAT register returns the value of the data at the location TBLPTR.
 2004 Microchip Technology Inc.
DS30491C-page 361