Electronic Components Datasheet Search
  English  ▼

X  

PIC16F72 Datasheet(PDF) 4 Page - Microchip Technology

Part # PIC16F72
Description  FLASH Memory Programming Specification
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F72 Datasheet(HTML) 4 Page - Microchip Technology

  PIC16F72 Datasheet HTML 1Page - Microchip Technology PIC16F72 Datasheet HTML 2Page - Microchip Technology PIC16F72 Datasheet HTML 3Page - Microchip Technology PIC16F72 Datasheet HTML 4Page - Microchip Technology PIC16F72 Datasheet HTML 5Page - Microchip Technology PIC16F72 Datasheet HTML 6Page - Microchip Technology PIC16F72 Datasheet HTML 7Page - Microchip Technology PIC16F72 Datasheet HTML 8Page - Microchip Technology PIC16F72 Datasheet HTML 9Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 14 page
background image
PIC16F72
DS39588A-page 4
Preliminary
 2002 Microchip Technology Inc.
2.3
Program/Verify Mode
The Program/Verify mode is entered by holding pins
RB6 and RB7 low, while raising MCLR pin from VIL to
VPP. Once in this mode, the user program memory and
the configuration memory can be accessed and pro-
grammed in serial fashion (RB6 and RB7 are Schmitt
Trigger inputs in this mode).
The sequence that enters the device into the Program-
ming/Verify mode places all other logic into the RESET
state. All I/O are in the RESET state (high impedance
inputs).
A device RESET will clear the PC and point to address
0x0000. The ‘Increment Address’ command will incre-
ment the PC. The ‘Load Configuration’ command will
set the PC to 0x2000. The available commands are
shown in Table 2-2.
The normal sequence for programming two program
memory words at a time is as follows:
1.
Issue the ‘Load Data’ command to load a word
at the current (even) program memory address.
2.
Issue an ‘Increment Address’ command.
3.
Load a word at the current (odd) program mem-
ory address using the ‘Load Data’ command.
4.
Issue a ‘Begin Programming’ command to begin
programming.
5.
Wait tprog (about 1 ms).
6.
Issue an ‘End Programming’ command.
7.
Increment to the next address.
8.
Repeat this sequence as required to write pro-
gram and configuration memory.
The alternative sequence for programming one pro-
gram memory word at a time is as follows:
1.
Set a word for the current memory location using
the ‘Load Data’ command.
2.
Issue a ‘Begin Programming’ command to begin
programming.
3.
Wait tprog.
4.
Issue an ‘End Programming’ command.
5.
Increment to the next address.
6.
Repeat this alternative sequence as required to
write program and configuration memory.
The address and program counter is reset to 0x0000 by
resetting the device (taking MCLR below VIL) and
re-entering Programming mode. Program and configu-
ration memory may then be read or verified using the
‘Read Data’ and ‘Increment Address’ commands.
2.3.1
SERIAL PROGRAM/VERIFY
OPERATION
RB6 is used as a clock input pin, and RB7 is used for
entering command bits and data input/output. To enter
a command, the clock pin (RB6) is pulsed six times.
Each command bit is latched on the falling edge of the
clock (RB6), with the Least Significant bit (LSb) of the
command being entered first. The data on pin RB7
needs a minimum setup (tset1) and hold time (thold1),
with respect to the falling edge of the clock. The read
and load commands are specified to have a minimum
delay (tdly1) between the command and data. After this
delay, the clock pin is cycled 16 times with the first cycle
being a START bit (0) and the last cycle being a STOP
bit (0). Data is transferred LSb first (see Figure 5-1).
During a read operation, the LSb will be output to pin
RB7 on the rising edge of the second clock pulse and
during a load operation, the LSb will be latched on the
falling edge of the second clock pulse. A minimum
delay
(tdly2)
is
required
between
consecutive
commands (see Figure 5-2).
To allow for decoding of commands and reversal of
data pin configuration, a time separation of at least
(tdly1) is required between a command and a data
word, or another command (see Figure 5-3).
The available commands are listed below:
• Load Configuration
• Load Data for Memory
• Read Data from Memory
• Increment Address
• Begin Programming
• Bulk Erase Program Memory
• End Programming
TABLE 2-2:
COMMAND MAPPING FOR PIC16F72
Command
Mapping (MSb … LSb)
Data
Load Configuration (Set PC = 2000h)
X
X0000
0, data (14), 0
Load Data for Memory
X
X0010
0, data (14), 0
Read Data from Memory
X
X0100
0, data (14), 0
Increment Address
X
X0110
Begin Programming
X
X1000
Bulk Erase Program Memory (Chip Erase)
X
X1001
End Programming
X
X1110



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14


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