Home
mikroProg Suite
Contents
1. Figure 3 7 History window Minimized program icon 4 Config window Along the right side of the main window you may notice a CONFIG button Click it to expand the main window with additional panel containing MCU configuration options It s contents will be adjusted depending on the selected microcontrollers Common options for all MCU s are CONFIG button opens config window Configuration Bits section is used to set specific options for chosen MCU Protect parts of MCU memory from unauthorized reading and writing ID Location in MCU memory ee Be Basic information about selected MCU mikroProg Suite for PIC v2 20 by mikroElektronika __ File USB Info MCU Family S E O 1 MCU PIC18F45K22 Configuration Bits Oscillator 4 x PLL Enable bit Primary Clock Enable Bit Fail safe CLK Monitor INT EXT Switch over Read Write Blank Verify MCU INFO Brown Out Voltage Brown Out Detect Power Up Timer Erase Reset HEX File Options Watchdog Postscale Save Watchdog Timer Load ReloadHex MCLR Enable Bit V Load Save CODE CCP2 B Output MUX bit V Load Save DATA HE Tntner fact n ID Locations Minimize o 2 EC oscillator high power gt 16 MHz 4 x PLL is under software control PLLEN Primary Clock is always enabled Disabled Disabled 2 05 V HW Enabled D
2. mikroProg Suite P C nro oI ee programming software code Protect ____ m pata EEPROM p code 00000 007FF 90300 0 1FFF e Code 04000 05FFF fi Code 06000 07FFF read write J g Recs n 3 v Table Write verify Blank iB table Vn nm Prora z a m Configuration Bits Power Up Timer ne r Data EEPROM tchdog Postscale 1 32768 masiv F Code 00000 007FF ey anchio THe WOT enabled in hardware n g Fi Code 00800 0 1FFF MCLR Enable Bit MCLR Enabled RE3 Disabled z E cke eae CP2 B Output MUX bit P25 is on RD2 zm Code 06000 07FFF mikroProg Suite for PIC is a free software T3CMX T3CKTis on RCO g HE Tntaer Ctortiin LEINTOCS anida onkdietaued tect used for programming of all of Microchip Table Read Protect _ wee 5 Sees cove aia Pr PE Pe F Code 00000 007FF 7 microcontroller families including PIC10 aS ae Idle ype PIC12 PIC16 PIC18 dsPIC30 33 PIC24 c Games CE Revision and PIC32 It features user friendly interface 7 MikroElektronika DEVELOPMENT TOOLS COMPILERS BOOKS with simple to use options and menus hing tiated f MikroElektronika DEVELOPMENT TOOLS COMPILERS BOOKS E O OUR A ED CUSTOMERS want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika
3. 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 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 Introduction to mikroProg Suite for PIC Main Window 1 Installation step 1 Start installation step 2 Licence Agreement Step 3 Select user step 4 Install location step 5 Progress bar step 6 Finish installation 2 Quick start step 1 MCU family step 2 MCU type step 3 Load HEX Step 4 Browse for hex file step 5 Write HEX step 6 Progress bar Table of Contents WO CGO GONN DD MN A A PRPrP PPP PB NNrFrFP OOO Step 7 Finish upload 3 Menus File menu USB menu Info menu Minimize 4 Config window 5 MCU Info window Voltage Options Section MCU Information Section 6 Advanced options 7 Keyboard shortcuts and command line parameters Keyboard shortcuts Command line Example 01 Example 02 Example 03 I2 13 13 13 14 14 15 16 17 18 19 21 21 21 ZL le ae Introduction to mikroProg Suite for PIC File USB Info Minimize MCU Family CONFIG Write Blank MCU INFO Reset HEX File Options Program mikroProg Suite for PIC is intended for programming Load Save PIC dsPIC an
4. consists of button s check box s and menus File menu Trike USB Info Minimiz Tr Reload a Info Gl Exit Figure 3 1 File menu Load HEX file Save HEX file under different name Reload HEX file D Display information about HEX file 05 Close mikroProg Suite for PIC Eile USB Info Minimiz LoadHEX Ctri O GE SaveHEX Ctri S 1 C PROJECT ADC_ON_LEDS HEX Info 2 C PROJECT SOUND HEX G bit 3 C PROJECT GLCD HEX Clear History Figure 3 2 Reload Reload menu shows previously loaded HEX files which can be reloaded with a single click Click the Clear History option any time to erase the list piile USB Info Minimiz amp LoadHEX Ctri O G4 Save HEX Ctrl S amp Reload gt File Information File Name GLCD HEX File Location C USERS ANIKOLIC MIK DOCUMENTS PROJECT File Attributes File Size v Archive 31133 Bytes Hidden Read Only System Figure 3 2 File information USB menu pliSBel Info Minimize amp Show Devices ef Firmware Update Figure 3 3 USB menu Select USB Programmer Device WDM Internal Version 6 00 16386 mikroProg Firmware v2 11 Easy When you select your development tool PRG ICD LED will blink so you can determine which one is selected Figure 3 4 USB menu Under USB menu click the Show Devices option A new window will appear containing information about connected USB device and f
5. of mikroProg Suite for PIC main window notice USB icon which will turn red when device is connected DATA UNITAR Options Progress Figure 2 1 USB icon in bottom right corner step 1 MCU family EE mikroProg Suite File USB Minimize MCU Family Info Verify Blank Erase Reset HEX File Options Load Save Reload HEX Load Save CODE 7 Load Save DATA CODE MATA LIRITT T From drop down list select MCU family of your device in this case PIC18F K Step 2 MCU type File USB PIC 18F26K20 PIC18F 26K 22 PIC1BLF26K22 PIC18F43K20 PIC 18F43K22 PIC1BLF43K22 PIC18F44K20 PIC 1BF44K22 PIC1BLF44K22 PIC18F45K20 PIC 18F45K22 PIC 18F46K20 PIC 18F46K22 PIC 18LF46K 22 PIC 18F25K80 PIC 18F26K80 PIC 18F45K80 PIC 18F46K80 PIC 18F65K80 LULL MATA Info PRI T in this case PICL8F K Minimize Ale i From drop down list select MCU type Step 3 Load HEX step 4 Browse for HEX file E mikroProg Suite File USB Info Minimize MCU Family fst Ji Google Talk Received Files PIC 18F l I LEGO Creations Documents library Arrange by Folder Project MECU mikroElektronika Pic iar 45K 29 Ji My muvees J Project o SS J RAD Studio Read wate Write Test d The KMPlayer No preview Verify Blank Blank a by Vegas Movie S
6. HX O RAM 15368 Unfold MCU IO Pins 36 Info section Pin Count 40 using button Max CPU Speed 64 MHz SS SSS in the main Int OSC 16 MHz 32 kHz Erase Reset window No of A D Ch 28 SS eee iy a Dig Comm 2 A E USART 2 aie Operating Voltage 1 8v 5 5 i a Package 40 PDIP 40 UQFN 44 QFN 44 TOFI Recommended Dev Tool Click Here Recommended Compiler Glick Here Documentation Click Here CONFIG HEX File Options Reload HEX Read Write Load Save CODE Load Save DATA MCU INFO Verify Blank CODE Progress A click on the MCU INFO button opens a window containing basic data about the selected microcontroller as well as voltage monitoring options Voltage Options Section The programming voltage Vpp is provided by the programmer during programming procedure Depending on the type of the microcontroller the Vpp programming voltage can be up to 13V Voltage Options Q Power board from programmer Enable Monitoring Voltages Vpp 431V Vec 479V O Check box for enabling supply voltage from programmer Setting supply voltage value from 1 8 to 5V max 250mA Manually read voltages on Vpp and Vcc MCU pins D Check box for enabling automatic voltage monitoring 05 Current Vpp value programming voltage 06 Current Vcc value power supply voltage Voltage Options After programming is finished it is possible to power u
7. Setup Choose the folder in which to install mikroProg Suite for PIC hi S Please wait while mikroProg Suite for PIC v2 20 is being installed v2 20 X Setup will install mikroProg Suite for PIC v2 20 in the following folder To install in a different folder dick Browse and select another folder Click Install to start the installation ers Public Documents Mikroelektronika mikroProg Suite For PIC Space required 35 0MB Space available 5 9GB mikroProg Suite For PIC mikroProg Suite For PIC Use suggested destination folder or select a different in Installation progress bar Stallation path by clicking the Browse button Click the Show details button to monitor installation Click the Install button process more closely Page 8 Step 6 Finish installation G mikroProg Suite for PIC v220Setup kas After installation process is finished mikroProg Suite for PIC Completing the mikroProg Suite for PIC v2 20 Setup Wizard Shortcut will appear on your desktop mikroProg Suite for PIC v2 20 has been installed on your computer Click Finish to dose this wizard Double click it to start mikroProg Suite for PIC software Cancel 01 Click the Finish button to close Setup Wizard Page 9 To program your microcontroller with a desired HEX file just follow these few steps Before you begin connect your device programmer with a PC via USB cable In bottom right corner
8. V T Write to MCU Verify Erase program from MCU Read program from MCU Microcontroller type hex file name FLASH lt name should be enclosed within quotation marks gt Memory blank check whether it is empty the mikroProg Suite for PIC program after programming Example 01 mikroProg Suite for PIC exe w pPIC18F45K22 v f C somefile hex This command is used for loading C somefile hex into the PICL8F45K22 microcontroller This file will be verified immediately after being loaded into the microcontroller Example 02 mikroProg Suite for PIC exe r pPIC18F45K22 This command is used for reading the contents of the PICL8F45K22 microcontroller program memory Example 03 mikroProg Suite for PIC exe e pPIC18F45K22 This command is used to erase program from the PIC18F45K22 microcontroller 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
9. d PIC32 microcontrollers from Microchip The graphic era ie interface of this program is clear and easy to use which makes the LEO NEA prosa Hom use of this program faster The program main window includes basic options for programming microcontrollers In addition there are advanced programming options that enable experienced users to set configuration aaa bits on their own The program includes views providing basic information about the selected MCU voltage monitoring etc Load Save CODE Load Save DATA a DATA UNIT iD Options Progress 0 HEA File EE mikroProg Suite Main Window File USB Info Minimize ready for uploading in MCU EEPROM memory Shows that programer is connected to USB port on a PC red if connected MCU Family B o ICR LT mikroProg Suite for PIC window contains all the programming options These options ra E are graphically presented in the form of buttons drop down lists and check boxes 02 IC IBF45K22 i 03 Read write E 01 MCU family selection list Various settings of visual advanced an oe MCU type selection list and programming options z Read program from MCU cD Expand configuration bits menu D Verify the loaded program 2 Upload hex file in to MCU memory Erase MCU memory contents Expand MCU info menu us Browse for a hex file on your PC D Check whether the MCU is empty 07 Reload previously loaded hex f
10. f A D Ch 28 recommended development system and compiler for the selected microcontroller There is also a link to the MCU manufacturer website where you can find a complete documentation for the selected microcontroller Dig Comm 2 A E USART 2 Operating Voltage 1 8v 5 5v Package 40 PDIP 40 UQFN 44 QFN 44 TOF Recommended Dev Tool Click Here Recommended Compiler Click Here Documentation Click Here Figure 5 2 MCU information section 6 Advanced options Click the Options button and a window containing Fea a i aya Options Program Verify Options Advanced Options and Visual Settings will appear Program Verify Options Advanced Options 7 CODE Verify Chip Writes V Executive Disable Vop First mode entry vV DATA Preserve DATA V ID Locations Clear Buffers Before Load V Configuration Word s DATA 7 BOOT Options Visual Settings Theme 7V Hints Disabled J7 Default Progress 0 Figure 6 1 Options button Figure 6 2 Options window Program Verify Options vV CODE Executive V DATA ID Locations Configuration Word s V BOOT Within the Program Verify Options section it is possible to disable programming verification of the microcontroller memory CODE Executive DATA ID Locations Configuration Words and BOOT Verification is performed by clicking on the Verify button in Main window page 5 Visual Settings Theme Hints D
11. ile 1 Reset the microcontroller Preview program which is in buffer Save buffer to a HEX file and ready for uploading in MCU FLASH Load Save CODE DATA in buffer os i memory 18 Used for some MCU s ID 09 bess is in 09 Preview program which is in buffer and Progress bar 10 is 14 15 16 20 1 Installation Step 1 Start installation mikroProg Suite for PIC v2 20 Setup a mikroProg Suite for PIC setup executable is located on the ve Welcome to the mikroProg Suite for Product DVD You can also download it it from the website PIC v2 20 Setup Wizard This wizard will guide you through the installation of mikroProg Suite for PIC v2 20 PRODUCT DVD COMPILER RS EXAMPLES SCHEMATICS DRIVERS MANL UALS It is recommended that you dose all other applications before starting Setup This will make it possible to update relevant system files without having to reboot your computer DVD download eng software development tools universal mikroprog mikroprog_suite_for_ pic_v220 zip Click Next to continue x When you locate and download the setup please extract files from the ZIP archive Folder with extracted files contains setup executable Double click it to start the setup wizard mm mikroprog_suite_for_pic_v220 zip A N WinRAR ZIP archive 4 70 MB 01 Welcome screen Click the Next button to proceede D m mikroprog_
12. irmware version It is also possible to connect two devices at the same time Figure 3 5 Select USB Programmer Device WDM Internal Version 6 00 16386 When you select your development tool PRG ICD LED will blink so you can determine which one is Figure 3 5 USB menu When two devices are connected at the Same time it is necessary to choose which one is used for programming of your target device Note that it is not possible to use multiple programmers at the same time Info menu Minimize Minimize EE mikroProg Suite File USB MCU Family Info Figure 3 6 Info menu PIC ABET a Info menu contains History and About Figure 3 8 Minimize option options Click the History option to get information about program changes throughout releases About option contains information about the development team Minimize option minimizes program to tray Program stays active until explicitely closed History Added firmware update for mikroProg and LV32MX v6 New dsPIC33E and PIC24 family added Added support for new chips from 24FKA family v2 15 PIC 16F72x config word bug corrected PIC18FxxJ50 config words updated Added support for EasyPIC7 Added support for PIC 16F 182x family PIC 16F 151X family PIC 18F4xK80 family PIC 18F2xK80 family A S v2 10 Added support for PIC18LF13 14K22 50 MCUInfo updated v2 05 Customize
13. isabled 1 32768 WDT enabled in hardware SWDTEN bit is MCLR Enabled RE3 Disabled P25 is on RD2 T3CKI is on RCO UCTNTOAOCA mitt in mnt dale FF FF FF FF FF FF FF FF UNIT ID Options Program Memory Size 32 KB DATA Si Progress 0 Figure 4 1 Config window Page 15 256 Bytes Device Status Idle Address Oh 7 MikroElektronika DEVELOPMENT TOOLS I COMPILERS I BOOKS as making sigle M Data EEPROM M Code 00000 007FF Code 00800 0 1FFF Code 02000 03FFF M Code 04000 05FFF M Code 06000 07FFF Table Write Protect Configuration Bits F Data EEPROM Code 00000 007FF Code 00800 0 1FFF M Code 02000 03FFF Code 04000 05FFF M Code 06000 07FFF Table Read Protect Code 00000 007FF Type Revision EE mikroProg Suite for PIC v2 20 by mikroElektronika File USB Info Minimize MCL Family Voltage Options 5 MCU Info window Power board from programmer gE mikroProg Surte CONFIG 0 0v PIC 18F45K22 bd Read Write File USB Info Minimize Read Voltages MCU INFO Enable Monitoring Voltages Vpp NA Vcc NWA Verify Blank Erase Reset MCU PICISF45K22 hai MCU Information TE Flash Memory 32k6 Load Save EEprom Data Memory 2565 Figure 5 1 Reload
14. isabled m pr Default om Advanced Options v Verify Chip Writes Disable Vop First mode entry Preserve DATA Clear Buffers Before Load The Advanced Options section includes Verify Chip Writes After programing is finished hex code verification is performed automatically By verifying hex code it is eliminated possibility for error in program execution Disable Vpp First mode entry prevent the device from entering program mode via VPP Preserve DATA EEPROM memory is not erased during MCU programming Clear Buffers Before Load Clears DATA and CODE buffers The Visual Settings option is used to select visual program settings as well as to disable hints 7 Keyboard shortcuts and command line parameters Keyboard shortcuts AIt Alt B Alt W Alt V Alt R Alt D AIt F Alt U Alt l Alt M Ctri S Ctri O Ctri R Erase the contents of the microcontroller memory Program memory blank check whether it is empty Write a hex code into microcontroller F11 key may be optionally used Verify the loaded hex code Read program memory Change microcontroller type Open File menu Open USB menu Open Info menu Minimize man window Save hex code Open load file with hex code Reload hex code Command line The mikroProg Suite for PIC programmer may also be set up from the command line which enables you to use it from some other software compiler etc Here is a list of the command line parameters W
15. p target device via mikroProg programmer While device is connected to the programmer set desired voltage using slider Max supply voltage is determined by MCU power supply voltage while minimum voltage is 1 8V max 250mA When voltage is set just check Power board from programmer check box ee Warning Do you want to enable selected voltage to your board A Please check electrical characteristics for your target board and make sure that applied voltage will not harm your components IMPORTANT During programming procedure power supply will go to default values because of programming specification A warning window will appear If electrical characteristics of target device are correct click the Yes button Otherwise click No button and set appropriate electrical characteristics of connected device Move slider to set required voltage level 02 Tick Power board from programmer box Click Yes button after electrical characteristics of connected device are met MCU Information Flash Memory 3248 EEprom Data Memory 2566 z Te MCU Information Section ins 36 a ae l I O Pins Example in Figure 5 2 shows information on the PIC18F45K22 Pin Count 40 microcontroller such as microcontroller memory size number of Max CPU Speed 64MHz integrated modules and 1 0 pins operating speed package etc Int OSC 16 MHz 32 kHz In addition there are links to web pages where you can find the No o
16. suite_for_pic_v220 A d P fika Sua mikroProg_Suite_For_PIC_v220_set up exe Installer for mikroProg Suite For P Page 6 step 2 Licence Agreement Poa mikroProg Suite for PIC v2 20 Setu Bas ren Please review the license terms before installing mikroProg Suite for PIC v2 20 Press Page Down to see the rest of the agreement mikroElektronika Associates License Statement and Limited Warranty IMPORTANT READ CAREFULLY This license statement and limited warranty constitute a legal agreement License Agreement between you either as an individual or a single entity and mikroElektronika mikroElektronika Associates for software product Software identified above induding any software media and accompanying on ine or printed documentation accept the terms of the agreement select the first option below You must accept the t to install mikroProg Suite for PIC v2 20 Click Next to continue I do not accept the terms of the License Agreemen mikroProg Suite For PIC 01 Carefully read End User License Agreement If you agree with it click Next to procede Page 7 Step 3 Select user mikroProg Suite for PIC v2 20 Setup mikroProg Suite For PIC mikroProg Suite For PIC 01 It s recommended to select Install For All Users option Click Next step 4 Choose destination step 5 Progress bar mikroProg Suite for PIC v2 20 Setup 6 mikroProg Suite for PIC v2 20
17. tudio PE 9 0 Projects r available d Version Cue di Visual Studio 2005 dJ Visual Studio 2010 MHEX File Options Ji Work A a Public Documents Pi Music Pictures E Videos Erase Reset Reset Filename Glcd hex M Load Save CODE W Load Save DATA eeg CODE 01 Locate the folder that contains target HEX file Note that you can also load HEX h ikroP item 01 Click the Load button to find a Click the Open button onto tie Tal a ae PIC window HEX file Page 11 Step 5 Write HEX Step 6 Progress bar step 7 Finish upload EE mikroProg Suite Redtll WILE ia esl E ari Re UE ho Minm ey Eat g MCU Family a m PIC1aF K so a MCU F HEX File Options PIC1aF45K22 Load Save Read p Reload HEX anaana i Load Save CODE Load Save CODE verify Blank eee eee ee 7 Load Save DATA V Load Save DATA Erase Reset E E CODE HEX File Options eae Sy Ss DATA UN Load Save E ers Options Reload HEX pe ee ee ey Progress 7 Load Save CODE 0 V Load Save DATA CODE O lt GD Click the Write button to start Progress bar displays programming 01 When uploading is finished your MCU programming the microcontroller progress iS programed and ready for use Page 12 mikroProg Suite for PIC comes in form of graphical user interface which
18. ved 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 EE T ee do not hesitate to contact us at office mikroe com SS 0 100000 018873
19. 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 Inno 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 mikrolICD 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 MikroE lektronika 2012 All Rights Reser
Download Pdf Manuals
Related Search
Related Contents
HP TouchSmart 610-1240la Anzeige aufrufen. ELR10 Manual - Elektra Underfloor Heating 神奈川県生ごみ処理施設爆発災害 Revisando Refrigerado.OK funwaveC Users Manual BladderScan® BVM 9500 User's Manual Biostar 945GC-230 Owner's Manual MRidium 3850 Copyright © All rights reserved.
Failed to retrieve file