数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PIC12F1501-I 数据表(PDF) 89 Page - Microchip Technology

部件名 PIC12F1501-I
功能描述  8-Pin Flash, 8-Bit Microcontrollers
Download  278 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

PIC12F1501-I 数据表(HTML) 89 Page - Microchip Technology

Back Button PIC12F1501-I Datasheet HTML 85Page - Microchip Technology PIC12F1501-I Datasheet HTML 86Page - Microchip Technology PIC12F1501-I Datasheet HTML 87Page - Microchip Technology PIC12F1501-I Datasheet HTML 88Page - Microchip Technology PIC12F1501-I Datasheet HTML 89Page - Microchip Technology PIC12F1501-I Datasheet HTML 90Page - Microchip Technology PIC12F1501-I Datasheet HTML 91Page - Microchip Technology PIC12F1501-I Datasheet HTML 92Page - Microchip Technology PIC12F1501-I Datasheet HTML 93Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 278 page
background image
 2011 Microchip Technology Inc.
Preliminary
DS41615A-page 89
PIC12(L)F1501
10.2.4
WRITING TO FLASH PROGRAM
MEMORY
Program memory is programmed using the following
steps:
1.
Load the address in PMADRH:PMADRL of the
row to be programmed.
2.
Load each write latch with data.
3.
Initiate a programming operation.
4.
Repeat steps 1 through 3 until all data is written.
Before writing to program memory, the word(s) to be
written must be erased or previously unwritten. Pro-
gram memory can only be erased one row at a time. No
automatic erase occurs upon the initiation of the write.
Program memory can be written one or more words at
a time. The maximum number of words written at one
time is equal to the number of write latches. See
Figure 10-5 (row writes to program memory with 16
write latches) for more details.
The write latches are aligned to the Flash row address
boundary
defined
by
the
upper
11-bits
of
PMADRH:PMADRL, (PMADRH<6:0>:PMADRL<7:4>)
with the lower 4-bits of PMADRL, (PMADRL<3:0>)
determining the write latch being loaded. Write opera-
tions do not cross these boundaries. At the completion
of a program memory write operation, the data in the
write latches is reset to contain 0x3FFF.
The following steps should be completed to load the
write latches and program a row of program memory.
These steps are divided into two parts. First, each write
latch is loaded with data from the PMDATH:PMDATL
using the unlock sequence with LWLO = 1. When the
last word to be loaded into the write latch is ready, the
LWLO bit is cleared and the unlock sequence
executed. This initiates the programming operation,
writing all the latches into Flash program memory.
1.
Set the WREN bit of the PMCON1 register.
2.
Clear the CFGS bit of the PMCON1 register.
3.
Set the LWLO bit of the PMCON1 register.
When the LWLO bit of the PMCON1 register is
‘1’, the write sequence will only load the write
latches and will not initiate the write to Flash
program memory.
4.
Load the PMADRH:PMADRL register pair with
the address of the location to be written.
5.
Load the PMDATH:PMDATL register pair with
the program memory data to be written.
6.
Execute the unlock sequence (Section 10.2.2
“Flash Memory Unlock Sequence”). The write
latch is now loaded.
7.
Increment the PMADRH:PMADRL register pair
to point to the next location.
8.
Repeat steps 5 through 7 until all but the last
write latch has been loaded.
9.
Clear the LWLO bit of the PMCON1 register.
When the LWLO bit of the PMCON1 register is
‘0’, the write sequence will initiate the write to
Flash program memory.
10. Load the PMDATH:PMDATL register pair with
the program memory data to be written.
11. Execute the unlock sequence (Section 10.2.2
“Flash Memory Unlock Sequence”). The
entire program memory latch content is now
written to Flash program memory.
An example of the complete write sequence is shown in
Example 10-3. The initial address is loaded into the
PMADRH:PMADRL register pair; the data is loaded
using indirect addressing.
Note:
The special unlock sequence is required
to load a write latch with data or initiate a
Flash programming operation. If the
unlock sequence is interrupted, writing to
the latches or program memory will not be
initiated.
Note:
The program memory write latches are
reset to the blank state (0x3FFF) at the
completion of every write or erase
operation. As a result, it is not necessary
to load all the program memory write
latches. Unloaded latches will remain in
the blank state.


类似零件编号 - PIC12F1501-I

制造商部件名数据表功能描述
logo
Microchip Technology
PIC12F1501-I-MC MICROCHIP-PIC12F1501-I-MC Datasheet
2Mb / 279P
   8-Pin Flash, 8-Bit Microcontrollers
2011
PIC12F1501-I-MG MICROCHIP-PIC12F1501-I-MG Datasheet
3Mb / 340P
   14-Pin Flash, 8-Bit Microcontrollers
08/02/11
More results

类似说明 - PIC12F1501-I

制造商部件名数据表功能描述
logo
Microchip Technology
PIC12LF1552 MICROCHIP-PIC12LF1552 Datasheet
4Mb / 260P
   8-Pin Flash, 8-Bit Microcontrollers
2013
PIC12F519 MICROCHIP-PIC12F519_08 Datasheet
1Mb / 96P
   8-Pin, 8-Bit Flash Microcontrollers
2008
PIC12F1501 MICROCHIP-PIC12F1501 Datasheet
2Mb / 279P
   8-Pin Flash, 8-Bit Microcontrollers
2011
PIC12F508 MICROCHIP-PIC12F508 Datasheet
1Mb / 98P
   8/14-Pin, 8-Bit Flash Microcontrollers
2004
PIC12F508 MICROCHIP-PIC12F508_07 Datasheet
1Mb / 100P
   8/14-Pin, 8-Bit Flash Microcontrollers
2007
PIC12F510-I MICROCHIP-PIC12F510-I Datasheet
1Mb / 124P
   8/14-Pin, 8-Bit Flash Microcontrollers
10/05/07
PIC12F509-I MICROCHIP-PIC12F509-I Datasheet
1Mb / 110P
   8/14-Pin, 8-Bit Flash Microcontrollers
03/26/09
PIC12F508 MICROCHIP-PIC12F508_09 Datasheet
1Mb / 110P
   8/14-Pin, 8-Bit Flash Microcontrollers
2009
PIC12F508 MICROCHIP-PIC12F508_1 Datasheet
682Kb / 98P
   8/14-Pin, 8-Bit Flash Microcontrollers
05/28/04
PIC12F508T-I MICROCHIP-PIC12F508T-I Datasheet
1Mb / 106P
   8/14-Pin, 8-Bit Flash Microcontrollers
03/26/09
More results


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


数据表 下载

Go To PDF Page


链接网址




隐私政策
ALLDATASHEETCN.COM
ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   链接交换   |   制造商名单
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