PIC12F519 Microchip Technology, PIC12F519 Datasheet - Page 26

no-image

PIC12F519

Manufacturer Part Number
PIC12F519
Description
8-Bit Flash Microcontroller
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F519-I/MC
Manufacturer:
SST
Quantity:
101
Part Number:
PIC12F519-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12F519-I/SN
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12F519-I/SN
0
Part Number:
PIC12F519T-I/MC
Manufacturer:
MICROCHIP
Quantity:
1 001
www.DataSheet4U.com
PIC12F519
EXAMPLE 5-3:
DS41319A-page 24
Note 1: Only a series of BSF commands will work
BSF
MOVLW EE_ADR_WRITE
MOVWF EEADR
MOVLW EE_DATA_TO_WRITE;LOAD DATA TO
MOVWF EEDATA
BSF
BSF
NOP
NOP
2: For reads, erases and writes to the Flash
executed properly.
to enable the memory write sequence
documented in Example 5-3. No other
sequence of commands will work, no
exceptions.
data memory, there is no need to insert a
NOP into the user code as is done on
mid-range devices. The instruction imme-
diately
EECON,WR/RD” will be fetched and
FSR,5
EECON,WREN
EECON,WR
DATA MEMORY WRITE
following
;SWITCH TO BANK 1
;LOAD ADDRESS TO
;WRITE
;INTO EEADR
;REGISTER
;INTO EEDATA
;REGISTER
;ENABLE WRITES
;START WRITE
;SEQUENCE
;WAIT AS READ
;INSTRUCTION
;IS DECODED
;INSTRUCTION
IGNORED
the
“BSF
Preliminary
5.4
Data memory can be code-protected by programming
the CPDF bit in the Configuration Word (Register 8-1)
to ‘0’.
DATA MEMORY OPERATION
DURING CODE-PROTECT
© 2007 Microchip Technology Inc.

Related parts for PIC12F519