Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16F1526 Datasheet(PDF) 102 Page - Microchip Technology

Part # PIC16F1526
Description  64-Pin Flash Microcontrollers with nanoWatt XLP Technology
PDF  354 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F1526 Datasheet(HTML) 102 Page - Microchip Technology

Back Button PIC16F1526 Datasheet HTML 98Page - Microchip Technology PIC16F1526 Datasheet HTML 99Page - Microchip Technology PIC16F1526 Datasheet HTML 100Page - Microchip Technology PIC16F1526 Datasheet HTML 101Page - Microchip Technology PIC16F1526 Datasheet HTML 102Page - Microchip Technology PIC16F1526 Datasheet HTML 103Page - Microchip Technology PIC16F1526 Datasheet HTML 104Page - Microchip Technology PIC16F1526 Datasheet HTML 105Page - Microchip Technology PIC16F1526 Datasheet HTML 106Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 102 / 354 page
background image
PIC16(L)F1526/27
DS41458A-page 102
Preliminary
 2011 Microchip Technology Inc.
11.2.1
READING THE FLASH PROGRAM
MEMORY
To read a program memory location, the user must:
1.
Write
the
desired
address
to
the
PMADRH:PMADRL register pair.
2.
Clear the CFGS bit of the PMCON1 register.
3.
Then, set control bit RD of the PMCON1 register.
Once the read control bit is set, the program memory
Flash controller will use the second instruction cycle to
read the data. This causes the second instruction
immediately following the “BSF PMCON1,RD” instruction
to be ignored. The data is available in the very next cycle,
in the PMDATH:PMDATL register pair; therefore, it can
be read as two bytes in the following instructions.
PMDATH:PMDATL register pair will hold this value until
another read or until it is written to by the user.
FIGURE 11-1:
FLASH PROGRAM
MEMORY READ
FLOWCHART
TABLE 11-1:
FLASH MEMORY
ORGANIZATION BY DEVICE
Device
Row Erase
(words)
Write
Latches
(words)
PIC16(L)F1526
32
32
PIC16(L)F1527
Note:
The two instructions following a program
memory read are required to be NOPs.
This prevents the user from executing a
two-cycle
instruction
on
the
next
instruction after the RD bit is set.
Start
Read Operation
Select
Program or Configuration Memory
(CFGS)
Select
Word Address
(PMADRH:PMADRL)
End
Read Operation
Instruction Fetched ignored
NOP
execution forced
Instruction Fetched ignored
NOP
execution forced
Initiate Read Operation
(RD = 1)
Data read now in
PMDATH:PMDATL



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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