PIC24H Microchip Technology, PIC24H Datasheet - Page 62

no-image

PIC24H

Manufacturer Part Number
PIC24H
Description
Flash Programming Specification
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24HI16GP-3041/PT
Manufacturer:
MICROCHIP
Quantity:
250
Part Number:
PIC24HJ128GP202-E/MM
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC24HJ128GP204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP204-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP204-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24HJ128GP204T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
SMSC
Quantity:
7 600
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24HJ128GP206A-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP206A-I/MR
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC24HJ128GP206A-I/PT
Manufacturer:
Microchip Technology
Quantity:
1 987
Company:
Part Number:
PIC24HJ128GP206A-I/PT
Quantity:
2 000
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
5.7
The 8-bit Configuration registers are programmable, one
register at a time. The default programming values rec-
ommended for the Configuration registers are shown in
Table 5-6 and Table 5-7. The recommended default
FOSCSEL value is 0x07, which selects the FRC clock
oscillator setting.
The FBS, FSS and FGS Configuration registers are
special since they enable code protection for the
device. For security purposes, once any bit in these
registers is programmed to ‘0’ (to enable code protec-
tion), it can only be set back to ‘1’ by performing a Bulk
Erase as described in Section 5.5 “Erasing Program
Memory”. Programming any of these bits from a ‘0’ to
‘1’ is not possible, but they may be programmed from a
‘1’ to a ‘0’ to enable code protection.
Table 5-8 shows the ICSP programming details for clear-
ing the Configuration registers. In Step 1, the Reset vec-
tor is exited. In Step 2, the write pointer (W7) is loaded
with 0x0000, which is the original destination address (in
TBLPAG, 0xF8 of program memory). In Step 3, the
NVMCON is set to program one Configuration register.
In Step 4, the TBLPAG register is initialized to 0xF8 for
writing to the Configuration registers. In Step 5, the value
to write to each Configuration register is loaded to W0.
In Step 6, the Configuration register data is written to the
write latch using the TBLWTL instruction. In Steps 7 and
8, the programming cycle is initiated. In Step 9, the inter-
nal PC is set to 0x200 as a safety measure to prevent the
PC from incrementing into unimplemented memory.
Lastly, Steps 4-9 are repeated until all twelve
Configuration registers are written.
DS70152D-page 62
Writing Configuration Memory
Preliminary
TABLE 5-6:
TABLE 5-7:
0xF8000C
0xF8000C
0xF80000
0xF80002
0xF80004
0xF80006
0xF80008
0xF8000A
0xF8000E
0xF80010
0xF80012
0xF80014
0xF80016
0xF80000
0xF80002
0xF80004
0xF80006
0xF80008
0xF8000A
0xF8000E
0xF80010
0xF80012
0xF80014
0xF80016
Address
Address
FOSCSEL
DEFAULT CONFIGURATION
REGISTER VALUES FOR
dsPIC33FJ12GP201/202,
dsPIC33FJ12MC201/202 AND
PIC24HJ12GP201/202
DEFAULT CONFIGURATION
REGISTER VALUES FOR ALL
OTHER DEVICES
FWDT
FUID0
FUID1
FUID2
FUID3
FOSCSEL
Name
FOSC
FPOR
FICD
FGS
FBS
FSS
FOSC
FWDT
FPOR
FUID0
FUID1
FUID2
FUID3
Name
FICD
FGS
FBS
FSS
© 2007 Microchip Technology Inc.
Default Value
www.DataSheet4U.com
Default Value
0xCF
0xDF
0xFF
0xA7
0xE7
0xE3
0xFF
0xFF
0xFF
0xFF
0x07
0xF7
0xCF
0xCF
0xDF
0xA7
0xC7
0xE7
0xE3
0xFF
0xFF
0xFF
0xFF
0x07

Related parts for PIC24H