AC164112 Microchip Technology, AC164112 Datasheet - Page 189

VOLTAGE LIMITER MPLAB ICD2 VPP

AC164112

Manufacturer Part Number
AC164112
Description
VOLTAGE LIMITER MPLAB ICD2 VPP
Manufacturer
Microchip Technology
Datasheet

Specifications of AC164112

Accessory Type
Voltage Limiter
Product
Cable Assemblies
Features
Programming And Debugging The Latest PIC12/PIC16/PIC18 Products
Development Tool Type
Hardware - Eval/Demo Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With
MPLAB ICD 2
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AC164112
Manufacturer:
Microchip Technology
Quantity:
135
18.0
The Flash program memory is readable during normal
operation over the full V
data from Program Memory, five Special Function
Registers (SFRs) are used:
• PMCON1
• PMDATL
• PMDATH
• PMADRL
• PMADRH
EXAMPLE 18-1:
© 2009 Microchip Technology Inc.
PROGRAM MEMORY READ
BANKSEL PMADRL
MOVF
MOVWF
MOVF
MOVWF
BANKSEL PMCON1
BSF
NOP
NOP
BANKSEL PMDATL
MOVF
MOVWF
MOVF
MOVWF
PROGRAM MEMORY READ
MS_PROG_ADDR, W ;
PMADRH
LS_PROG_ADDR, W ;
PMADRL
PMCON1, RD
PMDATL, W
LOWPMBYTE
PMDATH, W
HIGHPMBYTE
DD
range of the device. To read
;
;MS Byte of Program Address to read
;LS Byte of Program Address to read
;
;Initiate Read
;Any instructions here are ignored as program
;memory is read in second cycle after BSF
;
;W = LS Byte of Program Memory Read
;
;W = MS Byte of Program Memory Read
;
PIC16F72X/PIC16LF72X
The value written to the PMADRH:PMADRL register
pair determines which program memory location is
read. The read operation will be initiated by setting the
RD bit of the PMCON1 register. The program memory
flash controller takes two instructions to complete the
read, causing the second instruction after the setting
the RD bit will be ignored. To avoid conflict with pro-
gram execution, it is recommended that the two instruc-
tions following the setting of the RD bit are NOP. When
the read completes, the result is placed in the
PMDATLH:PMDATL
Example 18-1 for sample code.
Note:
Code-protect does not effect the CPU
from performing a read operation on the
program memory. For more information,
refer to Section 8.2 “Code Protection”
register
pair.
DS41341E-page 189
Refer
to

Related parts for AC164112