PIC24H Microchip Technology, PIC24H Datasheet - Page 68

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
6.0
6.1
If it is determined that the programming executive is not
present in executive memory (as described in
Section 3.2 “Confirming the Presence of the Pro-
gramming Executive”), it must be programmed into
executive memory using ICSP, as described in
Section 5.0 “Device Programming – ICSP”.
TABLE 6-1:
DS70152D-page 68
Step 1: Exit Reset vector and erase executive memory.
Step 2: Initialize the NVMCON to erase a page of executive memory.
Step 3: Initiate the erase cycle, wait for erase to complete and make sure WR bit is clear.
Step 4: Repeat Step 3 four times to erase all four pages of executive memory.
Step 5: Initialize the NVMCON to program 64 instruction words.
Step 6: Initialize TBLPAG and the write pointer (W7).
Command
(Binary)
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0001
0000
0000
0000
0000
0000
0000
-
PROGRAMMING THE
PROGRAMMING EXECUTIVE
TO MEMORY
Overview
PROGRAMMING THE PROGRAMMING EXECUTIVE
000000
000000
040200
000000
24072A
883B0A
A8E761
000000
000000
807600
887840
000000
<VISI>
24001A
883B0A
200800
880190
EB0380
000000
(Hex)
Data
-
NOP
NOP
GOTO
NOP
MOV
MOV
BSET
NOP
NOP
Externally time ‘P12’ msec
Characteristics and Timing Requirements”) to allow suffi-
cient time for the Page Erase operation to complete.
MOV
MOV
NOP
Clock out contents of VISI register. Repeat until the WR bit
is clear.
MOV
MOV
MOV
MOV
CLR
NOP
W0, VISI
0x200
#0x4042, W10
W10, NVMCON
NVMCON, #15
#0x4001, W10
W10, NVMCON
#0x80, W0
W0, TBLPAG
W7
NVMCON, W0
Preliminary
Storing the programming executive to executive
memory is similar to normal programming of code
memory. Namely, the executive memory must first be
erased, and then the programming executive must be
programmed 64 words at a time. This control flow is
summarized in Table 6-1.
Description
(see Section TABLE 8-1: “AC/DC
© 2007 Microchip Technology Inc.
www.DataSheet4U.com

Related parts for PIC24H