Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

PIC18F010T-I/P View Datasheet(PDF) - Microchip Technology

Part Name
Description
MFG CO.
PIC18F010T-I/P
Microchip
Microchip Technology Microchip
'PIC18F010T-I/P' PDF : 176 Pages View PDF
PIC18F010/020
The sequence of events for programming an internal
program memory location should be:
1. Read 32 bytes of row into RAM.
2. Update data values in RAM, as necessary.
3. Load Table Pointer with address of row being
erased.
4. Perform the row erase procedure.
5. CPU will stall for duration of the erase (about
2ms using internal timer).
6. Load Table Pointer with address first byte of row
being written.
7. Set WREN bit to enable writes and set EEPGD
bit to point to program memory.
8. Write first 3 bytes into table latches with auto-
increment. Write the last byte without auto-
increment.
9. Disable interrupts.
10. Write 55to EECON2.
11. Write 'AAto EECON2.
12. Set the WR bit. This will begin the write cycle.
13. CPU will stall for duration of the write (about 2ms
using internal timer).
14. Repeat steps 7-13, 8 times total to write 32
bytes.
15. Verify the memory row (Table Read).
This procedure will require about 18msec to update 1
row of 32 bytes of memory.
FIGURE 6-3:
TABLE WRITES TO INTERNAL PROGRAM MEMORY
(Column 24-31)
Program Memory
(Column 16-23)
(Column 8-15)
(Column 0-7)
Buffer Register
TBLWT
A=xxxxx3
Buffer Register
TBLWT
A=xxxxx2
Buffer Register
TBLWT
A=xxxxx1
Buffer Register
TBLWT
A=xxxxx0
TABLAT Write Reg.
DS41142A-page 50
Preliminary
2001 Microchip Technology Inc.
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]