mikroElektronika mikroProg User Manual

Page 1
mikroProg
mikroProg™ 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 2
I want to express my thanks to you for being interested in our products and for having
condence 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 3
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 4
mikroProg™ for PIC®, dsPIC® and PIC32® represents fast and reliable programmer with ICD support. Specially designed rmware
allows programming of all Microchip® microcontrollers: PIC®, dsPIC®, PIC24® and PIC32®. And there’s no need for rmware change each
time you select a new microcontroller architecture because mikroProg™ rmware 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 5
Page 5
Key features
- In-Circuit Debugging (ICD).
- One rmware 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
01
02
Page 6
Page 6
1. Driver installation
mikroProg™ requires drivers in order to work. Drivers are located on the link bellow:
In the opened folder you should be
able to locate the driver setup le. Double click on setup le to begin
installation of the programmer drivers.
When you locate the drivers, please extract les from the ZIP archive. Folder with extracted les contains folders with drivers for dierent operating systems. Depending on which operating system you use, choose adequate folder and open it.
http://www.mikroe.com/downloads/get/1202/mikroprog_for_pic_drivers_v200.zip
Page 7
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
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 9
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
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 conguration 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
Page 11
4. Powering target device via mikroProg
One of the key benets of mikroProg™ is that is can power your
target device. You can set power supply voltage in range from
2.7V to 5V with output current up to 250mA. This option is
activated from mikroProg Suite™ for PIC® (v2.29) 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, rst set desired voltage and then click
on check box “Power board from programmer”.
01
03
02
Setting supply voltage value from 2.7 to 5V (max 250mA)
Check box for enabling supply voltage from programmer
Box with selected supply voltage
02
01
03
Figure 4-1: Voltage options
Page 12
5. Connecting with
a target device
For 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 dierent 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
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)
Page 14
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
Page 15
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 benets 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 16
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
nished. 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/
debugging
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.
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16 17 18 19 20 21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC GND RA7 RA6 RC0 RC1 RC2 RC3 RD0 RD1
RB2 RB1
RB7 RB6 RB5 RB4 RB3
RB0
RD7
VCC
GND
RD6 RD5 RD4
RD2
RC7 RC6 RC5 RC4
RD3
PIC18F45K22
MCU-PGC MCU-PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6
PGD-RB7
MCLR
MCU-VCC
R R R
100nF
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 17
Page 17
Programming/debugging is enabled when mikroProg™ is connected to the device. As shown on Figure 8-3, when programming/debugging
is nished, 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.
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16 17 18 19 20 21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC GND RA7 RA6 RC0 RC1 RC2 RC3 RD0 RD1
RB2 RB1
RB7 RB6 RB5 RB4 RB3
RB0
RD7
VCC
GND
RD6 RD5 RD4
RD2
RC7 RC6 RC5 RC4 RD3
PIC18F45K22
MCU-PGC MCU-PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
MCU-VCC
R R R
100nF
RESET
10K1K
MCU-VCC
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16 17 18 19 20 21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC GND RA7 RA6 RC0 RC1 RC2 RC3 RD0 RD1
RB2 RB1
RB7 RB6 RB5 RB4 RB3
RB0
RD7
VCC
GND
RD6 RD5 RD4
RD2
RC7 RC6 RC5 RC4 RD3
PIC18F45K22
MCU-PGC MCU-PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
MCU-VCC
R R R
100nF
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 18
MCU-PGD
Multiplexer
PGD
PROG USB
VCC
MCU-VCC VCC MCU-VCC VCC
IDC10
connector
D+
GN
D
D-
mikroProg for PIC
MCU-PGC
PGC
MCU-MCLR
MCLR
MCU-PGD
MCU-PGC
MCU-MCLR
BRD-PGD BRD-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 aecting its operation.
Figure 8-5: Multiplexer in the idle mode
Multiplexer in idle mode
Page 19
Page 19
USB
mikroProg for PIC
MCU-PGD
MCU-PGC
MCU-MCLR
BRD-PGD BRD-MCLR
BRD-PGC
DATA
MCU-PGD
Multiplexer
PGD
VCC
MCU-VCC VCC MCU-VCC VCC
IDC10
connector
D+
GN
D
D-
MCU-PGC
PGC
MCU-MCLR
MCLR
PROG
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 aecting the operation of the device itself. It also prevents external signals from aecting 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-6: Multiplexer in the programming/ debugging mode
Multiplexer in programming/debugging mode
Page 20
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
Page 21
Connection examples - PIC
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
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15
16
17
18
19
20
21
22
23
24
25
26
27
28
MCLR RA0 RA1 RA2 RA3 RA4 RA5 GND OSC1 RA6 RC0 RC1 RC2 Vusb
RB7 RB6
RB3
RB5 RB4
RB2 RB1
RB0 VCC GND
RC7
RC6
RC5
RC4
MCU-RB6/PGC MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
100nF
C
MCU-VCC
MCU-VCC
USER INTERFACE
PIC18F2550
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16 17 18 19 20 21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC GND RA7 RA6 RC0 RC1 RC2 RC3 RD0 RD1
RB2 RB1
RB7 RB6 RB5 RB4 RB3
RB0
RD7
VCC
GND
RD6 RD5 RD4
RD2
RC7 RC6 RC5 RC4
RD3
PIC16F887
MCU-RB6/PGC MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
C1
100nFC2100nF
MCU-VCC MCU-VCC
MCU-VCC
USER INTERFACE
Page 22
Page 22
Connection examples - PIC18FK
Figure 10-3: Connecting 2x5 male header with PIC18F45K22 in 40-pin DIP package
PIC18FK DIP40
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
401 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19 20
MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC GND RA7 RA6 RC0 RC1 RC2 RC3 RD0 RD1
RB2 RB1
RB7 RB6 RB5 RB4 RB3
RB0
RD7
VCC
GND
RD6 RD5 RD4
RD2
RC7 RC6 RC5 RC4
RD3
PIC18F45K22
MCU-RB6/PGC MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
C1
100nFC2100nF
MCU-VCC MCU-VCC
MCU-VCC
USER INTERFACE
Page 23
Page 23
Connection examples - PIC18F
30
29
28
27
34
33
58 57 56 55 54 53 52
47
36
35
43
44
45
46
37
38
9
49
5011
12
32
72
69
68
676665
64
63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62
61
60 59
39
40
41
42
48
71
31
51
70
26
25 76
75
74
73
GND
GND
GND GND
VCC
VCC
RB0 RB1 RB2 RB3 RB4 RB5
PGC/RB6
PGD/RB7
RC2
RC3
RC4
RC5
VCC
OSC2/RA6 OSC1/RA7
RJ2 RJ3
RJ6
RJ7
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
RE2
RE3
RE4
RE5
RE6
RE7
RH0
RH1
RJ0
RJ1
RE0
RE1
RH2 RH3
RG0 RG1 RG2 RG3
RG4
MCLR
RF2
RF3
RF4
RF5
RF6
RF7
RH6
RH7
VCC
RA0
RA1
RA2
RA3
RA4
RA5
RC0
RC1
RC6
RC7
RJ4
RJ5
RH4
RH5
RF1
RF0
AVCC
AGND
PIC18F8722
MCU-RB6/PGC MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
C1
100nFC2100nFC3100nFC4100nFC5100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
MCU-VCC
USER INTERFACE
Figure 10-4: Connecting 2x5 male header with PIC18F8722 in 80-pin TQFP package
PIC18F TQFP80
Page 24
Page 24
Connection examples - PIC18FK
Figure 10-5: Connecting 2x5 male header with PIC18F87K22 in 80-pin TQFP package
PIC18FK TQFP80
9
11 12
4
3
18
17
16
15
14
13
5 6 7 8
10
1 2
20
19
72
69
686766
656463
78
77
79
80
62
61
71
70
76
75
74
73
58 57 56 55 54 53 52
47
43
44
45
46
49
50
60 59
41
42
48
51
30
29
28
27
3433363537
38
32
24
232221
39
40
31
26
25
GND
GND
GND GND
VCC
VCC
RB0 RB1 RB2 RB3 RB4 RB5
PGC/RB6
PGD/RB7
RC2
RC3
RC4
RC5
VCC
OSC2/RA6
OSC1/RA7
RJ2 RJ3
RJ6
RJ7
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
RE2
RE3
RE4
RE5
RE6
RE7
RH0
RH1
RJ0
RJ1
RE0
RE1
RH2 RH3
RG0 RG1 RG2 RG3
RG4
MCLR
RF2
D-
D+
RF5
RF6
RF7
RH6
RH7
Vcap
RA0
RA1
RA2
RA3
RA4
RA5
RC0
RC1
RC6
RC7
RJ4
RJ5
RH4
RH5
RF1/VU SB
ENVRE G/RF0
AVCC
AGND
PIC18F87K22
C1
E1
100nFC2100nFC3100nFC4100nF
10uF
MCU-RB6/PGC
MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
MCU-VCC
PGC-RB6 PGD-RB7 MCLR
USER INTERFACE
Page 25
Page 25
Connection examples - PIC18FJ
30
29
28
27
34
33
363537
38
32
24
23
22
21
39
40
31
26
25
9
11 12
4
3
18
17
16
15
14
13
5 6 7 8
10
1 2
20
19
72
696867
66
65
64
63
787779
80
62
61
71
70
76
75
74
73
58 57 56 55 54 53 52
47
43
44
45
46
49
50
60 59
41
42
48
51
GND
GND
GND GN D
VCC
VCC
RB0 RB1 RB2 RB3 RB4 RB5
PGC/RB6
PGD/RB7
RC2
RC3
RC4
RC5
VCC
OSC2/RA6 OSC1/RA7
RJ2 RJ3
RJ6
RJ7
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
RE2
RE3
RE4
RE5
RE6
RE7
RH0
RH1
RJ0
RJ1
RE0
RE1
RH2 RH3
RG0 RG1 RG2 RG3
RG4
MCLR
RF2
D-
D+
RF5
RF6
RF7
RH6
RH7
Vcap
RA0
RA1
RA2
RA3
RA4
RA5
RC0
RC1
RC6
RC7
RJ4
RJ5
RH4
RH5
Vusb
ENVRE G
AVCC
AGND
PIC18F87J50
MCU-RB6/PGC MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
C1
100nFC2100nFC3100nFC4100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
10uF
E1
MCU-VCC
USER INTERFACE
Figure 10-6: Connecting 2x5 male header with PIC18F87J50 in 80-pin TQFP package
PIC18FJ TQFP80
Page 26
Page 26
Connection examples - PIC18FJ
30
29
28
27
34
33
58 57 56 55 54 53 52
47
36
35
43
44
45
46
37
38
9
49
5011
12
32
72
69
68
67
66
65
64
63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62
61
60 59
39
40
41
42
48
71
31
51
70
26
25
76
757473
GND
GND
GND
GND
VCC
VCC
TPIN-
VssRX
RG0 RG1 RB4 RB5
PGC/RB6
PGD/RB7
RC2
RC3
RC4
RC5
VCC
OSC2 OSC1
VccRX TPIN+
RG3
RG2
RD0
RD1
RD2
VssPLL
VccPLL
RBIAS
VssTX
TPOUT +
RE2
RE3
RE4
RE5
RE6
RE7
RH0
RH1
TPOUT -
VccTX
RE0
RE1
RH2 RH3
RB0 RB1 RB2 RB3
RG4
MCLR
RF2
RF3
RF4
RF5
RF6
RF7
RH6
RH7
Vcap
RA0
RA1
RA2
RA3
RA4
RA5
RC0
RC1
RC6
RC7
RJ4
RJ5
RH4
RH5
RF1
ENVRE G
AVCC
AGND
PIC18F87J60
MCU-RB6/PGC MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
10uF
E1
C1
100nFC2100nFC3100nFC4100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
MCU-VCC
USER INTERFACE
Figure 10-7: Connecting 2x5 male header with PIC18F87J60 in 80-pin TQFP package
PIC18FJ TQFP80
Page 27
Page 27
Connection examples - dsPIC30
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16 17 18 19 20 21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
MCLR RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RB8 VCC GND OSC1 OSC2 RC13 RC14 RA11 RD9 RD3 GND
RB12
RD0
AVCC
AGND
RB9 RB10 RB11
RD1
RF0
VCC
GND
RF1 RF4 RF5
VCC
RF2 RF3
RF6 RD8 RD2
dsPIC30F4013
MCU-RB6/PGC
MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
MCU-VCC
C1
100nFC2100nFC3100nFC4100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
USER INTERFACE
Figure 10-8: Connecting 2x5 male header with dsPIC30F4013 in 40-pin DIP package
dsPIC30 DIP40
Page 28
Page 28
Connection examples - dsPIC30
Figure 10-9: Connecting 2x5 male header with dsPIC30F6014A in 80-pin TQFP package
dsPIC30 TQFP80
9
11 12
4
3
18
17
16
15
14
13
5 6 7 8
10
1 2
20
19
30
29
28
27
34
33
36
35
37
38
32
24
23
22
21
39
40
31
26
25
58 57 56 55 54 53 52
47
43
44
45
46
49
50
60 59
41
42
48
51
7
6
666
6
6
6
7
7
7
8
6
6
7
7
7
7
7
7
2
9876543
879
0
2
1
1
0
654
3
GND
GND
GND
GND
VCC
VCC
RD0 RD11 RD10
RD9
RD8 RA15 RA14
RG2
RF8
RF7
RF6
RG3
VCC
OSC2 OSC1
RC14 RC13
RF3
RF2
RF0
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RG14
RA7
RA6
RG0
RG1
RF1
RG12
RG13
RD2
RD1
RC3
RC2
RG15 RC1
RC4 RG6 RG7 RG8
RG9
MCLR
RB2
RB3
RB4
RB5
RA13
RA12
RB0
RB1
VCC
RB11
RB10
RB9
RB8
RB13
RB12
RB15
RB14
RD14
RD15
RF4
RF5
RB7
RB6
RA9
RA10
AVCC
AGND
dsPIC30F6014A
MCU-RB6/PGC
MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
C1
100nFC2100nFC3100nFC4100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC
C5
100nF
MCU-VCC
MCU-VCC
USER INTERFACE
Page 29
Page 29
Connection examples - dsPIC33
302928
27
34
33
46
36
35
424344
45
37
504849
32
383940
41
47
31
26
9
11 12
4
3
24
23
18
17
16
15
14
13
5 6 7 8
10
1 2
22
21
20
19
25
787779
807681
82
83
8485868788
89
90
919293
94
95
96
97
9899100
58 57 56 55 54 53 52
72
69 68 67 66 65 64 63 62 61 60 59
71
51
70
75 74 73
C1
100nFC2100nFC3100nFC4100nFC5100nFC6100nF
10uF
E1
MCU-RB6/PGC
MCU-RB7/PGD
MCU-MCLR
MCU-VCC MCU-VCC VCC
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
PGC-RB6 PGD-RB7 MCLR
dsPIC33FJ256GP710A
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RA15
RG2
RB15
RB14
RF8
RF7
RF6
RG3
GND
VCC
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9/V ref-
RB1
RB2
RB3
RB4
RB5
RA13
RD9 RD8
RF2 RF3
GND
RG7
RG6
RA1
RE3
RE4
RG15 VCC
RB7/P GED1
RB6/P GEC1
RB0
RF4
RF5
RA14
RA5
RD14
RD15
RA2
RF13
VCC
RA3
VCC
VCC
RA12
RA0
VCC
GND
RF12
RA4
GND
VCAP
AGND
AVCC
RA10/ Vref+
MCLR
RC4
RC12
RC15
RD10
RD3
RD1
RC13
RC14
GND
RD2
RD12
RD13
RD4
RD5
RG9
RD11
RD0
USER INTERFACE
Figure 10-10: Connecting 2x5 male header with dsPIC303FJ256GP710A in 100-pin TQFP package
dsPIC33 TQFP100
Page 30
Page 30
Connection examples - PIC24
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15
16
17
18
19
20
21
22
23
24
25
26
27
28
MCLR RA0 RA1 RB0 RB1 RB2 RB3 GND OSCI OSCO RB4 RA4 VCC RB5
VCC
GND
RB13
RB15 RB14
RB12 RB11 RB10
RA6 RA7
RB9 RB8
RD3
RB7 RB6
PIC24F16KA102
MCU-RB1/PGC MCU-RB0/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB1 PGD-RB0 MCLR
C1
100nFC2100nF
MCU-VCC MCU-VCC
MCU-VCC
USER INTERFACE
Figure 10-11: Connecting 2x5 male header with PIC24F16KA102 in 28-pin DIP package
PIC24FK TQFP80
Page 31
Page 31
Connection examples - PIC24
787779
80
76
81828384858687
88
89
9091929394
9596979899
10
9
11 12
4
3
24
23
18
17
16
15
14
13
5 6 7 8
10
1 2
22
21
20
19
25
302928
27
34
33
46
36
35
424344
45
37
504849
32
38
39
40
41
47
31
26
58 57 56 55 54 53 52
72
69 68 67 66 65 64 63 62 61 60 59
71
51
70
75 74 73
PIC24FJ256GB110
0
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RA15
D+
RB15
RB14
RF8
Vbus
Vusb
D-
GND
VCC
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9/Vr ef-
RB1
RB2
RB3
RB4
RB5
RE9
RD9 RD8
RF2
USBID/RF3
GND
RG7
RG6
RA1
RE3
RE4
RG15 VCC
RB7/P GED2
RB6/P GEC2
RB0
RF4
RF5
RA14
RA5
RD14
RD15
RA2
RF13
VCC
RA3
VCC
ENVRE G
RE8
RA0
VCC
GND
RF12
RA4
GND
VCAP
AGND
AVCC
RA10/ V ref+
MCLR
RC4
RC12
RC15
RD10
RD3
RD1
RC13
RC14
GND
RD2
RD12
RD13
RD4
RD5
RG9
RD11
RD0
MCU-RB6/PGC
MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
C1
100nFC2100nFC3100nFC4100nFC5100nFC6100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
10uF
E1
MCU-VCC
USER INTERFACE
Figure 10-12: Connecting 2x5 male header with PIC24FJ256BG110 in 100-pin TQFP package
PIC24FJ TQFP100
Page 32
Page 32
Connection examples - PIC32
78
77
79
807681
82
838485
86
87
88
899091
929394
95
96
97
9899100
9
11 12
4
3
24
23
18
17
16
15
14
13
5 6 7 8
10
1 2
22
21
20
19
25
30
29
28
27
34
334636
35
42
43
44
45
37
504849
32
383940
41
47
31
26
58 57 56 55 54 53 52
72
69 68 67 66 65 64 63 62 61 60 59
71
51
70
75 74 73
PIC32MX460F512L
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RA15
RG2
RB15
RB14
RF8
Vbus
Vusb
RG3
GND
VCC
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9
RB1
RB2
RB3
RB4
RB5
RA13
RD9 RD8
RF2 RF3
GND
RG7
RG6
RA1
RE3
RE4
RG15 VCC
RB7/P GED2
RB6/P GEC2
RB0
RF4
RF5
RA14
RA5
RD14
RD15
RA2
RF13
VCC
RA3
VCC
ENVRE G
RA12
RA0
VCC
GND
RF12
RA4
GND
VCAP
AGND
AVCC
RA10
MCLR
RC4
RC12
RC15
RD10
RD3
RD1
RC13
RC14
GND
RD2
RD12
RD13
RD4
RD5
RG9
RD11
RD0
MCU-RB6/PGC
MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
C1
100nFC2100nFC3100nFC4100nFC5100nFC6100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
10uF
E1
MCU-VCC
USER INTERFACE
Figure 10-13: Connecting 2x5 male header with PIC32MX460F512L in 100-pin TQFP package
PIC32MX4 TQFP100
Page 33
Page 33
9
11 12
4
3
24
23
18
17
16
15
14
13
5 6 7 8
10
1 2
22
21
20
19
25
302928
27
34
33
46
36
35
42
434445
37
50
48
49
32
38
39
40
41
47
31
26
58 57 56 55 54 53 52
72
69 68 67 66 65 64 63 62 61 60 59
71
51
70
75 74 73
78
77
79
80
76
81
82
838485
86
878889
90
91
92
93
94
95
96
979899
10
PIC32MX795F512L
0
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RA15
D+
RB15
RB14
RF8
Vbus
Vusb
D-
GND
VCC
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9
RB1
RB2
RB3
RB4
RB5
RE9
RD9 RD8
RF2 RF3
GND
RG7
RG6
RA1
RE3
RE4
RG15 VCC
RB7/P GED2
RB6/P GEC2
RB0
RF4
RF5
RA14
RA5
RD14
RD15
RA2
RF13
VCC
RA3
VCC
VCC
RE8
RA0
VCC
GND
RF12
RA4
GND
VCAP
AGND
AVCC
RA10
MCLR
RC4
RC12
RC15
RD10
RD3
RD1
RC13
RC14
GND
RD2
RD12
RD13
RD4
RD5
RG9
RD11
RD0
MCU-RB6/PGC
MCU-RB7/PGD
MCU-MCLR
MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR
C1
100nFC2100nFC3100nFC4100nFC5100nFC6100nF
MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC
10uF
E1
MCU-VCC
C7
100nF
MCU-VCC
USER INTERFACE
Figure 10-14: Connecting 2x5 male header with PIC32MX760F512L in 100-pin TQFP package
PIC32MX7 TQFP100
Connection examples - PIC32
Page 34
Page 34
Notes:
Page 35
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 modication 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 tness 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, ocers, employees or distributors be liable for any indirect, specic, incidental or consequential damages (including damages for loss of business prots 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 identication or explanation and to the owners’ benet, with no intent to infringe.
Copyright © MikroElektronika, 2013, 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 trac
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 specically disclaim any expressed or implied warranty of tness for High
Risk Activities.
Page 36
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/support/
If you have any questions, comments or business proposals,
do not hesitate to contact us at oce@mikroe.com
mikroProg for PIC, dsPIC and PIC32
manual, ver. 2.21b
0 100000 025239
Loading...