User manual

PICDEM™ LAB II DEVELOPMENT
BOARD USERS GUIDE
2015 Microchip Technology Inc. DS40001814A-page 15
Chapter 2. Getting Started
The PICDEM Lab II Development Board must be used with the MPLAB X Integrated
Development Environment (IDE) and either a PICkit™ 3 programmer/debugger,
REAL-ICE in-circuit emulator or ICD3 programmer/debugger. The MPLAB X IDE is
available free on Microchip's web site, www.microchip.com. Use version v3.05 or later.
The PICDEM Lab II Development Board, through MPLAB X and a
programmer/debugger, creates a low-voltage in-circuit debugger as well as a
low-voltage programmer for all supported devices. In-circuit debugging allows the user
to run, examine and modify programs for the supported device embedded in the
PICDEM Lab II hardware. This facilitates the debugging of firmware and hardware
concurrently. Use the PICDEM Lab II Development Board with MPLAB X IDE and a
programmer/debugger to run, stop and single-step through programs – breakpoints
can be set and the processor can be reset. When the processor stops, the contents of
the register are available for examination and modification.
2.1 CONNECTING POWER TO THE PICDEM LAB II
The PICDEM Lab II Development Board can be powered in one of three ways:
•USB
9V DC input
External power supplies.
2.1.1 USB Connector (J18)
To power the PICDEM Lab II via the USB port, connect a USB cable between the USB
mini-B connector J18 and either a PC/Apple computer with a USB connector or a USB
power supply. Shunt jumpers must be placed such that they connect the center and
right pins of J2 and J6 (Figure 1-2). When the jumpers are placed properly and
connected to a USB power source, power LEDs LD1 and LD2 should light, indicating
that 5V, 3.3V and V
VAR
are available on the board.
2.1.2 9V External Power Supply (J1)
To power the PICDEM Lab II via the 9V external power supply, connect a 9V external
power supply to connector J1. Shunt jumpers must be placed such that they connect
the center and top pins of J2 and J6 (Figure 1-2). Next, move the switch SW1 to the on
position. When the jumpers are placed properly, switch SW1 is in the on position and
the board is connected to a powered 9V external power supply, power LEDs LD1 and
LD2 should light, indicating that 5V, 3.3V and V
VAR
are available on the board.
2.1.3 External Supply Connection Points
To power the PICDEM Lab II via the external supply connection points, connect an
external 5V power supply to TP1 and TP2 (TP1-GND, TP2-5V), then connect an
external 3.3V power supply to TP3 and TP4 (TP3-3.3V, TP4-GND). Shunt jumpers
must be placed such that they connect the center and bottom pins of J2 and J6
(Figure 1-2). When the jumpers are placed properly and the external power supplies
are powered, power LEDs LD1 and LD2 should light, indicating that 5V, 3.3V and V
VAR
are available on the board.