beautypg.com

Debugging mpide sketches using the chipkit pgm – Digilent 410-242P-KIT User Manual

Page 3

background image

chipKIT™ PGM Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 3 of 4

The MPLAB or MPLAB X IDE can be downloaded from the Microchip web site at:

www.microchip.com/mplab

.

These software suites include a free evaluation copy of the Microchip C32 compiler for use with the PIC32
microcontroller family.

The appropriate version of the IDE should be downloaded from the Microchip web site and installed. This will
install the necessary software and drivers to enable use of the chipKIT PGM.

Once the desired version of MPLAB has been installed, connect the supplied USB cable to the mini-USB connector
on the chipKIT PGM and to an available USB port on the PC.

Connect the chipKIT PGM to the ICSP port on the target board and start the MPLAB IDE.

The chipKIT PGM behaves similarly to the Microchip PICkit3 Programmer/Debugger and can be used in a similar
way.

In the MPLAB IDE, select Licensed Debugger from either the Programmer.Select Programmer menu or
the Debugger.Select Tool menu. The IDE will connect to the device and identify that it is a ‘chipKIT
Programmer by Digilent’. When the licensed debugger is selected, the MPLAB IDE will check the version number of
the firmware running on the debugger and offer to update it if is out of date with the version of MPLAB being
used.

At this point, the chipKIT PGM is ready for use.

Debugging MPIDE Sketches Using the chipKIT PGM

For detailed information on how to use the chipKIT PGM and the MPLAB IDE to debug MPIDE sketches, please
refer to the document “Debugging chipKIT with MPLAB IDE” available on the chipKIT wiki:

www.chipKIT.org/wiki

.

This document is in the Application Notes section at the bottom of the Documenation page on the wiki.

CHIPKIT and the CHIPKIT Logo are trademarks or registered trademarks of Microchip Technology Incorporated in the U.S. and other countries,
and are used under license.

Manufactured by Digilent under license from MICROCHIP.

PICkit™ On-Board Programmer/Debugger, © 2011 Microchip Technology Inc. All rights reserved. MICROCHIP SOFTWARE OR
FIRMWARE IS PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL MICROCHIP BE LIABLE FOR ANY CLAIN, DAMAGES OR OTHER LIABILITY ARISING OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR FIRMWARE OR THE USE OF OTHER DEALINGS IN THE SOFTWARE OR FIRMWARE. THIS PRODUCT IS
DISTRIBUTED UNDER LICENSE FROM MICROCHIP TECHNOLOGY INC.