User manual
Stand-Alone Reference
© 2006 Microchip Technology Inc. DS51464C-page 83
8.5.3.2 PROGRAM VERIFY DEVICE
To program a device, select “Program Verify Device” and press <Enter>. This
command programs the device in the socket module with the contents of the internal
memory of the device programmer (image).
For non-Flash devices, the device programmer checks to see if the installed
microcontroller device is blank. If the device is not blank, the device programmer asks
if you want to continue. Answer “Yes” to continue. Answer “No” to return to the
Command menu.
The device programmer programs the contents of its memory into the microcontroller
device loaded in the socket module. If a hex file is not loaded into the device program-
mer, an event message is displayed, “Valid image not present! Please download an
image or use a master device before continuing.” You must have an image in the device
programmer in order to program a device. To load a hex file into MPLAB PM3, you must
connect the device programmer to a PC or read from a master device. See
Section 5.2.2 “Downloading a Hex File into MPLAB PM3 Memory”.
After programming a device without errors, the device programmer performs a check
to verify the data programmed into the device and returns the results of the verification.
For the installed device, the device programmer performs the verification at the V
DD
Minimum and V
DD Maximum voltages for non-Flash devices or VDD Nominal for Flash
devices.
The device programmer reports programming errors and verify errors according to
where the error occurred. Errors are reported for program, Configuration bits,
EEPROM data memory and ID locations. Only the first location to fail in each region is
displayed. The address, expected value and read value are displayed.
After programming, the device programmer displays the checksum.
8.5.3.3 VERIFY DEVICE
To verify a device, select “Verify Device” and press <Enter>. The device programmer
compares the contents of its internal memory to the contents of the programmed micro-
controller device loaded in the socket module. If the data and Configuration bit settings
are correct, “PASSED!” and the checksum will display on the LCD. The device
programmer performs the verification at the V
DD Minimum and VDD Maximum voltages
for non-Flash devices and V
DD Nominal for Flash devices. The device programmer
reports errors according to which part of the device failed. Only the first location to fail
in each region is displayed. The address, expected value and read value are displayed.
8.5.3.4 BLANK CHECK DEVICE
To perform a Blank Check, select “Blank Check Device” and press <Enter>. This check
will verify that the device is completely blank (all bits are set to
‘1’) and all Configuration
bits are set to
‘1’ (unprogrammed state). When completed, the programmer LCD dis-
plays “Device Blank.” Only the first location to fail in each region is displayed. The
address, expected value and read value are displayed.
An OTP device cannot be erased and reprogrammed.
If the EPROM device is not blank, you will have to erase it before programming, or
select another device:
1. Remove any labels covering the device window. If you do not have a windowed
device, you cannot reprogram it. A windowed version of all EPROM devices may
be ordered by requesting the JW package.
2. Place the device in an Ultraviolet (UV) EPROM Eraser. The amount of time
required to completely erase a UV erasable device depends on: the wavelength
of the light, its intensity, distance from UV source and the process technology of