16 Bit MCU 40MIPS 64KB FLASH 100 TQFP 14x14x1mm TRAY

PIC24HJ64GP510A-E/PF

Manufacturer Part NumberPIC24HJ64GP510A-E/PF
Description16 Bit MCU 40MIPS 64KB FLASH 100 TQFP 14x14x1mm TRAY
ManufacturerMicrochip Technology
SeriesPIC® 24H
PIC24HJ64GP510A-E/PF datasheets
 

Specifications of PIC24HJ64GP510A-E/PF

Core ProcessorPICCore Size16-Bit
Speed40 MIPsConnectivityCAN, I²C, IrDA, LIN, SPI, UART/USART
PeripheralsBrown-out Detect/Reset, DMA, POR, PWM, WDTNumber Of I /o85
Program Memory Size64KB (22K x 24)Program Memory TypeFLASH
Ram Size8K x 8Voltage - Supply (vcc/vdd)3 V ~ 3.6 V
Data ConvertersA/D 32x10b/12bOscillator TypeInternal
Operating Temperature-40°C ~ 125°CPackage / Case100-TQFP, 100-VQFP
Lead Free Status / RoHS StatusLead free / RoHS CompliantEeprom Size-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Page 41
42
Page 42
43
Page 43
44
Page 44
45
Page 45
46
Page 46
47
Page 47
48
Page 48
49
Page 49
50
Page 50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Page 50/84

Download datasheet (2Mb)Embed
PrevNext
6.0
PROGRAMMING THE
PROGRAMMING EXECUTIVE
TO MEMORY
6.1
Overview
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
Programming
Executive”), it must be programmed
into executive memory using ICSP, as described in
Section 5.0 “Device Programming –
TABLE 6-1:
PROGRAMMING THE PROGRAMMING EXECUTIVE
Command
Data
(Binary)
(Hex)
Step 1: Exit the Reset vector and erase executive memory.
0000
040200
GOTO
0000
040200
GOTO
0000
000000
NOP
Step 2: Initialize the NVMCON to erase a page of executive memory.
0000
24042A
MOV
0000
883B0A
MOV
Step 3: Initiate the erase cycle, wait for erase to complete and make sure WR bit is clear.
0000
200080
MOV
0000
880190
MOV
0000
200001
MOV
0000
000000
NOP
0000
BB0881
TBLWTL W1, [W1]
0000
000000
NOP
0000
000000
NOP
0000
A8E761
BSET
0000
000000
NOP
0000
000000
NOP
0000
000000
NOP
0000
000000
NOP
Externally time ‘P12’ msec (see
Timing
complete.
0000
803B00
MOV
0000
883C20
MOV
0000
000000
NOP
Clock out contents of VISI register. Repeat instruction until the WR bit is clear.
0001
<VISI>
Step 4: Repeat Step 3 to erase all pages of executive memory (incrementing the page erase pointer, i.e., W1 pointer
should be incremented by 0x400 to point to the second page).
Step 5: Initialize the NVMCON to program 64 instruction words.
0000
24001A
MOV
0000
883B0A
MOV
Step 6: Initialize TBLPAG and the write pointer (W7).
0000
200800
MOV
0000
880190
MOV
0000
EB0380
CLR
0000
000000
NOP
DS70152H-page 50
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
Note:
The
always
programmed, as described in
ICSP”.
Description
0x200
0x200
#0x4042, W10
W10, NVMCON
#0x80, W0
W0, TBLPAG
#0x00, W1
NVMCON, #15
Section 8.0 “AC/DC Characteristics and
Requirements”) to allow sufficient time for the Page Erase operation to
NVMCON, W0
W0, VISI
#0x4001, W10
W10, NVMCON
#0x80, W0
W0, TBLPAG
W7
Table
6-1.
programming
executive
must
be
erased
before
it
is
Table
6-1.
© 2010 Microchip Technology Inc.