- ページ 4
マザーボード Digilent chipKIT DP32のPDF リファレンス・マニュアルをオンラインで閲覧またはダウンロードできます。Digilent chipKIT DP32 10 ページ。 Board
Digilent chipKIT DP32 にも: リファレンス・マニュアル (18 ページ)
chipKIT™ DP32™ Board Reference Manual
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.
3
Programming the chipKIT DP32
3.1
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 programming solution. The driver file is
called Stk500v2.inf and is available in the driver's 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 the PGM button is depressed press and release the RESET button, finally release the PGM
button to place 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 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 put
the board into program mode as described in the above paragraph.
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.
3.2
Microchip MPLAB IDE and MPLAB X 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 hardware programmer can be
used provided it uses the same 6-pin interface as the PICkit3.
Typically, a right-angle male connector is used in JP6 so that a PICkit3 can be attached coplanar with the DP32
board. The connector can be loaded from the top, or it can be loaded from the bottom.
The Microchip MPLAB® IDE or the MPLAB® X IDE can be used to program and debug code running on the DP32
board. These tools can be downloaded from the Microchip website.
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 4 of 9