dsPIC33F Microchip Technology, dsPIC33F Datasheet - Page 68

no-image

dsPIC33F

Manufacturer Part Number
dsPIC33F
Description
(dsPIC24H / dsPIC33F) Flash Programming Specification
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
dsPIC33FJ06GS001-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
dsPIC33FJ06GS101-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
dsPIC33FJ06GS101-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ06GS101-I/S0
Quantity:
7 046
Part Number:
dsPIC33FJ06GS102-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ06GS202-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
dsPIC33FJ06GS202-I/SO
Manufacturer:
ZORAN
Quantity:
1 000
Part Number:
dsPIC33FJ06GS202A-I/MM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ128GP202-E/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ128GP204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
dsPIC33FJ128GP204-E/PT
Quantity:
7
Part Number:
dsPIC33FJ128GP204-I/ML
Manufacturer:
ST
0
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.

Related parts for dsPIC33F