| Electronic Components Datasheet Search |
|
PIC18F010T-I/P Datasheet(PDF) 52 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC18F010T-I/P Datasheet(HTML) 52 Page - Microchip Technology |
|
52 / 176 page ![]() PIC18F010/020 DS41142A-page 50 Preliminary 2001 Microchip Technology Inc. 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 ’55’ to EECON2. 11. Write 'AA’ to 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 Buffer Register TABLAT Write Reg. Program Memory (Column 0-7) TBLWT A=xxxxx1 Buffer Register TBLWT A=xxxxx0 Buffer Register TBLWT A=xxxxx2 Buffer Register TBLWT A=xxxxx3 (Column 8-15) (Column 16-23) (Column 24-31) |
|
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 |
| 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 |