PIC18F4420-E/ML Microchip Technology, PIC18F4420-E/ML Datasheet - Page 16
![IC MCU FLASH 8KX16 44QFN](/photos/6/81/68122/150-44-qfn_sml.jpg)
PIC18F4420-E/ML
Manufacturer Part Number
PIC18F4420-E/ML
Description
IC MCU FLASH 8KX16 44QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC18F2221-ISO.pdf
(46 pages)
2.PIC18F2420-IML.pdf
(412 pages)
3.PIC18F2420-IML.pdf
(16 pages)
4.PIC18F2420-IML.pdf
(8 pages)
5.PIC18F2420-IML.pdf
(6 pages)
6.PIC18F2420-IML.pdf
(8 pages)
7.PIC18F2420-IML.pdf
(4 pages)
Specifications of PIC18F4420-E/ML
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-VQFN Exposed Pad
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC18F2XXX/4XXX FAMILY
TABLE 3-3:
FIGURE 3-3:
DS39622L-page 16
Step 1: Direct access to code memory and enable writes.
Step 2: Point to first row in code memory.
Step 3: Enable erase and erase single row.
Step 4: Repeat Step 3, with the Address Pointer incremented by 64 until all rows are erased.
Command
0000
0000
0000
0000
0000
0000
0000
0000
0000
4-Bit
8E A6
9C A6
84 A6
6A F8
6A F7
6A F6
88 A6
82 A6
00 00
ERASE CODE MEMORY CODE SEQUENCE
Data Payload
SINGLE ROW ERASE CODE MEMORY FLOW
Addr = Addr + 64
BSF
BCF
BSF
CLRF
CLRF
CLRF
BSF
BSF
NOP – hold PGC high for time P9 and low for time P10.
EECON1, EEPGD
EECON1, CFGS
EECON1, WREN
TBLPTRU
TBLPTRH
TBLPTRL
EECON1, FREE
EECON1, WR
No
Start Erase Sequence
and Hold PGC High
Hold PGC Low
Core Instruction
for Time P10
Row Erases
for Time P9
Device for
Configure
done?
Start
Done
rows
All
Yes
Addr = 0
2010 Microchip Technology Inc.