User Manual

E a s y P I C v 8 M a n u a l
P A G E 15
NET-LINK (AMBER) When the CODEGRIP module is connected to the WiFi network,
this LED will indicate that the connection has been established
ACTIVE (RED) Indicates the operational state of the CODEGRIP module: when
CODEGRIP module is in the bootloader mode, this indicator will blink. Normal operation
of the CODEGRIP module is indicated by the ACTIVE LED being constantly turned ON
DATA (BLUE) Indicates that there is a data transfer ongoing between the MCU and the
CODEGRIP module
The onboard CODEGRIP module requires no additional drivers, as it utilizes a HID driver
model, which is natively supported by the computer OS. This makes its installation
very easy and straightforward in the case when the USB cable is used. As soon as the
USB cable is connected to the host PC, the CODEGRIP module is enumerated and the
development board is ready to be used.
CODEGRIP programmer/debugger module is supported by CODEGRIP Suite. Detailed
explanation on how to confi gure and use the CODEGRIP module on the EasyPIC v8
development board fi nd at the following link: www.mikroe.com/debuggers/codegrip
CODEGRIP device setup
Since the development board supports many diff erent MCUs with a diff erent number
of pins and functionalities, it is necessary to connect the CODEGRIP programmer/
debugger to the correct programming lines (PGC, PGD) of the particular MCU. The
development board allows easy selection of the programming lines by off ering a set of
high-quality DIP switches (2), which ensure reliable operation. For more information
about MCU DIP sockets and how to use them, please refer to the MCU sockets chapter.
All DIP switches required to set up the programming and reset lines for each DIP
socket, are grouped under the DEVICE SETUP (3) label, in a section located in the
middle of the EasyPIC v8 development board.
PGC/PGD switches
There are three switches located in the DEVICE SETUP section, labeled as PGC/PGD. These
switches allow to redirect the programming lines of the CODEGRIP onboard module to the
corresponding programming pins of the MCU. These switches have an MCU DIP socket name
printed next to it, so it is very easy to know which one should be used for which socket.
DBG selection
The EasyPIC v8 development board is equipped with the RJ-12 connector (4),
compatible with Microchip® ICD external programmers/debuggers. If an external
programmer/debugger is connected, the onboard CODEGRIP module should be
disabled to avoid data corruption. A DIP switch located next to RJ-12 ICD connector
allows selection of a programmer/debugger that will be used:
EXTERNAL (up): an external programmer/debugger is connected, the onboard
CODEGRIP module is disabled
ONBOARD (down): an external programmer is not connected, the
onboard CODEGRIP module is enabled
If using DIP40, DIP28, DIP18A, or DIP18B MCU sockets, a DIP switch with the RB6/
RB7 label printed above it should be used to confi gure the programming lines:
RB6/RB7 (DIP40, DIP28, DIP18A, DIP18B)
GPIO (up): allows the RB6 and RB7 pins to be used as GPIO lines
PROG/DEBUG (down): connects the RB6 and RB7 pins to the CODEGRIP
programmer/debugger module
If using DIP20, DIP14, DIP8 or 10F MCU sockets, two DIP switches are available for
confi guration of the programming lines, depending on a particular MCU that is used:
RA1/RA0 (DIP20, DIP14, DIP8,10F MCU)
GPIO (up): allows the RA1 and RA0 pins to be used as GPIO lines
PROG/DEBUG (down): connects the RA1 and RA0 pins to the CODEGRIP
programmer/debugger module
RC1/RC0 (DIP20, DIP14, DIP8,10F MCU)
GPIO (up): allows the RC1 and RC0 pins to be used as GPIO lines
PROG/DEBUG (down): connects the RC1 and RC0 pins to the CODEGRIP
programmer/debugger module
P A G E 15
C O D E G R I P