DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16LF1512-I/SP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LF1512-I/SP
Microchip
Microchip Technology 
PIC16LF1512-I/SP Datasheet PDF : 360 Pages
First Prev 91 92 93 94 95 96 97 98 99 100 Next Last
PIC16(L)F1512/3
11.3 Modifying Flash Program Memory
When modifying existing data in a program memory
row, and data within that row must be preserved, it must
first be read and saved in a RAM image. Program
memory is modified using the following steps:
1. Load the starting address of the row to be
modified.
2. Read the existing data from the row into a RAM
image.
3. Modify the RAM image to contain the new data
to be written into program memory.
4. Load the starting address of the row to be
rewritten.
5. Erase the program memory row.
6. Load the write latches with data from the RAM
image.
7. Initiate a programming operation.
FIGURE 11-7:
FLASH PROGRAM
MEMORY MODIFY
FLOWCHART
Start
Modify Operation
Read Operation
F(Figiguurere11x-.x2)
An image of the entire row read
must be stored in RAM
Modify Image
The words to be modified are
changed in the RAM image
Erase Operation
F(Figiguurere11x-.x4)
Write Operation
use RAM image
F(Figiugruere11x-.x5)
End
Modify Operation
DS40001624C-page 94
2012-2014 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]