PIC18LF13K22 Microchip Technology, PIC18LF13K22 Datasheet - Page 23

no-image

PIC18LF13K22

Manufacturer Part Number
PIC18LF13K22
Description
(PIC18F1xK22) Flash Microcontrollers
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF13K22-I/ML
Manufacturer:
CAVIUM
Quantity:
155
Part Number:
PIC18LF13K22-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
www.DataSheet4U.com
5.2
The verify step involves reading back the code memory
space and comparing it against the copy held in the
programmer’s buffer. Memory reads occur a single byte
at a time, so two bytes must be read to compare
against the word in the programmer’s buffer. Refer to
Section 5.1 “Read Code Memory, ID Locations and
Configuration Bits” for implementation details of
reading code memory.
FIGURE 5-2:
© 2008 Microchip Technology Inc.
Verify Code Memory and ID
Locations
No
with Post-increment
with Post-increment
Set TBLPTR = 0
Read High Byte
Read Low Byte
Word = Expect
code memory
verified?
data?
Does
VERIFY CODE MEMORY FLOW
Start
All
Yes
Yes
No
Failure,
Report
Error
Advance Information
PIC18F1XK22/LF1XK22
Increment
Pointer
The Table Pointer must be manually set to 200000h
(base address of the ID locations) once the code
memory has been verified. The post-increment feature
of the table read 4-bit command can not be used to
increment the Table Pointer beyond the code memory
space. In a 64-Kbyte device, for example, a post-incre-
ment read of address FFFFh will wrap the Table Pointer
back to 000000h, rather than point to unimplemented
address, 010000h.
No
Set TBLPTR = 200000h
with Post-Increment
with Post-Increment
Read High byte
Read Low Byte
Word = Expect
ID locations
verified?
data?
Done
Does
All
Yes
Yes
No
DS41357A-page 23
Failure,
Report
Error

Related parts for PIC18LF13K22