PIC24HJ64GP502-E/SP Microchip Technology, PIC24HJ64GP502-E/SP Datasheet - Page 48
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC24HJ64GP502-E/SP
Manufacturer Part Number
PIC24HJ64GP502-E/SP
Description
16-bit MCU, 64KB Flash,CAN,DMA,40 MIPS,nanoWatt 28 SPDIP .300in TUBE
Manufacturer
Microchip Technology
Series
PIC® 24Hr
Datasheets
1.PIC24HJ12GP201-ISO.pdf
(84 pages)
2.PIC24HJ32GP302-ISO.pdf
(368 pages)
3.PIC24HJ32GP302-ISO.pdf
(8 pages)
4.PIC24HJ32GP302-ISO.pdf
(12 pages)
Specifications of PIC24HJ64GP502-E/SP
Core Processor
PIC
Core Size
16-Bit
Speed
40 MIPs
Connectivity
CAN, I²C, IrDA, LIN, PMP, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, DMA, POR, PWM, WDT
Number Of I /o
21
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 10x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164337 - MODULE SOCKET FOR PM3 40DIP
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
5.10
The verify step involves reading back the code memory
space and comparing it against the copy held in the
programmer’s buffer. The Configuration registers are
verified with the rest of the code.
The verify process is illustrated in
reads occur a single byte at a time, so two bytes must
be read to compare against the word in the program-
mer’s buffer. Refer to
Memory”
memory.
FIGURE 5-9:
DS70152H-page 48
Note:
No
Verify Code Memory and
Configuration Word
for implementation details of reading code
Because
include the device code protection bit,
code
immediately after writing, if the code
protection is enabled. This is because the
device will not be readable or verifiable if
a device Reset occurs after the code-pro-
tect bit in the FGS Configuration register
has been cleared.
with Post-Increment
with Post-Increment
Set TBLPTR = 0
Read High Byte
Read Low Byte
Word = Expect
code memory
memory
verified?
Data?
Does
Start
End
VERIFY CODE
MEMORY FLOW
the
All
Section 5.8 “Reading Code
Yes
Yes
Configuration
should
Figure
No
Report Error
Failure
be
5-9. Memory
registers
verified
5.11
The Application ID Word is stored at address 0x8007F0
in executive code memory. To read this memory
location, you must use the SIX control code to move
this program memory location to the VISI register.
Then, the REGOUT control code must be used to clock
the contents of the VISI register out of the device. The
corresponding control and instruction codes that must
be serially transmitted to the device to perform this
operation are shown in
After the programmer has clocked out the Application
ID Word, it must be inspected. If the application ID has
the value 0xCB, the programming executive is resident
in memory and the device can be programmed using
the mechanism described in
Programming – Enhanced
application ID has any other value, the programming
executive is not resident in memory; it must be loaded
to memory before the device can be programmed. The
procedure for loading the programming executive to
memory is described in
the Programming Executive to
5.12
Exiting Program/Verify mode is done by removing V
from MCLR, as illustrated in
requirement for exit is that an interval P16 should
elapse between the last clock and program signals on
PGCx and PGDx before removing V
FIGURE 5-10:
PGDx
PGCx
MCLR
V
DD
Reading the Application ID Word
Exiting ICSP Mode
PGDx = Input
EXITING ICSP™ MODE
Table
© 2010 Microchip Technology Inc.
Section 6.0 “Programming
V
P16
IH
5-10.
ICSP”. However, if the
Figure
Section 3.0 “Device
Memory”.
P17
V
IH
IH
.
5-10. The only
IH