Getting Started
©
2006 Microchip Technology Inc.
DS51553B-page 17
2.3.6
Automatic File Reload
Prior to each write, the imported hex file time stamp is compared to the version on the
disk. If the version on the disk is newer, it is reloaded. This occurs only when a hex file
has been read from the disk.
This feature ensures that the latest version built by MPLAB
®
IDE will be written to the
device.
2.3.7
Verify
The Verify function verifies the device program to the imported hex file. It compares all
areas of memory including program memory, data EEPROM memory, ID and Configu-
ration bits.
To verify the code, import the hex file and click the Verify button. If the code is the
same, the status bar turns green and displays “Device Verified”. If a discrepancy is
found, the status bar turns red and displays where the error is located: “Error in
Program Memory, Data EEPROM Memory or Configuration Bits”.
2.3.8
Read
To view the code written to the PICmicro MCU, click the Read button. The code is
displayed in the Program and Data EEPROM Memory windows for your review. If all
zeros are displayed, it is possible that the device is code-protected.
2.3.9
Code-Protect Device
The Code-Protect Device function enables the code protection features of the
PICmicro MCU. To protect the code, complete the following steps:
1.
Import hex file.
2.
Select Tools > Code Protect Device as shown in Figure 2-9.
3.
Click Write.
FIGURE 2-9:
ENABLE CODE PROTECT
Note:
If the device is read after it has been code-protected, Program Memory and
Data EEPROM Memory windows will display all zeros.
Summary of Contents for PICkit 2
Page 2: ...2006 Microchip Technology Inc DS51553B PICkitTM 2 Microcontroller Programmer USER S GUIDE...
Page 45: ...PICkit 2 User s Guide DS51553B page 40 2006 Microchip Technology Inc NOTES...
Page 47: ...PICkitTM 2 User s Guide DS51553B page 42 2006 Microchip Technology Inc NOTES...
Page 52: ...2006 Microchip Technology Inc DS51553B page 47 PICkit 2 User s Guide NOTES...