Home
ARMFlash User Manual
Contents
1. Step 3 Write a program ARMilash SOFTWARE Click the Write option in the upper right corner of the working window to start programming the microcon troller The programming progress will be shown in the right bottom corner of the working window MikroElektromiK software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER etsistsitststsisteistsisisleitete MANUAL KEYBOARD SHORTCUTS AND COMMAND LINE PARAMETERS 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 PARAMETERS pase PP Command Line Alternatively you can use the ARMflash programmer from the command line This way you will be enabled to use the ARMflash programmer from some other software compiler etc Here is the list of command line parameters W Write to ARM V Verify e Erase ARM r Read from ARM p ARM name for example LPC2148 LPC2214 f File name must be enclosed with b Blank check q Close ARMflash after programming Example 1 armflash exe w pARMLPC2148 v f C somefile hex This will program the ARM microcontroller using C somefile hex Imme diately after write it will verify loaded file Example 2 armflash exe r pARMLPC2148 This will read the ARM program memory Example 3 armflash exe e pARMLPC2148 This will erase program from the ARM microcontroller KEYBOARD SHORTCUTS
2. USER O MANUAL f o Programmer is active 5 By clicking the WRITE option the multiplexer within pro grammer disconnects the microcontroller pins from the rest of on board electronics It allows programming of the microcontroller using TX RX ENT and RESET signals When programming process is completed the ARMflash automatically changes its state and becomes inactive a If the target board has its own 5V power supply it can also be used for powering the ARMflash program mer In this case it is necessary to open ARMflash programmer plastic case and remove the jumper for power supply selection Otherwise if the target board does not have its own power supply source the jumper should be left on In this case the programmer is powered via programmer USB cable which con nects the programmer to a PC Any other power supply on the target board must be suspended This figure illustrates the position of jumper when the program mer is powered via USB cable ARMIlash PROGRAMMER This figure illustrates the programmer without jumper for power sup ply selection In this case the programmer is powered by the target board which has its own power supply SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika page SOFTWARE INSTALLATION SOFTWARE INSTALLATION Step 1 Start installation Insert the product CD into your PC drive After a few s
3. 44 pin ARM microcontroller such as LPC2103 These microcontrollers need additional 1 8V power supply which must be provid ed on board MikroElektromiK software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER MANUAL x lt X Ee page X USER Es E gt PES H MIT ON BOARD IDC10 CONNECTOR Connection schematic for the on board IDC 10 male connector and 48 pin ARM microcontroller such as LPC2103 2104 2105 and 2506 These microcontrollers need additional 1 8V power sup ply which must be provided on board meroller CONNECTION USER Po E gt oO MMICFOCO MIT ON BOARD IDC10 CONNECTOR Connection schematic for the on board IDC 10 male connector and 64 pin ARM microcontroller such as LPC2141 2142 2144 2146 2148 2131 2132 2134 2136 and 2138 SAMU EISES LP ARIM SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika YS dE page G microcontroller CoNN ALRI A S AMIP OE USER PPS INTERF ARM VITH N ON BOARD IDC10 CONNECTOR 64 PIN Connection schematic for the on board IDC 10 male connector and 64
4. AND COMMAND LUNE SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika Xo foluloLohofolulelehofe aloXohs USER 1 PROGRAMMER S OPERATION 2 Programming an ARM microcontroller is performed using signals TX RX ENT and RESET from the S ARMflash programmer These are brought to the P0 0 P0 1 P0 14 and RESET pins Additionally the microcontroller 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 connect ed to other electronic components during programming Otherwise during normal operation these pins must be connected to other components as per project Since the microcontroller is soldered on the printed board with no use of sock et it is necessary to enable switching over between the programmer and other components using jumpers For this reason it is important not to forget to solder an IDC 10 male connector during device design PROGRAMMERS OPERATION MikroElektromiK software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER MANUAL ARMflash PROGRAMMER CONNECTION etsisltststsisisltetstsitsisletete GER oN During programming an IDC 10 female connector should be plugged in the on board IDC 10 male connector This connection enables the
5. on the screen If you are inter ested in details about the installation click the Show details button ARMFLASH Progr aerer Step 6 Fi nish ARMFLASH Programmer v2 01 Setup Completing the ARMFLASH Programmer v2 01 Setup Wizard ARMPLASH Programmer v2 01 has been installed on your computer SOFTWARE INSTALLATION You will be notified by the window as shown in Figure on the right that Windows has successfully installed the ARMflash Click Finish to complete the installation process Sa SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika NF HINUN ARMflash SOFTWARE page Step 1 Run the ARMflash programmer File Device Buffer Windows USB About History CODE Size S12KB Boot block 12K8 Run the ARMflash from your PC Click the Device option cove nex rie and select the appropriate microcontroller to program Ss ARM Crystal and ISP speed ARMflash will automatically set parameters for working Crystal 10 0000 MHz TE 9600 bps with the specified microcontroller Version Operation None 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 programmer buffer On the basis of control bits stored in the HEX file the ARMflash will do all necessary settings
6. SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD DH D A 7 D a H H E ui 0 a lt D Hi E E T D 5 DN a E Ww K Vi N d z D K UIO MCU P0 1 KS MCU P0 14 ko MCU RST MCU VCC3 3 i MCU page ARMFlash is a high performance programmer for NXP flash microcontroller family It is connected to target device through IDC10 connector and acts as ICSP In Circuit Serial Programmer P CO POWER SUPPLY a V l eh IN IRCUT gt ROGRAMMER TO OUR VALUED CUSTOMERS want to express my thanks to you for being interested in our products and having confidence in MikroElektronika It is our intention to provide you with the best quality products Furthermore we will continue to improve our performance to better suit your needs Nebojsa Matic General Manager DISCLAIMER All products are owned by MikroElektronika and protected by copyright law and international copyright treaty Therefore you should treat this manual as any other copyright material The manual and products may not be copied partially or as a whole without written consent of MikroElektronika Manual PDF edition can be printed for private or local use but not for distribution Modifying manuals or products is prohibited 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
7. WOD UO SaNb Jay 0 Aue aney NOA yi ni RNC NGEL ERI ER lef SNOILNTIOS IYYMAYYH ANY JYVML4IOS PRO
8. e for any indirect specific incidental or consequential damages whatsoever including damages for loss of business profits and business information business interruption or any other pecuniary loss arising from any defect or error in this manual or product even if MikroElektronika has been advised of the possibility of such damages Specification and information contained in this manual are furnished for internal use only and are subject to change at any time without notice and should be construed as a commitment by MikroElektronika MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in this manual including the product and software described in it Product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are used only for identification or explanation and to the owners benefit with no intent to infringe A e kl e e a a Wl O e eee ae AN AN kd e k e i O G o J E Si e OO J a am Ah 10 0000 a D 3 D g N N N Gah EE Gab E 0 e lelelelut Ode e KELTEN AITOR LYOddNS TVIINHDAL MOU SN Lol aseajd UO eWOJU jeuonippe jUeM 1enl NOK JO spnpoud uno Jo Aue yum sw jqord Bulduaiadxea ase nod y WUOD DOIMIWU IIJJO Jew Velo viet UTR IO en JDC UOD se jd jesodoud ssauisnq e 10 JUBWIW
9. ec onds a list with all MikroElektronika s products will appear on the screen To start installation of ARMflash software select ARMflash and click on the ARMProg software and Xo foluloLohofolulelehofo alolons USER ARMFLASH Programmer v2 01 Setup Welcome to the ARMFLASH Programmer v2 01 Setup Wizard This wizard wl guide you through the instalation of ARMPLASH Programmer v2 01 It is recommended that other applications eee Ses The mala ete e relevart system files without having to computer drivers for Windows You can also download ARMFlash_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 Step R License Ag reement E ARMFLASH Programmer v2 01 Setup License Please review the icense terms before installing ARMFLASH Programmer v2 01 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 Press Page Down to see the rest of the agreement Lanier balan mdi SIRE SE S E E S You must accept the agreement to instal ARMFLASH Programmer v2 01 CA Next to continue accept the terms in the License Agreement O1 do not accept the terms in the License Agreement ARMPLASH Prog arnner ARMFLASH Programmer v2 01 Setup Choose Components Ch
10. microcontrollers By means of this programmer it is possible to program almost all ARM microcontrollers including those embedded soldered on the printed board The ARMflash programmer is connected to the microcontroller via four lines P0 0 TX transmitter output P0 1 RX receiver input P0 14 ENT enter programming mode and RESET external reset 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 schematics provided at the end of this manual During operation the ARMflash 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 operation of device without affecting the operation of the programmer Accordingly even the IDC 10 female connector is connect ed the ARMflash program mer does not affect the oper ation of device ARMiash PROGRAMMER MikroElektromiK software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
11. nector s pinout MikroElektronika ARMilash PROGRAMMER GCONINEG TION Xo foluloLohofolulelehefo alolohs USER dE During normal operation its 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 only three middle pairs A of pins P0 0 P0 1 and P0 14 of the IDC 10 male connector are connected using jumpers You must not S connect end pairs of pins as connecting power supply pins VCC 3 3V and VCC 5V can damage the device whereas connecting the RESET and GND pins can cause the device to malfunction On board IDC 10 male connector with jumpers USER POWER SUPPLY MCU VCC 3 3V VCC 5V LK MCU VCC 3 3V Q P0 0 W a E al P0 14 2 Eea ie 5 eem ply E SR E ol RESET GND EE e S e Dls ee e e zjn l E GE O M W amp O MCU VCC 3 3V E i P0 8 8 D ore ETAN ee ore eo er kr ele N Ico kee ee ees An A EXAMPLES OF THE ARM microcontroller CONNECTION The following examples illustrates the connection between 44 48 64 and 144 pin ARM microcon troller and IDC 10 male connector Cece REES EEREEEEE EIER M LD ED P0 14 USER ii E gt P0 21 RST MIT enum aa KEE ON BOARD IDC10 CONNECTOR ARMAS PROGRAMMER GONNEGTION Connection schematic for the on board IDC 10 male connector and
12. oose which features of ARMFLASH Programener v2 01 you wart to install For the sake of simplicity this step of installation offers Oe i install Click Next to you only one component to select Just click Next Step 3 Choose Components Postion your mouse over amp componerk to see its description Select components toinstal MTEC V Driver Space required 1 9MB ARMFLASH Prog aerer Q Note Make sure that the ARMflash programmer is not connected to PC during the ARMflash software installation MikroElektromiK software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER etsistsitststsisteistsisisleitete MANUAL Step 4 Choose Install Location ARMFLASH Programmer v2 01 Setup x UY Choose Install Location Choose the folder in which to install ARMFLASH Programmer v2 01 page Now you should specify the folder to install the program in zA i If you want to install the program in a folder different from Gesi Idar Ckck instat to Rat erst o 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 esti E C Program Files MikroelektronikaARMFLASH Space required Lag Space avaiable 2 268 ARMFLASH Prog erer Step 5 Installation Details E ARMFLASH Programmer v2 01 Setup Installing The ARMflash installation will start in this step and its progress will be shown
13. pin ARM microcontroller such as LPC2119 2129 2194 2114 and 2124 These microcontrollers need additional 1 8V power supply which must be provided on board VCC 1 8V OP ARM TTT ON BOARD IDC10 CONNECTOR 144 PIN d7TT TTVN DUU HHH OO OO UU UU Sep ES aa oe ISS VCC 1 8VO Connection schematic for the on board IDC 10 male connector and 144 pin ARM microcontroller such as LPC2212 2214 2292 and 2294 These microcontrollers need additional 1 8V power sup ply which must be provided on board MikroElektromiK software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD No part of this manual including the product and software described in it may be reproduced transmitted transcribed stored in a retrieval system or translated into any language in any form or by any means excepting the documentation kept by the purchaser for backup purposes without expressed written permission of MikroElektronika company Product warranty or service will not be extended if the product is repaired modified or altered unless such repair modification or alteration is authorized in writing by MikroElektronika MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limiting to implied warranties or conditions of merchantability or fitness for a particular purpose In no event shall MikroElektronika its directors officers employees or distributors be liabl
14. 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 page USER POWER SUPPLY MCU VCC 3 3V VCC 5V TTT lt W Sla RORE gojo G REN GE E Em pg me AS BEE ag rate ta sj s F S ISS e eea N Bos 5 a IDC 10 male connector i and ARMFlash female connector connected C Sa n ole IN ofle oe Hb WOR PR D zelt ele ole zlo e fi ee e eo aly Gla zt Jirin EE A A On board IDC 10 male connector The ARM microcontroller power supply voltage is 3 3V As it is not provided by the programmer it is necessary to provide an on board regulator marked as REG in the Figure above If your ARMflash programmer is not supplied over USB cable it is nec essary to provide additional 5V power supply for its operation Figure on the right illustrates an IDC 10 connector s pinout Pins on the left side of the connector are used for connection to the microcontroller whereas the pins on the right side are used for connection to other components SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER POWER SUPPLY MCU VCC 3 3V VCC 5V i o ET e GND I RIGHT LEFT to ARM to board microcontroller electronics On board IDC 10 male con
15. 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 LICENSE AGREEMENT By using our products you agree to be bound by all terms of this agreement Copyright by MikroElektronika 2003 2008 PIC PlICmicro and MPLAB are registered trademarks of Microchip Company Windows is a registered trademark of Microsoft Corporation All other trade and or service marks are the property of the respective owners CONTENTS XXXIII ARMflash Programmer 4 Software Installation 6 ARMflash Software 8 Keyboard Shortcuts and Command Line Parameters 9 Programmer s Operation 10 ARMflash Programmer Connection 11 Examples of the ARM Microcontroller Connection 12 8 KA Mikrotlektroutks O Ss O O LLI Q O LLI aa LLI Ge O LL N Z e OQO N LLI lt O am lt fa z lt LLI lt L LL O N Q NF oo folmLoXohofoluLoLohofe uote USER O q ARMflash PROGRAMMER O Along with complementary software ARMflash programmer represents an irreplaceable tool for all Q those working with ARM
Download Pdf Manuals
Related Search
Related Contents
RX User Manual Copyright © All rights reserved.
Failed to retrieve file