PIC24HJ64GP510A-E/PF Microchip Technology, PIC24HJ64GP510A-E/PF Datasheet - Page 10

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

PIC24HJ64GP510A-E/PF

Manufacturer Part Number
PIC24HJ64GP510A-E/PF
Description
16 Bit MCU 40MIPS 64KB FLASH 100 TQFP 14x14x1mm TRAY
Manufacturer
Microchip Technology
Series
PIC® 24Hr

Specifications of PIC24HJ64GP510A-E/PF

Core Processor
PIC
Core Size
16-Bit
Speed
40 MIPs
Connectivity
CAN, I²C, IrDA, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, DMA, POR, PWM, WDT
Number Of I /o
85
Program Memory Size
64KB (22K x 24)
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 32x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
100-TQFP, 100-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
FIGURE 3-3:
3.4
The term “Blank Check” implies verifying that the
device has been successfully erased and has no
programmed memory locations. A blank or erased
memory location is always read as ‘1’.
The Device ID registers (0xFF0000:0xFF0002) can be
ignored by the Blank Check since this region stores
device information that cannot be erased. The device
Configuration registers are also ignored by the Blank
Check. Additionally, all unimplemented memory space
should be ignored from the Blank Check.
The QBLANK command is used for the Blank Check. It
determines if the code memory is erased by testing
these memory regions. A ‘BLANK’ or ‘NOT BLANK’
response is returned. If it is determined that the device
is not blank, it must be erased before attempting to
program the chip.
DS70152H-page 10
MCLR
V
PGDx
PGCx
DD
Blank Check
P6
ENTERING ENHANCED ICSP™ MODE
P14
P18
V
b31
IH
0
b30
1
Program/Verify Entry Code = 0x4D434850
b29
0
b28
P1A
0
P1B
b27
1
3.5
3.5.1
Code memory is programmed with the PROGP
command. PROGP programs one row of code memory
starting from the memory address specified in the
command. The number of PROGP commands required
to program a device depends on the number of write
blocks that must be programmed in the device.
A flowchart for programming code memory is illustrated
in
of a dsPIC33F/PIC24H device are programmed. First,
the
‘RemainingCmds’ in the flowchart) is set to 1368 and
the destination address (called ‘BaseAddress’) is set to
‘0’. Next, one write block in the device is programmed
with a PROGP command. Each PROGP command
contains data for one row of code memory of the
dsPIC33F/PIC24H.
processed
decremented by ‘1’ and compared with ‘0’. Since there
are more PROGP commands to send, ‘BaseAddress’ is
incremented by 0x80 to point to the next row of
memory.
On the second PROGP command, the second row is
programmed. This process is repeated until the entire
device is programmed.
Figure
Note:
...
number
Code Memory Programming
3-4. In this example, all 88K instruction words
b3
0
PROGRAMMING METHODOLOGY
If a bootloader needs to be programmed,
the
programmed into the first page of code
memory. For example, if a bootloader
located at address 0x200 attempts to
erase the first page, it would inadvertently
erase
bootloader into the second page (e.g.,
0x400).
successfully,
b2
of
0
bootloader
itself.
commands
After
b1
0
© 2010 Microchip Technology Inc.
V
IH
b0
0
Instead,
the
code
‘RemainingCmds’
P19
first
to
must
program
send
command
P7
not
(called
the
be
is
is

Related parts for PIC24HJ64GP510A-E/PF