User manual

PICDEM™ 2 PLUS USERS GUIDE
© 2007 Microchip Technology Inc. DS51275D-page 11
Chapter 2. Getting Started
The PICDEM 2 Plus may be used as a stand-alone board with a preprogrammed
device, with an In-Circuit Emulator (ICE) or with an In-Circuit Debugger (ICD). For a list
of PIC
®
microcontroller compatible ICEs or ICDs, see the Development Systems
Ordering Guide.
2.1 PICDEM™ 2 PLUS AS A STAND-ALONE BOARD –
PREPROGRAMMED DEVICE
The PICDEM 2 Plus may be demonstrated immediately by following the steps listed
below:
Place the preprogrammed sample device in the appropriate socket on the
PICDEM 2 Plus demonstration board.
Place a jumper on J6 (to enable the LEDs).
Verify that the board is set up for a 4 MHz, canned oscillator (that is, no jumper on
J7; a 4 MHz oscillator in Y2 and nothing in Y1, C4 and C5).
Apply power to the PICDEM 2 Plus. For information on acceptable power sources,
see Appendix A.
To reprogram the sample device, the following will be necessary:
Program source code – user source code may be used to program the device, or
if this previously has been done, the sample program may be restored from the
file on the included CD-ROM.
An assembler, such as MPASM™ assembler (available with MPLAB
®
IDE), or a
compiler, such as MPLAB C18 (PIC18 devices only)
Source code must be assembled or compiled into a hex file before it can be pro-
grammed into the device. Microchip Technology’s MPASM assembler or MPLAB
C18 C compiler may be used. Both are compatible with MPLAB IDE.
Other assemblers/compilers may be used. For a list of these PIC MCU compatible
language tools, see the Microchip web site (www.microcip.com).
A device programmer, such as PRO MATE
®
II, MPLAB
®
PM3, PICSTART
®
Plus
or MPLAB ICD 2 (programmer functionality available with MPLAB IDE v6.00 or
greater)
Once the sample program is in hex file format, a programmer can program a
Flash device. Microchip Technology’s PRO MATE II device programmer,
PICSTART Plus development programmer or MPLAB ICD 2 may be used. All are
compatible with MPLAB IDE.
Other programmers may be used. For a list of these PICmicro MCU compatible
programmers, see the Microchip web site (www.microcip.com).
If the code protection bit(s) have not been programmed, the on-chip program
memory can be read out for verification purposes.