PIC18F-LF1XK50 MICROCHIP [Microchip Technology], PIC18F-LF1XK50 Datasheet - Page 29

no-image

PIC18F-LF1XK50

Manufacturer Part Number
PIC18F-LF1XK50
Description
20-Pin USB Flash Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
3.0
There are three types of memory in PIC18 Enhanced
microcontroller devices:
• Program Memory
• Data RAM
• Data EEPROM
As Harvard architecture devices, the data and program
memories use separate busses; this allows for concur-
rent access of the two memory spaces. The data
EEPROM, for practical purposes, can be regarded as
a peripheral device, since it is addressed and accessed
through a set of control registers.
Additional detailed information on the operation of the
Flash program memory is provided in
“Flash Program
discussed separately in
Memory”.
FIGURE 3-1:
 2010 Microchip Technology Inc.
MEMORY ORGANIZATION
Program Memory
PIC18F13K50
CALL,RCALL,RETURN
RETFIE,RETLW
Read ‘0’
On-Chip
Memory”. Data EEPROM is
PROGRAM MEMORY MAP AND STACK FOR PIC18F/LF1XK50 DEVICES
Section 5.0 “Data EEPROM
1FFFh
2000h
Program Memory
PIC18F14K50
Read ‘0’
On-Chip
High Priority Interrupt Vector
Low Priority Interrupt Vector
PIC18F1XK50/PIC18LF1XK50
Section 4.0
Stack Level 31
3FFFh
4000h
Stack Level 1
Reset Vector
PC<20:0>
Preliminary
3.1
PIC18 microcontrollers implement a 21-bit program
counter, which is capable of addressing a 2-Mbyte
program memory space. Accessing a location between
the upper boundary of the physically implemented
memory and the 2-Mbyte address will return all ‘0’s (a
NOP instruction).
This family of devices contain the following:
• PIC18F13K50: 8 Kbytes of Flash Memory, up to
• PIC18F14K50: 16 Kbytes of Flash Memory, up to
PIC18 devices have two interrupt vectors and one
Reset vector. The Reset vector address is at 0000h
and the interrupt vector addresses are at 0008h and
0018h.
The program memory map for PIC18F/LF1XK50
devices is shown in
are shown in
4,096 single-word instructions
8,192 single-word instructions
Program Memory Organization
21
Figure
Figure
24-2.
3-1. Memory block details
0000h
0008h
0018h
1FFFFFh
200000h
DS41350E-page 29

Related parts for PIC18F-LF1XK50