Functional description, Programming and in-system debug using mplab – Digilent 410-173-KIT User Manual
Page 2

Cerebot 32MX4 Reference Manual
www.digilentinc.com
page 2 of 15
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Features of the PIC32MX460F512L include:
•
512KB internal program flash memory
•
32KB internal SRAM memory
•
USB 2.0 compliant full-speed On-The-
Go (OTG) controller with dedicated
DMA channel
•
two serial peripheral interfaces (SPI)
•
two UART serial interfaces
•
two I2C serial interfaces
•
five 16-bit timer/counters
•
five timer capture inputs
•
five compare/PWM outputs
•
sixteen 10-bit analog inputs
•
two analog comparators
For more information on the
PIC32MX460F512L microcontroller, refer to
the PIC32MX3XX/4XX Family Data Sheet and
the PIC32 Family Reference Manual available
at www.microchip.com.
Functional Description
The Cerebot 32MX4 is designed for embedded
control and robotic applications as well as
microprocessor experimentation. Firmware
suitable for many applications can be
downloaded to the Cerebot 32MX4’s
programmable PIC32 microcontroller.
The board has a number of connection
options, and is specially designed to work with
the Digilent line of Pmod peripheral modules
with various input and output functions. For
more information, see
www.digilentinc.com
. In
addition to the Pmod connectors, the board
supports direct connection of up to 8 RC hobby
servos, provides two on-board push buttons
and four on-board LEDs for user i/o, as well as
providing connections for two I2C busses. A
serial EEPROM and a serial D/A converter are
provided on one of the I2C busses.
The Cerebot 32MX4 can be used with the
Microchip MPLAB development environment.
In-system-programming and debug of firmware
running on the PIC32 part is supported via
USB within MPLAB. The in-system-
programming and debug subsystem is
implemented in IC5, a PIC18LF4550
microcontroller. Access to this subsystem is
accomplished via USB connector J11.
Normally, J11 will be connected to an available
USB port on a PC while developing firmware to
run on the PIC32 microcontroller.
The Cerebot 32MX4 features a flexible power
supply routing system with a number of options
for powering the board as well as powering
peripheral modules connected to the board. It
can be USB powered via either the debug USB
port or the USB device port, or it can be
powered from an external power supply or
batteries.
Programming and In-System
Debug Using MPLAB
The Cerebot 32MX4 board is intended to be
use with the Microchip MPLAB IDE for
firmware development, programming and in-
system debug. The board is compatible with
the Microchip PIC32 Starter Kit board, and
appears to MPLAB as a PIC32 Starter Kit.
When installing the MPLAB software, ensure
that the PIC32MX Starter Kit support is
installed.
After the MPLAB software is installed, the first
time that the board is used, Windows will need
to install the Microchip USB device driver to
connect to the board. If the “Found New
Hardware Wizard” asks for the installation CD
and no CD is available, click OK anyway. In
the “Files Needed” dialog box, use the browse
button to navigate to the folder: “Program
Files\Microchip\MPLAB
IDE\PIC32MXSkit\Drivers” and select the file:
mp32mxsk.sys and click on OK. The wizard
should then complete installing the proper
driver for the board. This process may need to
be repeated if the board is later connected to a
different USB port.
When creating a new project, ensure that the
device is set to PIC32MX460F512L. On the
Debugger.Select Tool menu, select the PIC32
Starter Kit as the debugger.