mikroprog for pic , dspic and pic32 - tme...what are it’s key benefits in section 8 of this...
TRANSCRIPT
mikroProgmikroProg™ is a fast USB programmer with mikroICD™
hardware In-Circuit Debugger support. Smart engineering
allows mikroProg to support PIC10®, PIC12®, PIC16®, PIC18®,
dsPIC30/33®, PIC24® and PIC32® devices
in a single programmer!
for PIC®, dsPIC® and PIC32®™
Page 2 Page 3
I want to express my thanks to you for being interested in our products and for having
confidence in MikroElektronika.
The primary aim of our company is to design and produce high quality electronic products
and to constantly improve the performance thereof in order to better suit your needs.
TO OUR VALUED CUSTOMERS
Nebojsa Matic
General Manager
The PIC®, dsPIC®, PIC24®, PIC32® and Windows® logos and product names are trademarks of Microchip Technology® and Microsoft® in the U.S.A. and other countries.
Page 2 Page 3
Introduction to mikroProg™ 4
Key features 5
1. Driver installation 6
step 1 – Start installation 7
step 2 – Accept EULA 7
step 3 – Installing the drivers 8
step 4 – Finish installation 8
2. Connecting to a PC 9
3. mikroProg Suite™ for PIC® software 10
4. Powering device via mikroProg™ 11
5. Connecting with a target device 12
6. IDC10 Pinout 13
7. Connection examples 14
Using 1x5 male headers 14
Using 2x5 male headers 15
8. Multiplexer 16
Multiplexer in idle mode 18
Multiplexer in programming/debugging mode 19
10. Examples of connection schematics 20
Table of Contents
Page 4 Page 5
mikroProg™ for PIC®, dsPIC® and PIC32® represents fast and reliable programmer with ICD support. Specially designed firmware
allows programming of all Microchip® microcontrollers: PIC®, dsPIC®, PIC24® and PIC32®. And there’s no need for firmware change each
time you select a new microcontroller architecture because mikroProg™ firmware takes care of all supported architectures. Supporting
new microcontrollers is easy. Just by downloading the latest version of mikroProg Suite™ for PIC® your programmer is ready to
program new devices.
Introduction to mikroProg™
Page 4 Page 5
Key features
- In-Circuit Debugging (ICD).
- One firmware for PIC®, dsPIC®, PIC24®
and PIC32® microcontroller families
- New microcontrollers support via
latest version of mikroProg™ Suite for PIC® software
- Can provide power supply for target
device
01
02
03
04
05
06
Flat cable
USB MINIB connector
DATA transfer indication LED
ACTIVE indication LED
LINK indication LED
POWER indication LED
06
05
04
03
0102
Page 6 Page 7
1. Driver installation
mikroProg™ requires drivers in order to work. Drivers are
located on the Product DVD that you received with the
mikroProg™ package:
When you locate the drivers, please extract
files from the ZIP archive. Folder with extracted files contains
folders with drivers for different operating systems. Depending
on which operating system you use, choose adequate folder
and open it.
DVD://download/eng/software/development-tools/universal/ mikroprog/mikroprog_for_pic_ drivers_v200.zip
In the opened folder you should be
able to locate the driver setup file.
Double click on setup file to begin
installation of the programmer
drivers.
19122011 www.mikroe.com
Copyright ©2011 Mikroelektronika. All rights reserved. Mikroelektronika, Mikroelektronika logo and other
Mikroelektronika trademarks are the property of Mikroelektronika. All other tradmarks are the property of their respective owners.
Unauthorised copying, hiring, renting, public performance and broadcasting of this DVD prohibited.
Available on Product DVD!
Page 6 Page 7
step 2 – Accept EULAstep 1 – Start installation
01 In welcome screen click on Next> button 01
02
In order to proceed select: I accept the this EULA
(End User License Agreement)
Click Next> button
01
01 02
Page 8
step 3 – Installing the drivers step 4 – Finish installation
01 Drivers are installed automatically 01 Click on Finish button to end installation process
01
01
Page 8 Page 9
2. Connecting to a PC
After driver installation is complete, you can now connect the programmer with your PC using
USB cable provided with the package. Green POWER LED should turn ON, indicating the presence
of power supply. Amber-colored LINK LED will turn ON when link between mikroProg™ and PC is
established. Link can be established only when correct drivers are installed on your PC.
Page 10 Page 11
mikroProg Suite™ for PIC® software is
intended for programming PIC®, dsPIC®,
PIC24® and PIC32® microcontrollers from
Microchip®. The graphic interface of this
program is clear and easy-to-use, which
makes the use of this program faster. The
program’s main window includes basic
options for programming microcontrollers. In
addition, there are advanced programming
options that enable experienced users to
set configuration bits on their own. The
program includes views providing basic
information about the selected MCU,
voltage monitoring, etc.
3. mikroProg Suite™ for PIC® software
Page 10 Page 11
4. Powering target device via mikroProg™
One of the key benefits of mikroProg™ is that is can power your
target devide. You can set power supply voltage in range from
1.8V to 5V with output current up to 150mA. This option is
activated from mikroProg Suite™ for PIC® software. Click
the MCU Info button to display Voltage Options section. First
you must select MCU family and choose your target MCU from
a dropdown list. mikroProg™ will automatically set the default
value of power supply for your MCU. You can also manually set
voltage supply value by moving slider under mikroProg Suite™
for PIC® window, Figure 4-1.
To enable power supply, first set desired voltage and then click
on check box “Power board from programmer”.
01
03
02
Setting supply voltage value from 1.8 to 5V (max 150mA)
Check box for enabling supply voltage from programmer
Box with selected supply voltage
02
01 03
Figure 4-1: Voltage options
5. Connecting with
a target deviceFor connection with a target device mikroProg™ uses female
IDC10 connector, Figure 5-1. In order to make proper connection
with the target board it is necessary to pay attention to IDC10
connector pinout. Every pin has a different purpose and for easy
orientation IDC10 connector is marked with a little knob and
incision, Figure 5- 2.
Front side of IDC10 connector is marked with a knob and incision.
Front side holds PGC, PGD and MCLR pins which are used for
microcontroller programming. Figure 5-1: IDC10 connector
Figure 5-2: Knob and incision for easy orientation
First pin
Page 12
Page 13
Figure 6-1: IDC10 pinout
01
03
05
07
09 10
08
06
04
02
01
03
05
07
09
MCU-VCC - MCU power supply
MCU-PGC - Serial programming clock
MCU-PGD - Serial programming data
MCU-MCLR - Master clear/Programming voltage
GND - Ground
6. IDC10 Pinout
02
04
06
08
10
VCC
PGC
PGD
MCLR
GND
These pins are multiplexed (see section 8.0 for more information)
When connecting mikroProg™ with your device via 1x5 header make sure to use front side
of IDC10 connector (side with a knob and incision), Figure 7-2. 1x5 programming
headers are found in some of Mikroelektronika products, like mikromedia
boards, Figure 7-2.
For connecting mikroProg™ with your target device a best solution is to provide 1x5 or 2x5
male headers which are connected with programing pins on microcontroller. You can see
several examples of connection schematics in the Section 10 of this manual.
7. Connection examples
Using 1x5 male headers
Figure 7-2: Connecting mikroProg™ to mikromedia board via 1x5 male header
Figure 7-1: Use only front row for programming
Page 14
By using 2x5 male connector in your device you can exploit the multiplexing feature
of mikroProg™ for PIC®, dsPIC® and PIC32®. We’ll explain how multiplexer operates and
what are it’s key benefits in Section 8 of this manual.
Figure 7-3: Use entire IDC10 connector for multiplexing feature
Figure 7-4: Connecting mikroProg™ with Ready for PIC® via 2x5 male header
Using 2x5 male headers
Page 15
Page 16 Page 17
8. Multiplexer
Multiplexer is specially designed circuit which serves as a switch.
Purpose of multiplexer is that there’s no need for disconnecting
mikroProg™ programmer from a device when programming is
finished. Multiplexing is always available, but can only be used
with 2x5 male header on target board as shown on Figure 8-1. Multiplexer allows the usage of programming
pins (PGC and PGD) as I/O lines when not in
programming/debugging mode. Master
clear reset (MCLR) pin is also
multiplexed and can be used
for resetting target
MCU when not in
programming/
d e b u g g i n g
mode.
While pins on MCU are separated from rest of the circuit, they can
not be used as I/O or reset pins as shown on Figure 8-2. There are
two ways to connect programming pins: 1. with mikroProg™ 2x5
female connector 2. by placing jumpers over 2x5 male header.
123456789
1011121314151617181920 21
22232425262728293031323334353637383940
MCLRRA0RA1RA2RA3RA4RA5RE0RE1RE2VCCGNDRA7RA6RC0RC1RC2RC3RD0RD1
RB2RB1
RB7RB6RB5RB4RB3
RB0
RD7
VCCGND
RD6RD5RD4
RD2
RC7RC6RC5RC4RD3
PIC1
8F45
K22
MCU-PGCMCU-PGD
MCU-MCLR
MCU-VCC VCC
PGC-
RB6
PGD
-RB7
MCL
R
MCU-VCC
R R R100nF
RESET
10K1K
MCU-VCC
Figure 8-2: Having 2x5 programmer header, programming lines are separated from rest of the circuit.
Programming pins or I/Os?
Figure 8-1: mikroProg™ 2x5 male header next to reset button
Page 16 Page 17
Programming/debugging is enabled when mikroProg™ is connected to the device. As shown on Figure 8-3, when programming/debugging
is finished, multiplexer reconnects programming/debugging pins so they can be used as I/Os. There’s no need to remove mikroProg™
connector. When mikroProg™ is removed, place jumpers over 2x5 male header in order to use programming/debugging pins as I/O, and
MCLR pin as reset (Figure 8-4). In programming/debugging mode MCLR pin is used by mikroProg™, otherwise it is used by MCU.
123456789
1011121314151617181920 21
22232425262728293031323334353637383940
MCLRRA0RA1RA2RA3RA4RA5RE0RE1RE2VCCGNDRA7RA6RC0RC1RC2RC3RD0RD1
RB2RB1
RB7RB6RB5RB4RB3
RB0
RD7
VCCGND
RD6RD5RD4
RD2
RC7RC6RC5RC4RD3
PIC1
8F45
K22
MCU-PGCMCU-PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
MCU-VCC
R R R100nF
RESET
10K1K
MCU-VCC
123456789
1011121314151617181920 21
22232425262728293031323334353637383940
MCLRRA0RA1RA2RA3RA4RA5RE0RE1RE2VCCGNDRA7RA6RC0RC1RC2RC3RD0RD1
RB2RB1
RB7RB6RB5RB4RB3
RB0
RD7
VCCGND
RD6RD5RD4
RD2
RC7RC6RC5RC4RD3
PIC1
8F45
K22
MCU-PGCMCU-PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
MCU-VCC
R R R100nF
RESET
10K1K
MCU-VCC
Figure 8-3: Multiplexer allows the usage of programming pins as I/O and MCLR pin as reset when not in programming/debugging mode
Figure 8-4: When mikroProg™ is removed place jumpers over 2x5 male header in order to use programming pins as I/O and MCLR pin as reset
Multiplexer decides pin function Programming pins just as I/Os
Page 18 Page 19
MCU-PGD
MultiplexerPGD
PROG USB
VCC
MCU-VCC VCC
IDC10connector
D+GND
D-
mikroProg for PIC
MCU-PGCPGC
MCLRMCLR
MCU-VCC VCC
MCU-PGDMCU-PGC
MCU-MCLRBRD-PGDBRD-MCLR
BRD-PGC
DATA
When programming/debugging is not in progress, the multiplexer releases the programming pins and MCLR, thus enabling them to be used as
I/O pins or reset. This also enables the programmer to be connected to the target device without affecting its operation.
Figure 8-5: Multiplexer in the idle mode
Multiplexer in idle mode
Page 18 Page 19
MCU-PGD
MultiplexerPGD
PROG USB
VCC
MCU-VCC VCC
IDC10connector
D+GND
D-
mikroProg for PIC
MCU-PGCPGC
MCLRMCLR
MCU-VCC VCC
MCU-PGDMCU-PGC
MCU-MCLRBRD-PGDBRD-MCLR
BRD-PGC
DATA
During programming/debugging, the multiplexer disconnects the microcontroller pins used for programming/debugging from the target device.
This enables the programming/debugging process to be safely performed without affecting the operation of the device itself. It also prevents
external signals from affecting the programming/debugging process. When the programming/debugging process has been completed, the
multiplexer releases the microcontroller pins used for programming, so that they can be used as I/O pins or reset respectively.
Figure 8-4: Multiplexer in the programming/debugging mode
Multiplexer in programming/debugging mode
Page 21
Following examples demonstrate connections
with some of the most popular supported MCUs. For
all other MCUs consult manufacturer’s datasheet. All
PIC®, dsPIC® and PIC32® MCUs use PGC, PGD and MCLR/
Vpp pins for programming. Some MCUs have several groups
of programming pins. For example dsPIC33FJ128GP710A
has three pairs of programmable pins PGED1-PGEC1, PGED2-
PGEC2 or PGED3-PGEC3 (MCLR/Vpp pin is same for all pin groups).
Whichever group of programming pins you decide to use, make sure
to connect each pin properly.
10. Examples of connection schematics
PGC - Serial programming clock
PGD - Serial programming data
MCLR/Vpp - Master clear/Programming voltage
Note: In order for microcontroller to work properly, decoupling capacitors must be
connected as close as possible to microcontroller’s VCC pins.
Page 20
Page 21
Conn
ecti
on e
xam
ples
- P
IC
Figure 10-1: Connecting 2x5 male header with PIC18F2550 in 28-pin DIP package
Figure 10-2: Connecting 2x5 male header with PIC16F887 in 40-pin DIP package
PIC DIP28 PIC DIP40
123456789
1011121314 15
16171819202122232425262728
MCLRRA0RA1RA2RA3RA4RA5GNDOSC1RA6RC0RC1RC2Vusb
RB7RB6
RB3
RB5RB4
RB2RB1RB0VCCGNDRC7RC6RC5RC4
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
100nF
C
MCU-VCC
MCU-VCC
USERINTERFACE
PIC1
8F25
50
123456789
1011121314151617181920 21
22232425262728293031323334353637383940
MCLRRA0RA1RA2RA3RA4RA5RE0RE1RE2VCCGNDRA7RA6RC0RC1RC2RC3RD0RD1
RB2RB1
RB7RB6RB5RB4RB3
RB0
RD7
VCCGND
RD6RD5RD4
RD2
RC7RC6RC5RC4RD3
PIC1
6F88
7
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
C1
100nF
C2
100nF
MCU-VCC MCU-VCC
MCU-VCC
USERINTERFACE
Page 22 Page 23
Conn
ecti
on e
xam
ples
- P
IC1
8FK
Figure 10-3: Connecting 2x5 male header with PIC18F45K22 in 40-pin DIP package
PIC18FK DIP40
21222324252627282930313233343536373839401
23456789
1011121314151617181920
MCLRRA0RA1RA2RA3RA4RA5RE0RE1RE2VCCGNDRA7RA6RC0RC1RC2RC3RD0RD1
RB2RB1
RB7RB6RB5RB4RB3
RB0
RD7
VCCGND
RD6RD5RD4
RD2
RC7RC6RC5RC4RD3
PIC1
8F45
K22
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
C1
100nF
C2
100nF
MCU-VCC MCU-VCC
MCU-VCC
USERINTERFACE
Page 22 Page 23
Conn
ecti
on e
xam
ples
- P
IC1
8F
30292827 3433
58575655545352
473635
43444546
37 38
9
495011
12
32
72 69 68 67 66 65 64 63
43
78 772423
181716151413
5678
10
7980
12
2221
2019
62 61
6059
39 40
4142
48
7131
5170
262576 75 74 73
GNDGND
GN
DG
ND
VCC
VCC
RB0RB1RB2RB3RB4RB5
PGC/RB6
PGD/RB7
RC2RC3RC4RC5
VCC
OSC2/RA6OSC1/RA7
RJ2RJ3
RJ6RJ7
RD
0
RD
1R
D2
RD
3R
D4
RD
5R
D6
RD
7
RE2
RE3
RE4
RE5
RE6
RE7
RH
0R
H1
RJ0
RJ1
RE0RE1
RH2RH3
RG0RG1RG2RG3
RG4MCLR
RF2RF3RF4RF5RF6RF7
RH6RH7
VCC
RA
0R
A1
RA
2R
A3
RA
4R
A5
RC
0R
C1
RC
6R
C7
RJ4
RJ5
RH
4R
H5
RF1
RF0
AVC
CA
GN
D
PIC18F8722
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
C1
100nF
C2
100nF
C3
100nF
C4
100nF
C5
100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
MCU-VCC
USERINTERFACE
Figure 10-4: Connecting 2x5 male header with PIC18F8722 in 80-pin TQFP package
PIC18F TQFP80
Page 24 Page 25
Conn
ecti
on e
xam
ples
- P
IC1
8FK
Figure 10-5: Connecting 2x5 male header with PIC18F87K22 in 80-pin TQFP package
PIC18FK TQFP80
9
1112
43
181716151413
5678
10
12
2019
72 69 68 67 66 65 64 6378 777980 62 6171 7076 75 74 73
58575655545352
47
43444546
4950
6059
4142
48
51
30292827 3433 3635 37 383224232221 39 40312625
GNDGND
GN
DG
ND
VCC
VCC
RB0RB1RB2RB3RB4RB5
PGC/RB6
PGD/RB7
RC2RC3RC4RC5
VCC
OSC2/RA6OSC1/RA7
RJ2RJ3
RJ6RJ7
RD
0
RD
1R
D2
RD
3R
D4
RD
5R
D6
RD
7
RE2
RE3
RE4
RE5
RE6
RE7
RH
0R
H1
RJ0
RJ1
RE0RE1
RH2RH3
RG0RG1RG2RG3
RG4MCLR
RF2D-D+RF5RF6RF7
RH6RH7
Vcap
RA
0R
A1
RA
2R
A3
RA
4R
A5
RC
0R
C1
RC
6R
C7
RJ4
RJ5
RH
4R
H5
RF1
/VU
SBEN
VREG
/RF0
AVC
CA
GN
D
PIC18F87K22 C1
E1 100nF
C2
100nF
C3
100nF
C4
100nF
10uF
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
MCU-VCC
PGC-RB6PGD-RB7MCLR
USERINTERFACE
Page 24 Page 25
Conn
ecti
on e
xam
ples
- P
IC1
8FJ
30292827 3433 3635 37 383224232221 39 40312625
9
1112
43
181716151413
5678
10
12
2019
72 69 68 67 66 65 64 6378 777980 62 6171 7076 75 74 7358575655545352
47
43444546
4950
6059
4142
48
51
GNDGND
GN
DG
ND
VCC
VCC
RB0RB1RB2RB3RB4RB5
PGC/RB6
PGD/RB7
RC2RC3RC4RC5
VCC
OSC2/RA6OSC1/RA7
RJ2RJ3
RJ6RJ7
RD
0
RD
1R
D2
RD
3R
D4
RD
5R
D6
RD
7
RE2
RE3
RE4
RE5
RE6
RE7
RH
0R
H1
RJ0
RJ1
RE0RE1
RH2RH3
RG0RG1RG2RG3
RG4MCLR
RF2D-D+RF5RF6RF7
RH6RH7
Vcap
RA
0R
A1
RA
2R
A3
RA
4R
A5
RC
0R
C1
RC
6R
C7
RJ4
RJ5
RH
4R
H5
Vusb
ENVR
EGA
VCC
AG
ND
PIC18F87J50
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
C1
100nF
C2
100nF
C3
100nF
C4
100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
10uF
E1
MCU-VCC
USERINTERFACE
Figure 10-6: Connecting 2x5 male header with PIC18F87J50 in 80-pin TQFP package
PIC18FJ TQFP80
Page 26 Page 27
Conn
ecti
on e
xam
ples
- P
IC1
8FJ
30292827 3433
58575655545352
47
363543444546
37 38
9
495011
12
32
72 69 68 67 66 65 64 63
43
78 772423
181716151413
5678
10
7980
12
2221
2019
62 61
6059
39 40
4142
4871
31
51
70
262576 75 74 73
GNDGND
GN
DG
ND
VCC
VCC
TPIN-VssRX
RG0RG1RB4RB5
PGC/RB6
PGD/RB7
RC2RC3RC4RC5
VCC
OSC2OSC1
VccRXTPIN+
RG3RG2
RD
0
RD
1R
D2
VssP
LLVc
cPLL
RBI
AS
VssT
XTP
OU
T+RE2
RE3
RE4
RE5
RE6
RE7
RH
0R
H1
TPO
UT-
VccT
X
RE0RE1
RH2RH3
RB0RB1RB2RB3
RG4MCLR
RF2RF3RF4RF5RF6RF7
RH6RH7
VcapR
A0
RA
1R
A2
RA
3
RA
4R
A5
RC
0R
C1
RC
6R
C7
RJ4
RJ5
RH
4R
H5
RF1
ENVR
EGA
VCC
AG
ND
PIC18F87J60
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
10uF
E1
C1
100nF
C2
100nF
C3
100nF
C4
100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
MCU-VCC
USERINTERFACE
Figure 10-7: Connecting 2x5 male header with PIC18F87J60 in 80-pin TQFP package
PIC18FJ TQFP80
Page 26 Page 27
Conn
ecti
on e
xam
ples
- ds
PIC
30
123456789
1011121314151617181920 21
22232425262728293031323334353637383940
MCLRRB0RB1RB2RB3RB4RB5RB6RB7RB8VCCGNDOSC1OSC2RC13RC14RA11RD9RD3GND
RB12RD0
AVCCAGND
RB9RB10RB11
RD1
RF0
VCCGND
RF1RF4RF5
VCC
RF2RF3RF6RD8RD2
dsPI
C30F
4013
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
MCU-VCC
C1
100nF
C2
100nF
C3
100nF
C4
100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
USERINTERFACE
Figure 10-8: Connecting 2x5 male header with dsPIC30F4013 in 40-pin DIP package
dsPIC30 DIP40
Page 28 Page 29
Conn
ecti
on e
xam
ples
- ds
PIC
30
Figure 10-9: Connecting 2x5 male header with dsPIC30F6014A in 80-pin TQFP package
dsPIC30 TQFP80
9
1112
43
181716151413
5678
10
12
2019
30292827 3433 3635 37 383224232221 39 4031262558575655545352
47
43444546
4950
6059
4142
48
51
7 6 6 6 6 6 6 67 778 6 67 77 7 7 7 2 9 8 7 6 5 4 38 790 2 11 06 5 4 3
GNDGND
GN
DG
ND
VCC
VCC
RD0RD11RD10RD9RD8
RA15RA14
RG2
RF8RF7RF6RG3
VCC
OSC2OSC1
RC14RC13
RF3RF2
RF0
RD
7R
D6
RD
5R
D4
RD
13R
D12
RD
3
RG
14R
A7
RA
6R
G0
RG
1R
F1
RG
12R
G13
RD
2R
D1
RC3RC2
RG15RC1
RC4RG6RG7RG8
RG9MCLR
RB2RB3RB4RB5RA13RA12
RB0RB1
VCC
RB1
1R
B10
RB9
RB8
RB1
3R
B12
RB1
5R
B14
RD
14R
D15
RF4
RF5
RB7
RB6
RA
9R
A10
AVC
CA
GN
D
dsPIC30F6014A
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
C1
100nF
C2
100nF
C3
100nF
C4
100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
C5
100nF
MCU-VCC
MCU-VCC
USERINTERFACE
Page 28 Page 29
Conn
ecti
on e
xam
ples
- ds
PIC
33
30292827 3433 463635 42 43 44 4537 5048 4932 38 39 40 41 473126
9
1112
43
2423
181716151413
5678
10
12
22212019
25
78 777980 7681828384858687888990919293949596979899100
58575655545352
72
6968676665646362616059
71
51
70
757473
C1
100nF
C2
100nF
C3
100nF
C4
100nF
C5
100nF
C6
100nF
10uF
E1
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC MCU-VCC VCC
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
PGC-RB6PGD-RB7MCLR
dsPIC33FJ256GP710A PF
RB1
1R
B10
RB9
RB8
RB1
3R
B12
RE7RC1RC2RC3
RA15
RG2
RB1
5R
B14
RF8RF7RF6RG3
GN
DVC
C
RA
6R
G0
RG
1
RE0 RF1
RF0
RD
7R
D6
RE6RE5
RE2
RG
13R
G12
RG
14R
E1
RA
7
RG8
RA
9/Vr
ef-RB1
RB2RB3RB4RB5RA13
RD9RD8
RF2RF3
GND
RG7RG6
RA
1
RE3
RE4
RG15VCC
RB7
/PG
ED1
RB6
/PG
EC1
RB0
RF4
RF5
RA14
RA5
RD
14R
D15
RA2
RF1
3
VCC
RA3
VCC
VCC
RA12RA0VCC
GN
D
RF1
2
RA4
GNDVC
AP
AG
ND
AVC
CR
A10
/Vre
f+
MCLR
RC4
RC12RC15
RD10
RD
3
RD
1
RC13RC14GND
RD
2
RD
12R
D13
RD
4R
D5
RG9
RD11RD0
USERINTERFACE
Figure 10-10: Connecting 2x5 male header with dsPIC303FJ256GP710A in 100-pin TQFP package
dsPIC33 TQFP100
Page 30 Page 31
Conn
ecti
on e
xam
ples
- P
IC2
4
123456789
1011121314 15
16171819202122232425262728
MCLRRA0RA1RB0RB1RB2RB3GNDOSCIOSCORB4RA4VCCRB5
VCCGND
RB13
RB15RB14
RB12RB11RB10RA6RA7RB9RB8
RD3
RB7RB6
PIC2
4F16
KA10
2
MCU-RB1/PGCMCU-RB0/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB1PGD-RB0MCLR
C1
100nF
C2
100nF
MCU-VCC MCU-VCC
MCU-VCC
USERINTERFACE
Figure 10-11: Connecting 2x5 male header with PIC24F16KA102 in 28-pin DIP package
PIC24FK TQFP80
Page 30 Page 31
Conn
ecti
on e
xam
ples
- P
IC2
4
78 777980 768182838485868788899091929394959697989910
9
1112
43
2423
181716151413
5678
10
12
22212019
25
30292827 3433 463635 42 43 44 4537 5048 4932 38 39 40 41 473126
58575655545352
72
6968676665646362616059
71
51
70
757473
PIC24FJ256GB110 PT
0
RB1
1R
B10
RB9
RB8
RB1
3R
B12
RE7RC1RC2RC3
RA15
D+
RB1
5R
B14
RF8VbusVusb
D-
GN
DVC
C
RA
6R
G0
RG
1
RE0 RF1
RF0
RD
7R
D6
RE6RE5
RE2
RG
13R
G12
RG
14R
E1
RA
7
RG8
RA
9/Vr
ef-RB1
RB2RB3RB4RB5RE9
RD9RD8
RF2USBID/RF3
GND
RG7RG6
RA
1
RE3
RE4
RG15VCC
RB7
/PG
ED2
RB6
/PG
EC2
RB0
RF4
RF5
RA14
RA5
RD
14R
D15
RA2
RF1
3
VCC
RA3
VCC
ENVR
EG
RE8RA0VCC
GN
D
RF1
2
RA4
GNDVC
AP
AG
ND
AVC
CR
A10
/Vre
f+
MCLR
RC4
RC12RC15
RD10
RD
3
RD
1
RC13RC14GND
RD
2
RD
12R
D13
RD
4R
D5
RG9
RD11RD0
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
C1
100nF
C2
100nF
C3
100nF
C4
100nF
C5
100nF
C6
100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
10uF
E1MCU-VCC
USERINTERFACE
Figure 10-12: Connecting 2x5 male header with PIC24FJ256BG110 in 100-pin TQFP package
PIC24FJ TQFP100
Page 32 Page 33
Conn
ecti
on e
xam
ples
- P
IC3
2
78 777980 7681828384858687888990919293949596979899100
9
1112
43
2423
181716151413
5678
10
12
22212019
25
30292827 3433 463635 42 43 44 4537 5048 4932 38 39 40 41 473126
58575655545352
72
6968676665646362616059
71
51
70
757473
PIC32MX460F512LR
B11
RB1
0R
B9R
B8
RB1
3R
B12
RE7RC1RC2RC3
RA15
RG2
RB1
5R
B14
RF8VbusVusbRG3
GN
DVC
C
RA
6R
G0
RG
1
RE0 RF1
RF0
RD
7R
D6
RE6RE5
RE2
RG
13R
G12
RG
14R
E1
RA
7
RG8
RA
9
RB1RB2RB3RB4RB5RA13
RD9RD8
RF2RF3
GND
RG7RG6
RA
1
RE3
RE4
RG15VCC
RB7
/PG
ED2
RB6
/PG
EC2
RB0R
F4R
F5
RA14
RA5
RD
14R
D15
RA2
RF1
3
VCC
RA3
VCC
ENVR
EG
RA12RA0VCC
GN
D
RF1
2RA4
GND
VCA
P
AG
ND
AVC
CR
A10
MCLR
RC4
RC12RC15
RD10
RD
3
RD
1
RC13RC14GND
RD
2
RD
12R
D13
RD
4R
D5
RG9
RD11RD0
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
C1
100nF
C2
100nF
C3
100nF
C4
100nF
C5
100nF
C6
100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
10uF
E1MCU-VCC
USERINTERFACE
Figure 10-13: Connecting 2x5 male header with PIC32MX460F512L in 100-pin TQFP package
PIC32MX4 TQFP100
Page 32 Page 33
9
1112
43
2423
181716151413
5678
10
12
22212019
25
30292827 3433 463635 42 43 44 4537 5048 4932 38 39 40 41 473126
58575655545352
72
6968676665646362616059
71
51
70
757473
78 777980 768182838485868788899091929394959697989910
PIC32MX795F512L
0
RB1
1R
B10
RB9
RB8
RB1
3R
B12
RE7RC1RC2RC3
RA15
D+
RB1
5R
B14
RF8VbusVusb
D-
GN
DVC
C
RA
6R
G0
RG
1
RE0 RF1
RF0
RD
7R
D6
RE6RE5
RE2
RG
13R
G12
RG
14R
E1
RA
7
RG8
RA
9
RB1RB2RB3RB4RB5RE9
RD9RD8
RF2RF3
GND
RG7RG6
RA
1
RE3
RE4
RG15VCC
RB7
/PG
ED2
RB6
/PG
EC2
RB0
RF4
RF5
RA14
RA5
RD
14R
D15
RA2
RF1
3
VCC
RA3
VCC
VCC
RE8RA0VCC
GN
D
RF1
2
RA4
GNDVC
AP
AG
ND
AVC
CR
A10
MCLR
RC4
RC12RC15
RD10
RD
3
RD
1
RC13RC14GND
RD
2
RD
12R
D13
RD
4R
D5
RG9
RD11RD0
MCU-RB6/PGCMCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6PGD-RB7MCLR
C1
100nF
C2
100nF
C3
100nF
C4
100nF
C5
100nF
C6
100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
10uF
E1MCU-VCC
C7
100nF
MCU-VCC
USERINTERFACE
Figure 10-14: Connecting 2x5 male header with PIC32MX760F512L in 100-pin TQFP package
PIC32MX7 TQFP100
Conn
ecti
on e
xam
ples
- P
IC3
2
Page 34 Page 35
Notes:
Page 34 Page 35
DISCLAIMER
All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this manual is prohibited.
MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular purpose.
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business profits and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary.
TRADEMARKS
The MikroElektronika name and logo, the MikroElektronika logo, mikroC™, mikroBasic™, mikroPascal™, mikroProg™, EasyPIC™, EasyPIC PRO™ and mikromedia™ are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies.All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only used for identification or explanation and to the owners’ benefit, with no intent to infringe.
Copyright © MikroElektronika, 2012, All Rights Reserved.
HIGH RISK ACTIVITIES
The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazard-ous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.
If you want to learn more about our products, please visit our website at www.mikroe.com
If you are experiencing some problems with any of our products or just need additional
information, please place your ticket at www.mikroe.com/esupport
If you have any questions, comments or business proposals,
do not hesitate to contact us at [email protected] for PIC, dsPIC and PIC32
manual, ver. 1.00
0 100000 017708