To find the version number of your UBW32 hardware, check in th
upper right hand corner of the board (next to J2). For example, this
page describes version 2.4, which is represented as v24.
In this version, the silk screen text was made to fat, which
makes the port names extremely hard to read. The next version of the
board (v2.5) will have this problem fixed.
In this version, the silk names for port RE7, RE6, RE5, RE4, RE3
and RE2 were incorrectly labled as F7, F6, F5, F4, F3, and F2
respectively. They are all located in the upper left hand section of
the board. (See below.)
The J1 alternate power connector is not located on the .100"
grid. This will not be fixed in future versions, as it is a space based
layout constraint.
The purpose of J6 (USB) is so that you can add your own USB
connector if you want. You'd need to do this if you wanted to use an
OTG connector, or use a USB A socket (for host functionality), etc.
If you are going to use the board for USB host functionality, you
will need to jumper the "Host" jumper (JP1) and supply the board with
5V into the 5V net, or use the external power connector J1 or J2.
There is a footprint for a female USB A connector on the bottom
of the board. SparkFun now sells
this part.Note that you must not try to use USB Host and USB Client
at the same time (as there is only one USB engine in the PIC32.)
Note that even though all of the PIC32's I/O pins are brought out
to headers, there are some pins that already have functions - see the
schematic for complete details:
RE0, RE1, RE2 and RE3 are used to control the four LEDs on the
UBW32 - all will be set to outputs when the firmware starts running,
and the USB LED will blink on and off when the UBW32 is connected to
the PC
RE7 and RE6 are connected to the PRG and USR switches
respectively - both will be set to inputs in the firmware
RB5 is hardware dedicated to the VBUSON function, and can not
be used as an I/O pin under software control