4d Systems Amazing 3.5" Display Module powered by a PIC32 PICadillo-35T Picadillo-35T Datenbogen
Produktcode
Picadillo-35T
4D SYSTEMS PICadillo-35T Display Module
© 2014 4D SYSTEMS Page 19 of 31 www.4dsystems.com.au
5. Programming the PICadillo-35T
Programming with UECIDE
5.1.
UECIDE is the perfect programming environment
for programming the PICadillo-35T using a
standard USB Mini cable.
UECIDE features the PICadillo-35T is its list of plug-
ins which are available for download, so after a
very simple setup, the IDE is ready to use with the
PICadillo-35T. Please refer to the
website for further information.
The UECIDE communicates between the Computer
and the PIC32 using the Serial Port via the FTDI
FT232RQ chip, and uses a bootloader running on
the PICadilllo-35T.
Before any attempts are made to communicate
with the PICadillo-35T, the appropriate FTDI Driver
must be downloaded and installed in order to
successfully establish communications. This driver
is available for download from the product page of
the PICadillo-35T on the 4D Systems website,
The UECIDE communicates between the Computer
and the PIC32 using the Serial Port via the FTDI
FT232RQ chip, and uses a bootloader running on
the PICadilllo-35T.
Before any attempts are made to communicate
with the PICadillo-35T, the appropriate FTDI Driver
must be downloaded and installed in order to
successfully establish communications. This driver
is available for download from the product page of
the PICadillo-35T on the 4D Systems website,
When UECIDE needs to communicate with the
PICadillo-35T, the PIC32 is reset and it starts
running the bootloader. UECIDE then establishes
communication with the PIC32 using the
bootloader, and downloads the program to the
Flash of the PIC32.
When UECIDE establishes communication with the
PICadillo-35T, the DTR pin of the FT232RQ is driven
low, initiating the reset sequence. This reset pin is
coupled through a series capacitor to the MCLR
pin on the PIC32 microcontroller.
The automatic reset feature is able to be disabled
through the cutting of a trace on the PCB between
the pads of the J4 jumper. J4 is not populated by
default, but allows a header to be soldered
carefully in place if the trace is cut and the auto
reset feature is desired to be restored.
There are 2 LED’s present on the board, which
indicate RX and TX traffic through the FT232RQ.
The same information can be applied when using
MPIDE, however UECIDE is the recommended IDE.
Programming with Microchip Dev Tools
5.2.
In addition to being used with the UECIDE or
MPIDE, the PICadillo-35T board can be used as a
more traditional microcontroller development
board using the Microchip Development Tools.
The unpopulated ICSP connector located at the
bottom left of the PCB is used to connect to a
Microchip development tool, such as the PICkit3™.
Any Microchip development tool that supports the
PIC32 microcontroller family, and can be
connected via the same 6-pin interface as the
PICkit3, can be used.
Typically, a right-angle male connector is used in
the ICSP header location so that a PICkit3 can be
attached co-planar with the PICadillo-35T module.
The connector must be loaded from the top and
carefully soldered in place. The PICkit3 will be
upright (button and LEDs visible), with Pin 1
located on the Left Hand Side, and marked with a
dot.
Note, the ICSP header does not provide a 3.3V
connection to the PICadillo-35T, as more than 3.3V
is required to power up the module. The 3.3V pin
is therefore N/C, and an external power supply
must be used, such as power from the USB, DC
Jack or 5V Header pin.
Note: On the PICKit3 Programmer, the 3.3V
Output to ‘Power Target Circuit from Tool’ must be
enabled else the programmer will not see the
PIC32 processor, even though this 3.3V is not used
to power the PICadillo-35T itself.
The Microchip MPLAB® IDE or the MPLAB® X IDE
can be used to program and debug code running
on the PICadillo-35T board. These programs can be
downloaded from the Microchip web site.
Using the Microchip development tools to
program the PICadillo-35T board will cause the
bootloader to be erased. To use the board with
the UECIDE or MPIDE again, it is necessary to
program the bootloader back onto the board. The
bootloader source code and compiled image can
be found on the 4D Systems website, under the
PICadillo-35T
product
page,