Home
18FJprog User Manual v1.00
Contents
1. 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 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 Lv18PICFLASH Programmer v1 01 Click Next to continue I accept the terms in the License Agreement Odo not accept the terms in the License Agreement L 16PICFLA45H Programmer _v18PICFLASH Programmer v1 01 Setup Choose Components Choose which features of Ly18PICFLASH Programmer v1 01 you want to install 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 Lv18PICFLASH F Zar Position your mouse over a component to see its description Space required 2 3MB L 18PICFLASH Programmer ST B KI Note Make sure that the 18FJprog programmer is not connected to PC during the 18FJprog software installation MikroElektromika software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Step 4 Choose Install Location Lei 8PICFLASH Programmer v1 01 Setup Choose Install Location Ch
2. 718FJprog Flat cable automatically changes its state and becomes inactive If the target board has its own 5V power supply it can also be used for powering the 18FJprog program mer In this case it is necessary to open 18FJprog programmer plastic case and remove the jumper J1 for power supply selection and place jumper J2 on 5V as shown on figures below Otherwise if the target board does not have its own power supply source the jumper should be left on In this case the program mer is powered via programmer USB cable which connects the programmer to a PC Any other power supply on the target board must be suspended page M a This figure illustrates the position of jumper Ji left image when the programmer is pow ered via USB cable And position of jumper J2 right image when is set to 3 3V if MCU is pow ered from 18FJprog during programming UBEIP ROG PROGRAMMER This figure illustrates the programmer without jumper J1 left image when the programmer is powered by the target board which has its own power supply And position of J2 right image when is set to 5V in order to enable power supply from target board to 18FJprog SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika z Foy OSQHOOUADOOUPHOO USER i MANUAL SOFTWARE INSTALLATION ES 0 e e Step 1 Start installation Lv18PICFLASH Programmer v1 01 Setup e Welcome to the Ly18PICFLAS
3. CC 3 3V e E MCU VCC 3 3V On board IDC 10 male connector C1 aie 100nF The PIC microcontroller power supply voltage is 3 3V These voltage is provided by the program mer by default And it is necessary to provide an on board regulator for 3 3V marked as REG in the Figure above in order to supply PIC microcontroller when programming is finished and 18FJprog is disconnected from board If your 78FJprog programmer is not supplied over USB cable it is necessary to provide additional 5V power supply for its operation UBEIPROG PROGRAMMER CONNECTION SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika skkttststststiststsistlststzn USER 12 During normal operation on board IDC 10 pins must be connected using jumpers as shown in Figure below In this way the microcontroller pins are connected to the rest of on board electronics Note that oy RB6 RB7 MCLR and GND pairs of pins of the IDC 10 male connector are connected using jumpers You a must not connect first pair of pins which are used for power supply MCU VCC 3 3V and VCC 5V because it can make a short circuit connection and it s possible to damage your device wm On board IDC 10 male connector with jumpers eENREREERREREEN EE MCU VCC 3 3V VCC 5V MCU VCC 3 3VO o olak o e d o et DOHMH ds olzloagagaagagag ererrrrr Solr e e e eer KITO ele eiereele
4. H Insert the product CD into your PC drive After a few sec P Programmer v1 01 Setup Wizard onds a list with all MikroElektronika s products will appear This wizard will guide you through the installation of SS e L 18PICFLASH Programmer vil DI on the Screen To start installation of 18F Jp ri og software FA Z ds lt 3 It is recommended that you close all other applications f before starting Setup This will make it possible to update select 18FJprog and click on the Lv18PICFLASH Pro rat enter ties without havna to reboot your grammer Software for Windows E ong Clck Next to continue You can also download 78FJprog_ setup exe free of charge from our web site In this case you should start the installation from your hard drive A welcome window will appear on your screen Click Next to pro ceed with the installation process Lei 8PICFLASH Programmer v1 01 Setup Step 2 License Agreement License Agreement Please review the license terms before installing Ly18PICFLASH Programmer vil DI SOFTWARE INSTALLATION Prior to starting the installation please review the License terms To accept these select the option accept the terms in the License Agreement and click Next Step 3 Choose Components For the sake of simplicity this step of installation offers you only one component to select Just click Next Press Page Down to see the rest of the agreement mikroElektronika
5. IC18F96J60 PIC18F96J65 and PIC18F97J60 oO NMUIGrOGo BEKAMPLES OF PIG MikroElektromika software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Bd ar EE EE om oou Leite Leite KOKOK iletetete EL OO O 00 A por cA D LUOD SOIFIWU 2IIJJO Jew Velo e Toy UTR EJN en GEO se jd jesodoid ssauisnq e 10 JUBWIWWOD UO sSaNb 193430 Aue aney NOA yi SG J e meeeegeeeegeggeeee e eo Boe 0 AYAV EJAT ToL UUV LYOddNS TVDINHD3L MOUY SN ja se jd uoewoyu eEUOIIPpe JUeM snf NOA JO s npoud Jno jo Aue yum Swajqoid Bulduauadxa aie NOA J GRO VG ere Er ER Tee SNOILA IOS JYUVMCYVH ANY JdVMLIOS erio MINE
6. KEG E FTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD WZ ff O 2 ON ALU SS LSAS M ESN eso 18FJprog is a high performance programmer for Microchip flash microcontroller family It is connected to target device through IDC10 connector and acts as ICSP In Circuit Serial Programmer and as ICD In Circuit Debuger tool EI Ee La CUI IN CIRCUI IN CIRCUN N CIRCUITI PROGRAMMER DEBUGGER CONTENTS eoccccen 18FJprog Programmer 4 Software Installation 6 18FJprog Software 8 Keyboard Shortcuts and Command Line Parameters 9 Programmer s Operation 10 18FJprog Programmer Connection 11 Examples of the PIC Microcontroller Connection 13 O O O O O O a lm ees amp cd MikroElektronika O CC O O LLI Q Q LLI aa LL Ss LL N Z e N LLI lt O o lt L SR fa Z lt LL lt L LL O N e 18FJPROG PROGRAMMER Along with complementary software 78FJprog programmer represents an irreplaceable tool for all those working with PIC microcontrollers By means of this programmer it is possible to program almost all PIC microcontrollers including those embedded soldered on the printed board The 18FJprog programmer is connected to the microcontroller via three lines e SE fom LoLohofoluloXehofeyulolon USER DE i Al A Q RB6 PGC program clock RB7 PGD program data and MCLR high voltage necessary for Flash memory p
7. N SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika C2 page USIFIPROG SOFTWARE 18FJprog SOFTWARE Step 1 Run the 78FJprog programmer Run the 78FJprog from your PC Click the Device option and select the appropriate microcontroller to program 78FJprog will automatically set parameters for working with the specified microcontroller Step 2 Load HEX file Click the Load option which opens the window shown in Figure on the right Select the appropriate executable file has extension HEX in its name and click the Open option In this way the file will be loaded into program mer buffer On the basis of control bits stored in the HEX file the 78FJprog will do all necessary settings Step 3 Write a program Click the Write option in the upper right corner of the working window to start programming the microcontroller The programming progress will be shown in the right bottom cor ner of the working window MikroElektromika software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER COHQUOOUAUOOLIPdO KEYBOARD SHORTCUTS AND COMMAND LINE PARAMETERS e ES page Keyboard Shortcuts Alt E Erase Alt B Blank check Alt W Write Alt V Verify Alt R Read Alt D Change MCU Ctrl S Save Ctrl O Open Load Ctrl R Reload Command Line Alternatively you can use the 18FJprog programmer from the command line It will allow you
8. d 64 pin TQFP PIC microcon troller such as PIC18F63J11 PIC18F64J11 PIC18F65J11 neroller CONNECTION El NMUIGrOGo 9 Q Note The following pins RB6 RB7 MCLR MCU VCC VCCcore and GND always have the same posi tion for all 64 pin TQFP packages NMP LIES LF PIG MikroElektromika software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER 5 MANUAL ks oe Bs we oO a ee my am PED 9 Bh T OGOR USER RB aae a DH munnnnnnnnnnnnnnnnnnnnnnt ON BOARD IDC10 CONNECTOR Connection schematic for the on board IDC 10 male connector and 80 pin TQFP PIC microcon troller such as PIC18F83J11 PIC18F84J11 PIC18F85J11 9 Q Note The following pins RB6 RB7 MCLR MCU VCC VCCcore and GND always have the same posi tion for all 80 pin TQFP packages EXAMPLES OF PIC microcontroller CONNECTION SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika d lsktslstslsisfelstslsisfeletelke USER MCU VCC 3 3V e la El UE N BEEN a v S D BK CCRX _ CELLETEETEETEETETEEEEEEEES page x lt VCCTX lt PGC x RB6 RB WG HN iMCLR x x lt MCLR MIT C1 ON BOARD IDC10 100n0F CONNECTOR ode OO at IEN e E1 100 PIN 10uF meroller CONNECTION Connection schematic for the on board IDC 10 male connector and 100 pin TQFP PIC microcon troller such as P
9. he on board IDC 10 male connector and 28 pin QFN PIC microcon troller such as PIC18F24J10 and PIC18F25J10 MCU VCC 3 3V mcroller CONNECTION RB6 USER RES E gt MCLR El NMUUIGrOGO ON BOARD IDC10 CONNECTOR 40 PIN PDIP CM NMIP LIES OF PIG Connection schematic for the on board IDC 10 male connector and 40 pin PDIP PIC microcon troller such as PIC18F44J10 and PIC18F45J10 MikroElektromika software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD RB6 USER REK EE MCLR nnnnnnnnnnnnnnnnnnnnnnnnp oo a ON BOARD IDC10 CONNECTOR 44 PIN QFN Connection schematic for the on board IDC 10 male connector and 44 pin QFN PIC microcon troller such as PIC18F44J10 and PIC18F45J10 MCU VCC 3 3V VCC 5V RB6 USER Rag E gt MCLR d D DT ON BOARD IDC10 CONNECTOR 44 PIN TQFP Connection schematic for the on board IDC 10 male connector and 44 pin TQFP PIC microcon troller such as PIC18F44J10 and PIC18F45J10 EXAMPLES OF PIG microcontroller CONNECTION SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika 416 VCC 5V e mn ZS A Agee 3 RG PGD i RB7 aN MCLR MCLR GND VCCcore RF7 nnnnnnannnnnnnnnnnnnnnnnt RF6 RES ON BOARD RF3 E2 C IDC10 CONNECTOR 10uF 100nF 64 PIN TQFP 10uF Connection schematic for the on board IDC 10 male connector an
10. must be connected to other components as per project VCC 3 3V0 DW es o ot e OD e o o ad D oO E el ff ba HE L A ey O d PGC ge O T vec 3 3 O Pcp RB7 fo Ee A ks tp ENEE Since the microcontroller is sol dered on the printed board with no use of socket it is necessary to enable switching over between the programmer and other compo nents using jumpers For this rea son it is important not to forget to solder an IDC 10 male connector during device design MikroElektromika software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER etsistsitststsistsistsisisleitete 18FJprog PROGRAMMER CONNECTION During programming an IDC 10 female connector should be plugged in the on board IDC 10 male connector This connection enables the programming signals to be transferred from the programmer to the microcontroller Pay attention to the orientation of the female IDC 10 connector It has to be properly oriented in order to make this programming work Refer to the Figure below Ne ee MCU VCC 3 3VO Go o st o On e OiDie oo sg o OR SE wW u w w wu G Olsa Tey ie yeh yer fey ye we fae ite foe fre Moe foe foe oe fee fe oe eae ae IDC 10 male connector f and 18FJprog female connector connected Y S Tejp O MCU VCC 3 3V ee ae O VCC 5V G E O MCU V
11. oose the folder in which to install Lv18PICFLASH Programmer v1 01 Now you should specify the folder to install the program in If you want to install the program in a folder different from 1 e ten re a E default click Browse and select another folder on hard disc Then click Next If you choose the default folder the program will be installed on the following destination page Destination Folder C Program Files Mikroelektronika Lyv18PICFLASH Space required 2 3MB Space available 8 6GB C Program Files Mikroelektronika lv18PICFLASH L 16PICFLASH Programmer Step 5 Installation Details Lei 8PICFLASH Programmer v1 01 Setup The 18FJprog installation will start in this step and its Pisase wat while LviaPIcFLASH Programmer v1 01 is being progress will be shown on the screen If you are inter ested in details about the installation click the Show details button Create shortcut C Documents and Settings Rade Start Menu Programs Mikroelektronika Ly 1 L 18PICFLASH Programmer Step 6 Finish Lei 8PICFLASH Programmer v1 01 Setup You will be notified by the window as shown in Figure on n mba eA b rogrammer YI etu izar the right that Windows has successfully installed the PR i d e i 5 Lv18PICFLASH Programmer v1 01 has been installed on your 18FJprog Click Finish to complete the installation process mmm Click Finish to close this wizard SOFTWARE INSTALLATIO
12. reeEelz aD a v a D DI D ays CH BRS S amp S OND O MCU VCC 3 3V LI a RB7 RC RC4 TL in KK Tara RSR ELL RW 5 W Lo L mana HI aa Z O MCU VCC 3 3V REG HL A Wee Ze An UBEIPROG PROGRAMMER CONNECTION MikroElektromika software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER etsistsitststsistsistsisisleitete EXAMPLES OF THE PIC microcontroller CONNECTION The following examples illustrates the connection between 28 SPDIP SOIC SSOP 28 QFN 40 PDIP 44 QFN 44 TQFP 64 TQFP 80 TQFP and 100 TQFP pins PIC18FxxJxx microcon troller and IDC 10 male connector MCU VCC 3 3V Sennen D RB6 f VCccore pi aut USER WI INTERFACE GND d MCLR OSC1 4 OSC2 l RCO Sr f RC1 ON BOARD RC2 IDC10 CONNECTOR 10uF I RC3 28 PIN Connection schematic for the on board IDC 10 male connector and 28 pin SPDIP SOIC SSOP PIC microcontroller such as PIC18F24J10 and PIC18F25J10 SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika EXAMPLES OF PIG microcontroller CONNECTION G retststsisteiststsisteistetep USER Al MCU VCC 3 3V VCC 5V e KLEER page RB6 lt lt USER 8 KS gt MCLR 10uF WITT ON BOARD IDC10 CONNECTOR 28 PIN QFN Connection schematic for t
13. rogramming These lines are contained within a flat cable ending with a female IDC 10 connector When creat ing a target device the appropriate 10 pin IDC male connector with the spacing of 2 54 mm between pins should be soldered on it Connector pins should be connected to the microcontroller pins the position of which varies depending on the microcontroller s type and package There are several examples of connection schematic provided at the end of this manual During operation the 18FJprog programmer may be inactive or active Programmer is inactive A multiplexer within the pro grammer connects the micro controller pins to peripheral components on the printed board via flat cable In this way the microcontroller directly controls the opera tion of device without affect ing the operation of the pro grammer Accordingly even Re Ae the IDC 10 female connector gem Flat cable D is connected the 18FJprog programmer does not affect the operation of device UBETPROG PROGRAMMER MikroElektromika software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Programmer is active EA By clicking the WRITE option the multiplexer within pro gent 7 aaa grammer disconnects the microcontroller pins from the rest of on board electronics It allows programming of the microcontroller using PGC PGD and MCLR signals When programming process is completed the
14. to use 18FJprog from some other software compiler etc Here are the command line parameters W Write to PIC 18FxxJxx V Verify r Read from PIC 18FxxJxx e Erase PIC 18FxxJxx p PIC18FxxJxx name for example PIC18F67J10 PIC18F97J60 f File name use as delimiters b Check if PIC 18FxxJxx flash is blank Q Terminate after programming Uon Force Code protection Uoff Force Code unprotect Example 1 Lv18PICFLASH exe w pPIC18F67J10 v f C somefile hex This will program the PIC P18F67J10 using C somefile hex and it will verify the write Example 2 Lv18PICFLASH exe r pPIC18F67J10 This will read the PIC P18F67J10 contents into on screen buffer Example 3 Lv18PICFLASH exe e pPIC18F67J10 This will erase the PIC P18F67J10 KEYBOARD SHORTCUTS AND GCGOMMANID LINE PARAMETERS SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika Nees IMC OPERATION skkttststststiststsistlststzR USER PROGRAMMER S OPERATION Programming an PIC microcontroller is performed using signals PGC PGD and MCLR from the 18FJprog programmer These are brought to the RB6 RB7 and MCLR pins Additionally the micro controller pins VCC and GND must be supplied with 3 3V power supply voltage In order to enable programming to run without errors make sure that the programming pins are not connected to other electronic components during programming Otherwise during normal operation these pins
Download Pdf Manuals
Related Search
Related Contents
Manual GCG (R410A) 016H-024H Instrucciones de Instalación ユーザーズ・マニュアル estriol saliva - X-Lab Solutions SRL サルコートN 主剤 Copyright © All rights reserved.
Failed to retrieve file