Programming the chipkit dp32 – Digilent 410-280P-KIT User Manual
Page 4

chipKIT DP32
www.digilentinc.com
page 4 of 9
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
(square pin) is for VCC3V3 of the device, pin two (center pin) is for the VOUT pin of the
device, and pin three is for the ground pin.
16. J3 – Digital and Analog I/O Connector #2
The set of Digital I/Os with chipKIT numbers 9 through 18 and Analog pins A3-A8. See table 1
in appendix A for more details.
17. Prototyping Area
This area may be used to prototype any desired hardware designs using standard wire
wrapping methods.
Programming the chipKIT DP32
MPIDE Development Tool
The DP32 uses the PIC32MX250F128B onboard USB peripheral to program the microcontroller with
the MPIDE environment. This requires a driver to be installed to accommodate this programing
solution. The driver file is called Stk500v2.inf and is available in the drivers folder in the MPIDE
distribution.
Once the driver is installed and the computer has recognized the board, it is ready to be programmed.
The board has two modes of operation. The first is the bootloader mode, to enter this mode you must
press and hold down BTN2/PGM button while pressing the RESET button then release both to set the
board into program mode. In program mode LD1 will flash to show you that the bootloader is running
and the board is ready to be programmed.
Once the board is programmed it will be reset and will execute the programmed sketch. If there is a
sketch loaded on the board and you cycle power to the board, it will automatically reenter sketch
mode. To exit sketch mode you must press and hold the BTN2/PGM and press RESET button then
release both buttons.
Since the board resets between program mode and sketch mode the serial port will disconnect and
then reconnect. The MPIDE serial monitor will not work unless there is a delay of at least 5 seconds in
the user sketch before it begins to send data to the computer. To ensure the serial monitor is ready it
is recommended that users watch the device manager or similar program for your OS after the reset
to watch for the reconnection of the serial port before attempting to open the Serial Monitor in MPIDE.
The delay is required for proper operation of the serial port so that the board can disconnect and
reconnect to the computer before the DP32 begins sending data out while the OS is not listing. This is
a byproduct of the embedded USB controller solution on the DP32.
Microchip MPLAB® IDE Development Tool Compatibility
In addition to being compatible with the MPIDE, the DP32 board can be used as a more traditional
microcontroller development board using Microchip Development Tools.
The unloaded connector JP6 on the right side of the board is used to connect to a Microchip
development tool, such as the PICkit3™ or the Digilent chipKIT PGM. The holes for JP6 are
staggered so that a standard 100-mil spaced 6-pin header can be press fit to the board without the
need to solder it in place. Any Microchip development tool that supports the PIC32MX2xx
microcontroller family and can be used provided is uses the same 6-pin interface as the PICkit3.