Summary of Contents for mikroElektronika mikroProg
Page 1
PIC , dsPIC and PIC32 ® ® ® ™ 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!
Page 2
TO OUR VALUED CUSTOMERS 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.
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™...
Key features In-Circuit Debugging (ICD). - One firmware for PIC®, dsPIC®, PIC24® PIC32® microcontroller families - New microcontrollers support via mikroProg™ Suite latest version of for PIC® software - Can provide power supply for target device Flat cable USB MINIB connector...
1. Driver installation mikroProg™ requires drivers in order to work. Drivers are located on the link bellow: http://www.mikroe.com/downloads/get/1202/mikroprog_for_pic_drivers_v200.zip 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.
step 1 – Start installation step 2 – Accept EULA In welcome screen click on Next> button In order to proceed select: I accept the this EULA (End User License Agreement) Click Next> button Page 7...
step 3 – Installing the drivers step 4 – Finish installation Finish Drivers are installed automatically Click on button to end installation process Page 8...
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 9...
3. mikroProg Suite for PIC software ™ ® mikroProg Suite™ for PIC® software is intended for programming PIC®, dsPIC®, PIC24® 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...
4. Powering target device via mikroProg ™ One of the key benefits of mikroProg™ is that is can power your target device. You can set power supply voltage in range from 2.7V with output current up to 250mA. This option is activated from mikroProg Suite™...
Figure 5-2: Knob and incision for easy orientation 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 different purpose and for easy orientation IDC10 connector is marked with a little knob and incision, Figure 5- 2.
6. IDC10 Pinout MCU-VCC - MCU power supply MCU-PGC - Serial programming clock MCU-PGD - Serial programming data MCU-MCLR - Master clear/Programming voltage - Ground These pins are multiplexed (see section 8.0 for more MCLR information) Figure 6-1: IDC10 pinout Page 13...
7. Connection examples row for programming 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.
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.
I/O or reset pins as shown on Figure 8-2. There are mikroProg™ 2x5 two ways to connect programming pins: 1. with mikroProg™ 2x5 male header next female connector 2. by placing jumpers over 2x5 male header.
Page 17
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.
Multiplexer in idle mode mikroProg for PIC Multiplexer MCU-PGD PROG DATA MCU-PGC MCLR MCU-MCLR MCU-VCC MCU-VCC MCU-PGC BRD-PGC MCU-PGD BRD-PGD Figure 8-5: MCU-MCLR BRD-MCLR Multiplexer in the idle mode IDC10 connector 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.
Multiplexer in programming/debugging mode mikroProg for PIC Multiplexer MCU-PGD PROG DATA MCU-PGC MCLR MCU-MCLR MCU-VCC MCU-VCC MCU-PGC BRD-PGC MCU-PGD BRD-PGD Figure 8-6: MCU-MCLR BRD-MCLR Multiplexer in the programming/ IDC10 debugging mode connector During programming/debugging, the multiplexer disconnects the microcontroller pins used for programming/debugging from the target device.
10. Examples of connection schematics 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.
Page 21
PIC DIP28 PIC DIP40 Figure 10-1: Connecting 2x5 male header Figure 10-2: Connecting 2x5 male header with PIC18F2550 in 28-pin DIP package with PIC16F887 in 40-pin DIP package MCU-VCC MCU-VCC MCU-RB6/PGC PGC-RB6 MCU-VCC MCU-VCC MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR MCLR MCU-RB6/PGC PGC-RB6...
Page 22
PIC18FK DIP40 Figure 10-3: Connecting 2x5 male header with PIC18F45K22 in 40-pin DIP package MCU-VCC MCU-VCC MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR MCLR MCU-VCC MCU-VCC 100nF 100nF Page 22...
Page 35
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.
Page 36
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, mikroProg for PIC, dsPIC and PIC32 manual, ver. 2.21b do not hesitate to contact us at office@mikroe.com...
Need help?
Do you have a question about the mikroProg and is the answer not in the manual?
Questions and answers