mikroElektronika mikroProg User Manual

Fast usb programmer
Hide thumbs Also See for mikroProg:

Advertisement

mikroProg
for 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!

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the mikroProg and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

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.
  • Page 3: Table Of Contents

    2 – Accept EULA step 3 – Installing the drivers step 4 – Finish installation 2. Connecting to a PC 3. mikroProg Suite™ for PIC® software 4. Powering device via mikroProg™ 5. Connecting with a target device 6. IDC10 Pinout 7.
  • Page 4: Introduction To Mikroprog

    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™...
  • Page 5: Key Features

    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...
  • Page 6: Driver Installation

    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.
  • Page 7: Step 1 - Start Installation

    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...
  • Page 8: Step 3 - Installing The Drivers

    step 3 – Installing the drivers step 4 – Finish installation Finish Drivers are installed automatically Click on button to end installation process Page 8...
  • Page 9: Connecting To A Pc

    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...
  • Page 10: Mikroprog Suite™ For Pic® Software

    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...
  • Page 11: Powering Device Via Mikroprog

    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™...
  • Page 12: Connecting With A Target Device

    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.
  • Page 13: Idc10 Pinout

    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...
  • Page 14: Connection Examples

    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.
  • Page 15: Using 2X5 Male Headers

    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.
  • Page 16: Multiplexer

    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.
  • Page 18: Multiplexer In Idle Mode

    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.
  • Page 19: Multiplexer In Programming/Debugging Mode

    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.
  • Page 20: Examples Of Connection Schematics

    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 23 PIC18F TQFP80 Figure 10-4: Connecting 2x5 male header with PIC18F8722 in 80-pin TQFP package MCU-VCC MCU-VCC MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCLR PGC/RB6 PIC18F8722 OSC2/RA6 OSC1/RA7 100nF 100nF 100nF 100nF 100nF PGD/RB7 Page 23...
  • Page 24 PIC18FK TQFP80 Figure 10-5: Connecting 2x5 male header with PIC18F87K22 in 80-pin TQFP package MCU-VCC MCU-VCC MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCLR PGC/RB6 PIC18F87K22 OSC2/RA6 Vcap OSC1/RA7 100nF 100nF 100nF 100nF PGD/RB7 10uF Page 24...
  • Page 25 PIC18FJ TQFP80 Figure 10-6: Connecting 2x5 male header with PIC18F87J50 in 80-pin TQFP package MCU-VCC MCU-VCC MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR MCU-VCC MCU-VCC MCU-VCC MCU-VCC PGC/RB6 MCLR PIC18F87J50 OSC2/RA6 OSC1/RA7 Vcap 100nF 100nF 100nF 100nF PGD/RB7 10uF Page 25...
  • Page 26 PIC18FJ TQFP80 Figure 10-7: Connecting 2x5 male header with PIC18F87J60 in 80-pin TQFP package MCU-VCC MCU-VCC MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR VccRX TPIN+ TPIN- VssRX MCU-VCC MCU-VCC MCU-VCC MCU-VCC PGC/RB6 MCLR PIC18F87J60 OSC2 OSC1 Vcap 100nF 100nF 100nF 100nF PGD/RB7...
  • Page 27 dsPIC30 DIP40 Figure 10-8: Connecting 2x5 male header with dsPIC30F4013 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 AVCC AGND RB10 RB11 RB12 MCU-VCC MCU-VCC MCU-VCC MCU-VCC OSC1 100nF 100nF 100nF 100nF OSC2 RC13 RC14 RA11...
  • Page 28 dsPIC30 TQFP80 Figure 10-9: Connecting 2x5 male header with dsPIC30F6014A in 80-pin TQFP package MCU-VCC MCU-VCC MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR RC14 RG15 RC13 RD11 RD10 RA15 RA14 MCLR dsPIC30F6014A OSC2 OSC1 MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC RA12 RA13 100nF...
  • Page 29 MCU-VCC MCU-VCC 10uF MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR RG15 RC14 RC13 RD11 RD10 RA15 RA14 RC15 MCLR RC12 dsPIC33FJ256GP710A MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC 100nF 100nF 100nF 100nF 100nF 100nF RA12 RA13 dsPIC33 TQFP100 Figure 10-10: Connecting 2x5 male header with dsPIC303FJ256GP710A in 100-pin TQFP package Page 29...
  • Page 30 PIC24FK TQFP80 Figure 10-11: Connecting 2x5 male header with PIC24F16KA102 in 28-pin DIP package MCU-VCC MCU-VCC MCU-RB1/PGC PGC-RB1 MCU-RB0/PGD PGD-RB0 USER INTERFACE MCU-MCLR MCLR MCLR RB15 RB14 RB13 MCU-VCC MCU-VCC RB12 RB11 RB10 OSCI OSCO 100nF 100nF Page 30...
  • Page 31 MCU-VCC MCU-VCC 10uF MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR RG15 RC14 RC13 RD11 RD10 RA15 RA14 RC15 PIC24FJ256GB110 MCLR RC12 MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC 100nF 100nF 100nF 100nF 100nF 100nF Vusb Vbus USBID/RF3 PIC24FJ TQFP100 Figure 10-12: Connecting 2x5 male header with PIC24FJ256BG110 in 100-pin TQFP package Page 31...
  • Page 32 MCU-VCC MCU-VCC 10uF MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR RG15 RC14 RC13 RD11 RD10 RA15 RA14 RC15 PIC32MX460F512L MCLR RC12 MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC RA12 100nF 100nF 100nF 100nF 100nF 100nF RA13 Vusb Vbus PIC32MX4 TQFP100 Figure 10-13: Connecting 2x5 male header with PIC32MX460F512L in 100-pin TQFP package...
  • Page 33 MCU-VCC MCU-VCC 10uF MCU-RB6/PGC PGC-RB6 MCU-RB7/PGD PGD-RB7 USER INTERFACE MCU-MCLR MCLR RG15 RC14 RC13 RD11 RD10 RA15 RA14 RC15 PIC32MX795F512L MCLR RC12 MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC MCU-VCC 100nF 100nF 100nF 100nF 100nF 100nF 100nF Vusb Vbus PIC32MX7 TQFP100 Figure 10-14: Connecting 2x5 male header with PIC32MX760F512L in 100-pin TQFP package...
  • Page 34 Notes: Page 34...
  • 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...

Table of Contents