mikroprog Suite for PIC programming software

Similar documents
TO OUR VALUED CUSTOMERS

CEC1702 clicker. a great idea is just a click away

TO OUR VALUED CUSTOMERS

Copyright mikroelektronika, All rights reserved.

Copyright mikroelektronika, January All rights reserved.

LV Programmer. User manual

AVRflash. Program. User manual

user's guide to Expand development system capabilities by adding 8K EEPROM memory accessory board EEPROM

GUI design made easy. Creating the First Project with. additional software

mikrobasic PRO for FT90x Creating the first project in

user's guide to Expand development system capabilities by adding 12bit Digital to Analog Converter 12bit-DAC

Development system. mikrommb for PIC32. User manual

mikrommb for PIC18FJ TABLE OF CONTENTS strana

SHIELD. mikromedia 5. for TIVA ARM

MINI-M4. development board for MSP432 MINI ARM

mikroboard for ARM 144-pin

mikroboard for ARM 64-pin

Workshop 4 Installation INSTALL GUIDE. Document Date: February 4 th, Document Revision: 1.1

PIC32MZ. A compact starter kit with your favorite microcontroller and a mikrobus socket.

Simplify code portability and maximize return on investment

MSP 432. A compact starter kit with your favorite microcontroller and a socket for click add-on boards. New ideas are just a click away.

DATASHEET 4D SYSTEMS. 4D Arduino Adaptor Shield TURNING TECHNOLOGY INTO ART. 4Display-Adaptor-Shield

BIG8051. Development system. User manual

DATASHEET 4D SYSTEMS. 4D Raspberry Pi Serial Adaptor TURNING TECHNOLOGY INTO ART. 4D-Serial-Pi-Adaptor

DATASHEET 4D SYSTEMS. 4D Raspberry Pi Serial Adaptor TURNING TECHNOLOGY INTO ART. 4D-Serial-Pi-Adaptor

DATASHEET 4D SYSTEMS. 4D Raspberry Pi Serial Adaptor TURNING TECHNOLOGY INTO ART. 4D-Serial-Pi-Adaptor

GS2K External Flash based Host Firmware Update Application Note NT11608A Rev

mikroelektronika GLCD Font Creator

BIGdsPIC6. Development System. User manual

A compact starter kit with your favorite microcontroller and two mikrobus sockets

DATASHEET 4D SYSTEMS TURNING TECHNOLOGY INTO ART. Carrier Board for μoled-160-g1/g2 CB-160-G1

Installing Your Microsoft Access Database (Manual Installation Instructions)

APPLICATION NOTE. Application Note: 4D-AN-P4009. ViSi-Genie Inputs. Document Date: November 19 th, Document Revision: 1.0

A compact starter kit with your favorite microcontroller and a socket for click add-on boards. New ideas are just a click away.

4D Systems. Application Note: 4D-AN-G3001. in ViSi Environment. Document Date: 15 th December Document Revision: 1.0

IoT AppZone Release Notes

Introduction. Rev.1.2

RE866 Interface User Guide

ESS Utility Android App User Guide

GS2K OV SDK User Guide. 1VV Rev

DATASHEET 4D SYSTEMS TURNING TECHNOLOGY INTO ART. USB to Serial UART Bridge Converter. Document Date: 5 th September 2012 Document Revision: 1.

DATASHEET. 3.2 Display Bezel. 4D-Bezel-32 For the ulcd-32ptu Display Module. Document Date: 16 th September 2013 Document Revision: 1.

APPLICATION NOTE. Application Note: 4D-AN-P4007. ViSi-Genie Play Video. Document Date: November 15 th, Document Revision: 1.

AVR42789: Writing to Flash on the New tinyavr Platform Using Assembly

DATASHEET. 4.3 Embedded SPI Display. 4DLCD-FT843 Powered by the FTDI FT800 Video Engine. Document Date: 25 th September 2013 Document Revision: 0.

Easy24-33 v6. Development System. User manual

4D SYSTEMS TURNING TECHNOLOGY INTO ART. Application Note: 4D-AN-G5002

2.8 microlcd Intelligent PICASO Display Module

USER GUIDE. Workshop 4 User Guide. Document Date: 17 th December 2012 Document Revision: 1.1

4D Systems. Application Note: 4D-AN-P2002. Playing Video on PICASO based modules using RAW option. Document Date: 15 th December 2012

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

F²MC-8L FAMILY MB89201 SERIES FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

DATASHEET. gen4 Programming Adaptor For all gen4 sizes (Picaso and Diablo16) gen4-pa. Document Date: 29 th January 2016 Document Revision: 1.

Extend Your PC to Your Phone with the Polycom Desktop Connector

AN S1401 Using BlueMod+S as Beacon

DATASHEET. 4D 4.3 LCD CAPE Beagle Bone Black 4.3 LCD CAPE. Document Date: 3 rd February 2014 Document Revision: 1.9

4D SYSTEMS APPLICATION NOTE. Application Note: 4D-AN-P3001 TURNING TECHNOLOGY INTO ART. ViSi - Displaying Third-Party Fonts

DATASHEET 4D SYSTEMS TURNING TECHNOLOGY INTO ART. microusb Programming Adaptor. USB to UART Serial Bridge

SPECIFICATIONS SUBJECT TO CHANGE WITHOUT NOTICE

Easy Data Access Easy Data Access, LLC. All Rights Reserved.

Stellar Phoenix Password Recovery For Windows Server. Version 2.0. User Guide

FW Update Tool. Installation Guide. Software Version 2.2

7. copy or distribute the Software, or any part thereof, or any accompanying documentation or part thereof, other than in accordance with 3.

LYNCA VA6- F Amplifier Board for Two Servo Solenoid Valves and Two Pressure Valves USER MANUAL. General Information. Page 1

BrewTroller Phoenix. Owners Manual. Updated - March 14, 2016 BREWTROLLER PHOENIX 1

End User License Agreement

AKKON USB CONTROLLER BOARD

VP-UML Installation Guide

AT06467: Getting started with SAM D09/D10/D11. Features. Description. SMART ARM-based Microcontrollers APPLICATION NOTE

DATASHEET 4D SYSTEMS. uusb-pa5 uusb-pa5-ii. microusb Programming Adaptor TURNING TECHNOLOGY INTO ART. USB to UART Serial Bridge

MySonicWall Secure Upgrade Plus

OUR CUSTOMER TERMS CLOUD SERVICES MCAFEE ENDPOINT PROTECTION ESSENTIAL FOR SMB

Stellar WAB to PST Converter 1.0

Welcome to Windows 10 Manager

4D SYSTEMS APPLICATION NOTE. Application Note: 4D-AN-G5001 TURNING TECHNOLOGY INTO ART. Serial - Displaying Third-Party Fonts

Converter. Stellar DBX To Windows Live Mail. Stellar DBX To Windows Live Mail Converter 1.0 User Guide

SSD Utility. Installation Guide. Software Version 3.n

APPLICATION NOTE. Application Note: 4D-AN-P4004. ViSi-Genie Advanced Buttons. Document Date: November 15 th, Document Revision: 1.

MULTIFUNCTIONAL DIGITAL SYSTEMS. Software Installation Guide

DATASHEET 4D SYSTEMS. 4Display Shield with 2.2 Display TURNING TECHNOLOGY INTO ART. 4Display-Shield-22

Ethernet1 Xplained Pro

A compact starter kit with your favorite microcontroller and two mikrobus sockets

UNI-DS3. Development System. User manual

This user guide describes how to run the Atmel ATWINC3400 Bluetooth Low Energy (BLE) Provisioning demo from out-of-box conditions.

THIS SPEC IS OBSOLETE

AT60142H/HT. Rad-Hard 512Kx8 Very Low Power CMOS SRAM ERRATA-SHEET. Active Errata List. Errata History. Abbreviations. 1.

GE865-JF2 Interface Application Note NT10067A Rev

1. License Grant; Related Provisions.

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

TASCAM DR CONTROL. Contents. Trademarks

PRODUCT GUIDE. L e p i d e S o f t w a r e P r i v a t e L i m i t e d

PageScope Box Operator Ver. 3.2 User s Guide

AWLaunch. Software Manual. Version 1.2 Last Revised April 27, 2009

SonicWall Global VPN Client Getting Started Guide

PSoC Creator Quick Start Guide

Tisio CE Release Notes

Stellar Repair for Video

DeviceHQ Deployment Guide. For MTR5 and MTE Devices

MULTIFUNCTIONAL DIGITAL SYSTEMS. Software Installation Guide

Terminal I/O Profile Client Implementation Guide

Transcription:

mikroprog Suite for PIC programming software mikroprog Suite for PIC is a free software used for programming of all of Microchip microcontroller families, including PIC10, PIC12, PIC16, PIC18, dspic30/33, PIC24 and PIC32. It features user friendly interface with simple to use options and menus.

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. 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.

Table of Contents Introduction to 4 mikroprog Suite for PIC 4 Main Window 5 1. Installation 6 step 1 Start installation 6 step 2 Licence Agreement 7 step 3 Select user 7 step 4 Install location 8 step 5 Progress bar 8 step 6 Finish installation 9 2. Quick start 10 step 1 MCU family 10 step 2 MCU type 10 step 3 Load HEX 11 step 4 Browse for.hex file 11 step 5 Write HEX 12 step 6 Progress bar 12 step 7 Finish upload 12 3. Menus 13 File menu 13 USB menu 13 Info menu 14 Minimize 14 4. Config window 15 5. MCU Info window 16 Voltage Options Section 17 MCU Information Section 18 6. Advanced options 19 7. Keyboard shortcuts and command line parameters 21 Keyboard shortcuts 21 Command line 21 Example 22 Example 22 Example 03 22 Page 3

Introduction to mikroprog Suite for PIC Program mikroprog Suite for PIC is intended for programming PIC, dspic 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 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. Page 4

Main Window mikroprog Suite for PIC window contains all the programming options. These options are graphically presented in the form of buttons, drop-down lists and check boxes. 03 04 05 06 MCU family selection list MCU type selection list Read program from MCU Verify the loaded program Erase MCU memory contents Browse for a.hex file on your PC 10 11 12 13 14 Various settings of visual, advanced and programming options. Expand configuration bits menu Upload.hex file in to MCU memory Expand MCU info menu Check whether the MCU is empty 03 04 05 06 07 11 12 13 14 15 16 07 Reload previously loaded.hex file 15 Reset the microcontroller 17 08 Preview program which is in buffer and ready for uploading in MCU FLASH memory 16 17 18 Save buffer to a.hex file Load/Save CODE/DATA in buffer Used for some MCU-s ID 08 09 18 09 Preview program which is in buffer and 19 Progress bar 10 ready for uploading in MCU EEPROM memory 20 Shows that programer is connected to USB port on a PC (red if connected) 19 20 Page 5

191221 Copyright 21 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. 1. Installation step 1 Start installation mikroprog Suite for PIC setup executable is located on the Product DVD. You can also download it it from the website. www.mikroe.com Available on Product DVD! DVD://download/eng/software/ development-tools/universal/ mikroprog/mikroprog_suite_for_ pic_v220.zip 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. Welcome screen. Click the Next button to proceede. Page 6

step 2 Licence Agreement step 3 Select user Carefully read End User License Agreement. It s recommended to select Install For All Users option. If you agree with it, click Next to procede. Click Next. Page 7

step 4 Choose destination step 5 Progress bar 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 After installation process is finished mikroprog Suite for PIC shortcut will appear on your desktop. Double click it to start mikroprog Suite for PIC software. Click the Finish button to close Setup Wizard. Page 9

2. Quick start step 1 MCU family step 2 MCU type 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 of mikroprog Suite for PIC main window notice USB icon which will turn red when device is connected. Figure 2-1: USB icon in bottom right corner From drop down list select MCU family of your device (in this case PIC18F-K) Page 10 From drop down list select MCU type (in this case PIC18F-K)

step 3 Load.HEX step 4 Browse for.hex file 03 Click the Load button to find a.hex file 03 Locate the folder that contains target HEX file Select.HEX file Click the Open button Page 11 * Note that you can also load HEX file by dragging and dropping it onto the mikroprog Suite for PIC window.

step 5 Write HEX step 6 Progress bar step 7 Finish upload Click the Write button to start Progress bar displays programming programming the microcontroller. progress. When uploading is finished your MCU is programed and ready for use Page 12

3. Menus mikroprog Suite for PIC comes in form of graphical user interface which consists of button s, check box s, and menus. Figure 3-2: Reload USB menu Figure 3-3: USB menu File menu 03 04 05 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. Figure 3-1: File menu Figure 3-4: USB menu 03 04 Load.HEX file Save.HEX file under different name Reload.HEX file Display information about.hex file Under USB menu click the Show Devices option. A new window will appear containing information about connected USB device and firmware version. 05 Close mikroprog Suite for PIC Figure 3-2: File information Page 13

It is also possible to connect two devices at the same time, Figure 3-5. Info menu Minimize Figure 3-6: Info menu Info menu contains History and About options. Click the History option to get information about program changes throughout releases. About option contains information about the development team. Figure 3-8: Minimize option Minimize option minimizes program to tray. Program stays active until explicitely closed. Figure 3-5: USB menu Minimized program icon 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. Figure 3-7: History window Page 14

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. 03 Common options for all MCU s are: 03 04 05 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. Basic information about selected MCU. 04 05 Figure 4-1: Config window Page 15

5. MCU Info window Figure 5-1: Unfold MCU Info section using button in the main window A click on the MCU INFO button opens a window containing basic data about the selected microcontroller as well as voltage monitoring options. Page 16

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. After programming is finished it is possible to power up 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. 03 04 03 05 06 Check box for enabling supply voltage from programmer Setting supply voltage value from 1.8 to 5V (max 250mA) 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. 03 Manually read voltages on Vpp and Vcc MCU pins Move slider to set required voltage level 04 Check box for enabling automatic voltage monitoring Tick Power board from programmer box 05 Current Vpp value (programming voltage) 03 Click Yes button after electrical characteristics of connected 06 Current Vcc value (power supply voltage) device are met. Page 17

MCU Information Section Example in Figure 5-2 shows information on the PIC18F45K22 microcontroller such as: microcontroller memory size, number of integrated modules and I/O pins, operating speed, package etc. In addition, there are links to web pages where you can find the 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. Figure 5-2: MCU information section Page 18

6. Advanced options Click the Options button, and a window containing Program/Verify Options, Advanced Options and Visual Settings will appear. Figure 6-1: Options button Figure 6-2: Options window Page 19

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. 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. Page 20

7. Keyboard shortcuts and command line parameters Keyboard shortcuts Command line Alt+E Alt+B Alt+W Alt+V Alt+R Alt+D Alt+F Alt+U Alt+I Alt+M Ctrl+S Ctrl+O Ctrl+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 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 Write to MCU -v Verify -e Erase program from MCU -r Read program from MCU -p Microcontroller type -f.hex file name (FLASH) [<name should be enclosed within quotation marks>] -b Memory blank check (whether it is empty) -q the mikroprog Suite for PIC program after programming Page 21

Example mikroprog Suite for PIC.exe -w -ppic18f45k22 -v -f C:\somefile.hex This command is used for loading C:\somefile.hex into the PIC18F45K22 microcontroller. This file will be verified immediately after being loaded into the microcontroller. Example mikroprog Suite for PIC.exe -r -ppic18f45k22 This command is used for reading the contents of the PIC18F45K22 microcontroller program memory. Example 03 mikroprog Suite for PIC.exe -e -ppic18f45k22 This command is used to erase program from the PIC18F45K22 microcontroller. Page 22

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. 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 hazardous 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. TRADEMARKS The MikroElektronika name and logo, the MikroElektronika logo, mikroc, mikrobasic, mikropascal, mikroprog, EasyPIC, EasyPIC PRO, mikroicd 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, 22, All Rights Reserved.

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 office@mikroe.com mikroprog Suite for PIC Manual ver. 1.00 0 100000 8873