| Electronic Components Datasheet Search |
|
PIC16F15213 Datasheet(PDF) 104 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213 Datasheet(HTML) 104 Page - Microchip Technology |
|
104 / 408 page ![]() Figure 15-1. Program Flash Memory Read Sequence Filename: 10-000046D.vsd Title: FLASH PROGRAM MEMORY READ FLOWCHART Last Edit: 8/15/2016 First Used: PIC16(L)F15354/55 Note: Start Read Operation Select Memory: P rogram Memory, DIA, DCI, Config Words, User ID (NVMREGS) Select Word Address (NVMADRH:NVMADRL) Data read now in NVMDATH:NVMDATL End Read Operation Rev. 10-000046 E 5/17/2017 Example 15-1. Program Memory read * This code block will read 1 word of program * memory at the memory address: PROG_ADDR_HI : PROG_ADDR_LO * data will be returned in the variables: * PROG_DATA_HI, PROG_DATA_LO BANKSEL NVMADRL ; Select Bank for NVMCON registers MOVLW PROG_ADDR_LO MOVWF NVMADRL ; Store LSB of address MOVLW PROG_ADDR_HI MOVWF NVMADRH ; Store MSB of address BCF NVMCON1,NVMREGS ; Do not select Configuration Space BSF NVMCON1,RD ; Initiate read MOVF NVMDATL,W ; Get LSB of word MOVWF PROG_DATA_LO ; Store in user location MOVF NVMDATH,W ; Get MSB of word MOVWF PROG_DATA_HI ; Store in user location 15.3.2 NVM Unlock Sequence The unlock sequence is a mechanism that protects the NVM from unintended self-write programming or erasing. The sequence must be executed and completed without interruption to successfully complete any of the following operations: • PFM Row Erase • Write of PFM write latches to PFM memory • Write of PFM write latches to User IDs • Write to Configuration Words The unlock sequence consists of the following steps and must be completed in order: PIC16F15225/45 NVM - Nonvolatile Memory Control © 2020 Microchip Technology Inc. Preliminary Datasheet DS20006389B-page 104 |
|
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 |