Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

18F45K80 Datasheet(PDF) 21 Page - Microchip Technology

Part # 18F45K80
Description  Flash Microcontroller Programming Specification
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

18F45K80 Datasheet(HTML) 21 Page - Microchip Technology

Back Button 18F45K80 Datasheet HTML 17Page - Microchip Technology 18F45K80 Datasheet HTML 18Page - Microchip Technology 18F45K80 Datasheet HTML 19Page - Microchip Technology 18F45K80 Datasheet HTML 20Page - Microchip Technology 18F45K80 Datasheet HTML 21Page - Microchip Technology 18F45K80 Datasheet HTML 22Page - Microchip Technology 18F45K80 Datasheet HTML 23Page - Microchip Technology 18F45K80 Datasheet HTML 24Page - Microchip Technology 18F45K80 Datasheet HTML 25Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 52 page
background image
 2011 Microchip Technology Inc.
DS39972B-page 21
PIC18FXXK80 FAMILY
3.2
Code Memory Programming
Programming code memory is accomplished by first
loading data into the write buffer and then initiating a
programming sequence. The write and erase buffer
sizes, shown in Table 3-10, can be mapped to any
location of the same size beginning at 000000h. The
actual memory write sequence takes the contents of
this buffer and programs the proper amount of code
memory that contains the Table Pointer.
The programming duration is externally timed and is
controlled by PGC. After a Start Programming
command is issued (4-bit command, ‘1111’), a NOP is
issued, where the 4th PGC is held high for the duration
of the programming time, P9.
After PGC is brought low, the programming sequence
is terminated. PGC must be held low for the time
specified by Parameter P10 to allow high-voltage
discharge of the memory array.
The code sequence to program a PIC18FXXK80 family
device is shown in Table 3-11. The flowchart, shown in
Figure 3-6, depicts the logic necessary to completely
write a PIC18FXXK80 family device. The timing
diagram that details the Start Programming command,
and Parameters P9 and P10 is shown in Figure 3-4.
TABLE 3-10:
WRITE AND ERASE
BUFFER SIZES
FIGURE 3-4:
TABLE WRITE AND START PROGRAMMING INSTRUCTION TIMING (‘1111’)
Note:
The TBLPTR register must point to the
same region when initiating the program-
ming sequence as it did when the write
buffers were loaded.
All Devices
Write Buffer Size
in Bytes
Erase Buffer
Size in Bytes
PIC18FXXK80
64
64
12
3
4
12
15 16
12
3
4
PGC
P5A
PGD
PGD = Input
n
11
1
1
34
6
5
P9(1)
P10
Programming Time
nn
n
nn
n
n
00
12
0
00
16-Bit
Data Payload
0
3
0
P5
4-Bit Command
16-Bit Data Payload
4-bit Command
Note 1: Use P9A for User ID and Configuration Word programming.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com