Home

Lv18PICFlash Programmer User Manual

image

Contents

1. Options Program Memory Size 16 kB Device Status Idle Type Address Oh Revision Progress 0 Step 2 Load a hex code into programmer s buffer Look in B Proet o e ex Eea 2 E CANSPI hex My Recent Documents 3 Desktop Click the Load option to open the Open window as shown in figure on the right Select the relevant file with the hex extension and click the Open button The file will be automatically loaded into the programmers buffer My Documents My Computer My Network Places CANSPI gt HEX Files File name Files of type Cancel pee Step 3 Write the hex code into the microcontroller e mikroElektronika Lv18PicFLASH v2 00 with mikroICD File Device Buffer Windows USB About History MCU Family Click the Write option in the upper right corner of the main window to urt o Configuration Bits start programming the microcontroller The programming progress will be shown in the bottom right corner of the same window Oscillator Fail safe CLK Monitor INT EXT Switch over Brown Out oltage Brown Out Detect Power Up Timer Watchdog Postscale Watchdog Timer MCLR Enable Bit HF Intosc fast StartUp Low power Tmr1 Osc PORTB A D Enable Bit CCP2 Mux Bit In Circuit Debuager EXT RC RA6 as CLKO Enabled Enabled 2 05 HW Enabled Disabled Lee CIT 1 32768 Enabled MCLR Enabled RE3 Disabled HFINTOSC output is
2. LVISPICFLASH vsermanua Flash program is used to transfer a hex file from a PC to the microcontroller memory by means of the appropriate hardware Every flash program includes numerous options used for setting the microcontroller s configuration bits MikroElektronika SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD waking it simple 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 Microchip name and logo the Microchip logo Accuron PIC KeeLog microlD MPLAB PIC PlCmicro PICSTART PRO MATE PowerSmart rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U S A and other countries LviSPicFLASH TABLE OF CONTENTS 1 0 Introduction to 78FJprog Programmer 0066 2 0 Programming Microcontrollers cccscceceeeeeeeeeees 3 0 Lv18PicFLASH Program swsincsaaccicnmensaneruadvenaeneternacais 4 0 Software Installation ccceccecsseeceeeeeeeeeeeeeseeeeeneees 5 0 Practical Example of Using Lv18PicFLASH Program 6 0 Keyboard Shortcuts and Command Line Parameters 4 Lvi8PicFLASH 1 0 Introduction to 18FJprog Programmer The 18FJprog
3. identified above including any software media and accompanying on line or printed documentation IF you accept the terms of the agreement select the First option below You must accept the agreement to install Ly18PICFLA4SH Programmer v1 02 Click Next to continue I accept the terms in the License Agreement OI do not accept the terms in the License Agreement L 16PICFLA5H Programmer Step 3 Choose Components Lv18PICFLASH Programmer v1 02 Setup Choose Components i i ic j i Ch hich feat f Lv18PICFLASH P 1 02 To make your choice simple this installation step offers you only one peta ila gala alas E component to choose Click Next Check the components you want to install and uncheck the components you don t want to install Click Next to continue Select components to install L 18PICFLASH paseriprion Position your mouse over 4 component to gt description Space required 4 5MB L 16PICFL45H Programmer MikroElektronika page Step 4 Choose Installation Location Now you should specify the folder to install the Lv78PicFLASH program into If you want to install it in a folder different from default click Browse and select another folder on your hard disc Then click Next If you choose the default folder the program will be installed on the following location C Program Files Mikroelektronika lv18PICFLASH Step 5 Installation Details The installation of the Lv78PicFLASH
4. programmer is a great tool used for programming PIC microcontrollers from Microchip As a low consumption device it is ideal to be used with notebooks It s unique design and simplicity make it a very popular tool among beginners and professional users alike The 78FJprog programmer communicates to the microcontroller through a USB cable which is also used for powering the programmer In order to use this programmer it is necessary to have the Lv78PicFLASH program and the appropriate driver provided on the product CD installed on your PC After that you can use the 18FJprog programmer and a hex code generated in any PIC compiler to load the program into a PIC18FJ microcontroller The 18FJprog programmer is built into all Mikroelektronika s LV 18f development systems The same programmer is also available as a stand alone device used for programming PIC18FJ microcontrollers built into soldered on the target device The 18FJprog programmeris builtinto all Mikroelektronika s The 18FJprog programmer is also available as a stand alone development systems designed for working with PIC18FJ device used for programming PIC18FJ microcontrollers built microcontrollers into soldered on the target device 4 al a USB LINK a PRG ICD z rq CMS Came F PTAR P ENE CIE ai Era Sr tone geo ik R31 28 s z Ram os mar Tani a i FF on Hees SULV IBF y HW REV 1 00 gy KROELEKTROMID Sa Caz R40 DDA Deanasn a fs Figu
5. Microcontrollers The process of programming microcontrollers starts by writing a program in one of PIC compilers mikroC PRO for PIC mikroBASIC PRO for PIC mikroPASCAL PRO for PIC etc When the program is correctly written it should be compiled into a format that can be loaded into the microcontroller The program to be loaded into the microcontroller has the hex extension As soon as the hex file is generated the program can be loaded into the microcontroller I mikrot PRO for PIC C Documents and Settings Rade Desk Compiling File Edit View Project Run Tools Help program PS Ee 4 GE Bo at ot LE Eh a lone oy Bin 0111 9FC23AA7 1011 F43E0021A Hex DA67F0541 Gled c ay pe pelaeral sone SS 434544453444 Se55 f const code char truck _bmp i024 Loading hex code fe mikroElektronika Lv18PicFLASH v2 00 with mikroICD File Device Buffer Windows USB About History f f Gled module connections char GLCD DataPort at FORTD Configuration Bits Clear Watchdog Timer Enabled Stack Overflow Underflow Reset Enabled Extended instruction Set Enabled Verify shit GLOD CS1 at REO bit shit GLOD CS2 at RBI bit shit GLOD RS at HB2 bit shit GLOD RU at RBS bit shit GLOD EN at HB4 bit shit GLOD RST at RES bit Background Debugger Disabled Code Protection Program memory is NOT code protected Primary Oscillator Select
6. program starts immediately The installation progress will be shown on the screen If you are interested in details about the installation click the Show details button Step 6 Comlpeting Installation Windows will inform you in the window as shown in figure on the right that the Lv18PicFLASH program has been successfully installed Click Finish to complete the installation MikroElektronika LviSPicFLASH Lv18PICFLASH Programmer v1 02 Setup Choose Install Location Choose the Folder in which to install Ly18PICFLASH Programmer v1 02 Setup will install Ly18PICFLASH Programmer 1 02 in the Following Folder To install in a different folder click Browse and select another folder Click Install to start the installation Destination Folder C Program Files MikroelektronikaiLy18PICFLASH Space required 4 5MB Space available 10 566 L 16PICFLASH Programmer Lv18PICFLASH Programmer v1 02 Setup Installing Please wait while Ly18PICFLASH Programmer v1 02 is being installed Create shortcut C Documents and Settings Rade Start Menu Programs Mikroelektronika Ly1 Show details L 18PICFLA amp SH Programmer lt Back Next gt Cancel Lv18PICFLASH Programmer v1 02 Setup Completing the Ly18PICFLASH Programmer 1 02 Setup Wizard Lv18PICFLASH Programmer v1 02 has been installed on your computer Click Finish to close this wizard Cancel LviSPicFLASH 5 0 Practical Example
7. Reload HEX V Load Save CODE V Load Save DATA Click the Load option to open the window to select the hex code to be loaded into the microcontroller Watchdog Timer Postscaler 1 32768 CCP2 Mux CCP2 multiplexed with RC1 Click the Write option to start programming the microcontroller CODE DATA Options Program Memory Size 16 kB Device Status Idle Type Address Oh Revision Progress The Progress bar shows the programming progress expressed in a percentage i File Device PIC18F24J10 Operation Figure 3 1 Lv18PicFLASH program s main window The Lv18PicFLASH program enables a hex code generated in one of PIC compilers to be loaded into the microcontroller The hex code should be loaded first into the programmer s buffer by clicking the Load option then into the microcontroller by clicking the Write option within the programmer s main window The programming progress will be shown in the Progress bar positioned in the bottom right corner of the same window MikroElektronika LviSPicFLASH 4 0 Software Installation Before you start up the Lv78PicFLASH program it is necessary to install the appropriate driver For more information refer to quick guide for installing USB drivers Step 1 Start installation Lv18PICFLASH Programmer v1 02 Setup Insert the product CD into a CD drive After a few seconds a list with Welcome to the Lvl 8PICFLASH
8. YVH ANY JYYMLJOS 5E i em
9. all Mikroelektronika s products will appear on the screen To start the i a a process of installing the Lv78PicFLASH software click on the setup icon ie This wizard will guide you through the installation of provided in the 18FJprog section on the product CD E ee et ae It is recommended that you close all other applications before starting Setup This will make it possible to update relevant system Files without having to reboot your computer CD Drive F zip lv1 8picflash_programmer_v200 zip Click Next to continue You can also download the Lv78PicFLASH free of charge from our website In this case the installation starts from your hard drive A welcome window appears Click Next to proceed Step 2 License Ag reement Lv18PICFLASH Programmer v1 02 Setup License Agreement Before you start the installation process please review the license Please review the license terms before installing Lv18PICFLASH 2 Programmer 1 02 agreement terms To accept them select the option accept the terms in the License Agreement and click Next 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 4 single entity and mikroElektronika mikroElektronika Associates For software product Software
10. e Lv178PICFLASH icon or automatically by starting the programming process Build And Program option in one of PIC compilers The options used for setting configuration bits are provided on the left side of the window whereas the options for loading hex file into the programmer and microcontroller are provided on the right side of the window The left side of the window can be different depending on the type of the microcontroller in use and its configuration bits mikroElektronika Lv18PicFLASH v2 00 with mikrolCD To load the program into the microcontroller File Device Buffer Windows USB About History do the following MCU Family PIC18F J z MCU PIC1SF2410 X Read a3 Verify Blank Configuration Bits Clear Watchdog Timer Enabled Stack Overflow Underflow Reset Enabled Selectthe microcontrollerto be programmed and the Lv18PicFLASH will automatically set default parameters for working with the respective microcontroller Extended instruction Set Enabled KAKA CN KKT E KT KA ET ET Background Debugger Disabled Code Protection Program memory is NOT code protected Primary Oscillator Selection EC PLL Enabled under software control OSC2 as CLKO Default Oscillator Selection Clock designated by Primary Osc enabled when OSCCON lt 1 0 gt Fail Safe Clock Monitor Enabled Int Ext Oscillator Switchover Enabled Erase Reset HEX File Options 2 Load Save
11. ion EC PLL Enabled under software control OSC2 as CLKO Default Oscillator Selection Clock designated by Primary Osc enabled when OSCCON lt 1 0 gt Fail Safe Clock Monitor Enabled E 7 oo l Int Ext Oscillator Switchover Enabled Watchdog Timer Postscaler 1 32768 CCP2 Mux CcP2 multiplexed with RC1 Erase Reset HEX File Options Load Save Reload HX Load Save CODE V Load Save DATA NCO NON CODE DATA Options Program Memory Size 16 kB Device Status Idle Type Address Oh Revision Progress ee _Device PICI8F24J10 Operation 4 Write a code in one of PIC compilers and generate a hex file On the right side of the Lv78PicFLASH program s window there are several options which make the programming process easier whereas on the left side of the window there are a number of options for microcontroller settings Positioned in the bottom right corner of the window the Progress bar enables you to monitor the programming process In the Lv18PicFLASH program s main window select the microcontroller and load the hex code into the programmer s buffer 8 Click the Write button to program the microcontroller MikroElektronika LviSPicFLASH 3 0 Lv18PicFLASH Program The Lv18PicFLASH program is easy to use as all the options necessary for its operation are provided in a simple window which will appear either by clicking on th
12. not delayed Timer1 Low power RB lt 4 0 gt Analog Inputs CCP2 on RC1 KIKI KAKA KAKE ET Nicahled ID Locations 4 t ode M Code 02000 03FFF M Code 04000 05FFF M Code 06000 07FFF Table Write Protect M Configuration Bits Data EEPROM Code 00000 007FF Code 00800 01FFF Code 02000 03FFF Code 04000 05FFF Code 06000 07FFF Table Read Protect Code 00000 007FF Code 00800 01FFF Code 02000 03FFF Code 04000 05FFF mcu PIC18F45K20 x aiian HEX File Options en e oo faea V Load Save CODE V Load Save DATA Progress CTC FF FF FF FF FF FF FF FF Program Memory Size 32 KB DATA Size 256 Bytes Clear Code 06000 07FFF Type PIC18F45K20 Revision 17 Device Status Programming CODE Memory Address OOOBOOh 10 LviSPicFLASH amp S 6 0 Keyboard Shortcuts and Command Line Parameters Keyboard Shortcuts Alt E Erase the content of microcontroller s memory Alt B Program memory blank check whether it is empty Alt W Write a hex code into a PIC microcontroller Alt V Verify the loaded hex code Alt R Program memory reading Alt D Change microcontroller type Ctril S Save hex code Ctrl O Open Load file with hex code Ctril R Reload hex code Command Line The Lv18PicFLASH program may also be activated from the command line thus enabling you to use it from s
13. of Using Lv78PiICFLASH Program After the software installation is complete connect the programmer to your development system using a USB cable The USB connection will be automatically established which is indicated by the USB LINK LED s illumination Step 1 Start up the Lv78PICFLASH program fe mikroElektronika Lv18PicFLASH v2 00 with mikroICD File Device Buffer Windows USB About History MCU Family PIC18F J bd mcu PICI8F24310 x Start up the Lv78PicFLASH program installed on your PC Click the Device option in order to select the microcontroller to be programmed The Lv18PicFLASH program will automatically set default parameters for working with the respective microcontroller Configuration Bits Clear Watchdog Timer Enabled Stack Overflow Underflow Reset Enabled Read Write Verify Blank Erase Reset Extended instruction Set Enabled Background Debugger Disabled Code Protection Program memory is NOT code protected Primary Oscillator Selection EC PLL Enabled under software control OSC2 as CLKO Default Oscillator Selection Clock designated by Primary Osc enabled when OSCCON lt 1 0 gt Fail Safe Clock Monitor Enabled Int Ext Oscillator Switchover Enabled HEX File Options Load Save een V Load Save CODE Load Save DATA Watchdog Timer Postscaler 1 32768 CCP2 Mux CCP2 multiplexed with RC1 CJ I J TE TE TE TE TE TE TJ CODE DATA
14. ome other software compiler etc Here is a list of the command line parameters W Write to PIC18FxxJxx microcontroller V Verify e Erase program from PIC18FxxJxx microcontroller r Read program from PIC18FxxJxx microcontroller p Type of microcontroller for example PIC18F67J10 PIC18F97J60 etc f hex file name FLASH lt name must be enclosed in quotation marks gt b Memory blank check whether it is empty q Close the Lv18PicFLASH program after programming Uon Code protection Uoff Code is unprotected Example 1 Lv18PicFLASH exe w pPIC18F67J10 v f C somefile hex This command is used for loading C somefile hex into the PIC18F67J10 microcontroller This file will be verified immediately after being loaded into the microcontroller Example 2 Lv18PicFLASH exe r pPIC18F67J10 This command is used for reading the content of the PIC18F67J10 microcontroller s program memory Example 3 Lv18PicFLASH exe e pPIC18F67J10 This command is used to erase program from the PIC18F67J10 microcontroller MikroElektronika DINO RANI lata 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
15. 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 sys
16. re 1 1 On board 1 8FJprog programmer Figure 1 2 Stand alone 18FJprog pogrammer mikroElektronika Lv18PicFLASH v2 00 with mikroICD Z The Lv18PicFLASH program contains an File Device Buffer Windows USB About History option for selecting the microcontroller to be MCU Family programmed The latest version of this software Configuration Bits mz with updated list of supported microcontrollers can z be downloaded free of charge from our website at www mikroe com K Clear Watchdog Timer Enabled Stack Overflow Underflow Reset Enabled Extended instruction Set Enabled Read Write Background Debugger Disabled Verify Blank Code Protection Program memory is NOT code protected Primary Oscillator Selection EC PLL Enabled under software control OSC2 as CLKO crane oe Default Oscillator Selection Clock designated by Primary Osc enabled when OSCCON lt 1 0 gt HEX File Options Fail Safe Clock Monitor Enabled Int Ext Oscillator Switchover Enabled Watchdog Timer Postscaler 1 32768 CCP2 Mux CcP2 multiplexed with RC1 Load Save _ Reload HEX q KAKA KA KA KA KA KN KT KE KI 7 Load Save CODE V Load Save DATA CODE DATA Options Program Memory Size 16 kB Device Status Idle Type pence Address Oh Revision based Figure 1 3 Lv78PicFLASH program s window MikroElektronika Lv1SPicFLASH 2 0 Programming
17. tems 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 mikroC PRO mikroBasic mikro Basic PRO mikroPascal mikroPascal PRO AVRflash PIlCflash dsPICprog 18FJprog PSOCprog AVR prog 8051prog ARMflash EasyPIC5 EasyPIC6 BigPIC5 BigPIC6 dsPIC PRO4 Easy8051B EasyARM EasyAVR5 EasyAVR6 BigAVR2 EasydsPIC4A EasyPSoC4 EasyVR Stamp LV18FJ LV24 33A LV32MX PIC32MX4 MultiMedia Board PICPLC16 PICPLC8 PICPLC4 SmartGSM GPRS UNI DS 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 Mikroelektronika 2010 All Rights Reserved woos Je SN JOeJUOD 0 9 eYISEY JOU OP sjesodosd sseuIsnq 10 S USWILUOD Suoijsenb Aue ney no l yoddhs ue wos aoiu MMM a wos OJYILUMMM Je YISQ M INO YISIA asea d sjonpoud i ind riode JOU ues o Them nod H Cd 1dOM d3dqdJ3gW4 YO4 SNOILNTOS JYVWMC

Download Pdf Manuals

image

Related Search

Related Contents

  Fujitsu FPC58-0437-02 User's Manual  Vivid i Reference Notes  none TK-1VTX3-34 Installation Guide  Password Removal Tool – User Guide This tool should be used from  TeleWell TW-EA501 ADSL modeemi ja reititin Ohjekirja  eklablog mode d`emploi 2.pub  Hotel Room Safe  Samsung SCX-3400 Uživatelská přiručka  PREPROM-02aLV - CONRAD Produktinfo.  

Copyright © All rights reserved.
Failed to retrieve file