Home

AVRprog2 User`s Manual

image

Contents

1. m PA m ON BOARD IDC10 CONNECTOR ON BOARD IDC10 CONNECTOR SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Connection between on board male IDC 10 connector and 8 pin AVR microcontrollers such as ATtiny15 Connection between on board male IDC 10 connector and 8 pin AVR microcontrollers such as 9052323 2343 ATtiny12 13 25 45 85 Connection between on board male IDC 10 connector and 14 pin AVR microcontrollers such as ATtiny24 44 84 MikroElektronika CONNEC TON Connection between on board male IDC 10 connector and 20 pin AVR microcontrollers such as m 9051200 2313 ATtiny2312 lt m m PA EUR GND 20 PIN A ON BOARD IDC10 CONNECTOR vcc Connection between on board male IDC 10 connector and 20 pin AVR microcontrollers such as ATtiny26 m m m m m 20 PIN B ON BOARD IDC10 CONNECTOR CONNECTION VALE LKOSS Connection between on board male IDC 10 connector and 28 pin AVR microcontrollers such as m AT908S4433 ATmegae 48 88 168 m m lt m ON BOARD IDC10 CONNECTOR MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER oono O 15 q Q Connection between on board male IDC 10
2. must be enclosed with KEYBOARD Sour os Example 1 avrprog exe w pATMEGA T16 v f C somefile hex This command programs the AVR using C somefile hex and verifies written data Example 2 r pATMEGA16 This command reads the AVR contents Example 3 avrprog exe e pATMEGA16 This command erases the AVR SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika e Y USER PROGRAMMER S OPERATION qi Q Programming an AVR microcontroller is performed by using signals mRST MISO MOSI and SCK from the AVRprog programmer They are brought to the appropriate reset and SPI com munication pins In order to enable programming to run without errors make sure that these pins are not connected to other electronic components Otherwise during normal operation these pins must be connected to other components as per project 40 PIN EIR OPIERAL Since the microcontroller is soldered on the printed circuit board with no use of socket it is necessary to enable these pins to be connected to disconnected from the rest of electronics by using jumpers Because of that do not forget to embed 4 jumpers when designing a device MikroElektroniKa software AND
3. 0 a S FTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD O DO is high performance programmer for Atmel s microcontroller family It is connected to target device through IDC10 connector and acts as ICSP In Circuit Serial Programmer This manual contains a detailed description of this device It also guides you through the AVRflash programmer software installation 5 _ CU e IN CIRCUL PROGRAMMER 5 AVRprog Programmer AN RflashSoftware Installation AVRiflash Software Keyboard Shortcuts and Command Line Parameters Programmer s Operation AVRprog Programmer Connection Schematics 000 sks e MikroElektronika cc O LLI Q gt LL N Z 2 lt cc lt I 2 lt LLI lt LL e Un e Y USER AVRprog PROGRAMMER Along with complementary software AVRprog programmer represents an irreplaceable tool for all those working with AVR microcontrollers By means of this programmer it is possible to program almost any AVR microcontroller including those embedded soldered in printed cir cuit board The AVRprog programmer is connected to the microcontroller via six lines Two of t
4. HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER Ke II oto o oA oop vo for At the end of the 5 flat cable there is an IDC 10 female connector which fits to on board IDC10 male connector with 2 54mm space between pins During normal operation of the target device it should be left disconnected as shown in figure below In that way the microcontroller pins will be connected to the rest of on board electronics via four jumpers On board IDC10 male connector MOSI MILER S OUPLELRYA x X x X Jumpers are connected d 40 PIN SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika During programming the IDC 10 male connector is used to bring signal from the programmer To enable it it is necessary to remove jumpers and plug the 5 connector into the on board connector Programmer is connected XTAL2 Jumpers A E Bar TR disconnected si PDO A mi PD1 PD2 _ T PD4 EIR OPERATION I 5 PD6 1 MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER AVRprogrammer CONNECTION SCHEMATICS lt PX Xd bd m ON BOARD IDC10 CONNECTOR lt
5. connector and 40 pin AVR microcontrollers such as m m 9058515 161 162 8515 UR m ON BOARD IDC10 CONNECTOR 40 Connection between on board male IDC 10 connector and 40 pin AVR microcontrollers such as m AT90S8535 ATmega16 32 163 323 8535 m m CONNEC THON m ON BOARD IDC10 CONNECTOR 40 PIN B SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika Connection between on board male IDC 10 connector and 64 pin AVR microcontrollers such as PS m m PS ATmega103 128 1280 128 165 169 2560 2561 325 TI 3250 329 3290 64 640 n 644 645 6450 649 6490 m After programming the pro grammer s IDC10 female connector must be unplugged jumpers must be put on enables the MCLR MISO MOSI and SCK pins to be connected to the rest of on board electron ics which further enables device to operate normally without being affected by the AVRprog programmer needed the jumpers can be removed and AVRprog can be reconnected in order to reprogram the chip THON AS U LOS e Note Target board must not have electrolytic capacitors between the microcontroller pins and embedded IDC10 male connector since the po
6. e pro Xe grammer should be con VA nected to the MCU pro 222 m programmer 2 gramming pins via IDC10 E connector At the same time any peripheral using the same pins should be disconnected by means of jumpers Peripherals disconnected Target device If the target board has its own 5V power supply then it can be also used for powering the AVRprog programmer In that case it is necessary to open programmer plastic case and remove the jumper for power supply selection Otherwise if the target board does not have its own power supply source then the jumper should not be removed In that case the pro grammer the microcontroller and the whole electronics are powered via programmer s USB cable which connects the programmer to a PC Any other power supply on the target board must be suspended This picture illustrates the position of jumper when the target board and the programmer are powered via USB cable This picture illustrates the programmer with no 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 AWARE ELS e Y USER AVRflash PROGRAMMER SOFTWARE INSTALLATION In order to enable programming microcont
7. e as possible this step does idea hs not requires you to choose components to install Chest comparent vent to netalan uncheck the componer you mart to Click to continue AN ARSULIEYSSUD SSXOATF LI VAU ANRSLES LEN S99 Select componentstoinstak 94 Note Make sure that AVRprog programmer is not connected to the PC during soft ware installation MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER 5 4 Installation Location AVRFLASH Programmer ye Jaw 5 Choose Install Location en nn ne ee ee This step is intended for choosing destination folder If you want to install the program to the Folder Cick Instal to zart tends folder different from default click Browse and select another folder on hard disc Then click Next If you choose default folder the program will be installed on the following destination C Program Files Mikroelektronika AVRflash Step 5 Installation Details AVRilash installation starts here and its progress will be shown on the screen If you are interested in details of the installation click the Show details button Step 6 Fi n is h LAST Erogremmer v2 10 Completing the AVRFLASH Programmer v2 10 Setup Wizard AVRFLASH Programmer v2 10 has been installed on your computer Windows will notify y
8. hem are 5V and GND while others are used for signal transmission SPI protocol and reset page gt MISO Master In Slave Out MOSI Master Out Slave In SCK Serial Clock mRST Reset These lines are contained within a flat cable ending with an IDC10 female connector When creating a target device the appropriate 10 pin male connector with 2 54 mm space between pins should be placed on it Connector pins should be connected to the microcontroller pins Their position varies depending on the microcontroller s type and package Exact connection schematics are provided at the end of this manual Note If your target device uses MCU programming pins for the operation of some other peripherals then it should be enabled to these peripherals to be disconnected during programming Jumpers are commonly used for disconnecting the MISO MOSI SCK and mRST programming pins AN ARSULEQSSUD PIROGIRVA IL ELS Programmer is inactive During normal operation of the target device the pro grammer should be dis connected while peripher als should be normally connected to the MCU pins as per project Con nection is made by means Flat cable of four jumpers AVRprog programmer Peripherals connected Target device MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Programmer is active During programming a La device with built in AVR microcontroller th
9. ored in the HEX file PWARTASLO SOLE Step 3 Write program mikroElektranika AVRFLASH Programmer v7 10 Click the Write option in the up right a ick the Write option in the up right corner momode Device frequency _ the working window to start programming the microcontroller The progress Of program spm or LPM acesing the Boot Londer scion ming will be shown in the right bottom corner of the working window Type AT megalb EEPROM Sim 512 Bytes Device Status Verifying FLASH FLASH HEX Fiir CIEXAMLESVLSZXTIE SE 32 EEPROM HEX File Device ATmegat Press to Abort Operation ATFLASHprog AVR v02 06 02 28 MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER KEYBOARD SHORTCUTS AND COMMAND LINE PARAMETERS Keyboard Shortcuts Erase 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 activate the AVRflash from the command line It also enables you to use AVRflash from some other software compiler etc Here is the list with the command line parameters W Write to AVR V Verify r Read from AVR p AVR name for example ATMEGA16 ATMEGA8535s f File name
10. ou of successful installation of AVRflash by showing the window from the picture on the right To complete the installation process click Finish Click Finish bo close this wizard Driver installation After installing AVRflash it is necessary to install the appropriate drivers on your PC They enable programmer s hardware to operate properly For information on their installation please refer to nstalling USB drivers manual SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika e Y USER AVRflash SOFTWARE mikrolektronika AVRFLASH Programmer e 2 10 S Step 1 Run AVRflash programmer No memory lock features enabled Run AVRflash from your PC Click the pce Device option and select the appropriate oce BOD Disabled z microcontroller to program AVRflash will Startup 6 CK Sms automatically set parameters to work Boot block 1024 Words with the specified microcontroller FLASH Size 16 Type EEPROM Size 512 Bytes Device Status Idle Step 2 Load HEX file Click the Load option which opens the window shown on picture on the right Select the appropriate executable file hav ing extension HEX in its name and click the Open option AVRflash will do all nec essary settings on the basis of control bits st
11. rollers using AVRprog programmer it is necessary to install the AVRflash programmer program AVRflash on your The same program is used for programming AVR microcontrollers using EasyAVR development board Step 1 Start installation AVRELASH Programmer 10 Setup Welcome to the AVRFLASH FZ Insert the product CD into a PC drive A list with all Programmer v2 10 Setup Wizard MikroElektronika s products appears Click the setup TAA Maro MM YN Us FULMEN V icon to start software installation MEE you dese d TII sae mn e computer SE AVRflash software for Windows 2 AVRflash setup exe may be also downloaded free of charge from our web site Then you have to start the installation from your hard drive A welcome window appears Click Next Step 2 Licence Agreement lt Programmer v2 10 Prior to start the installation please review the License terms you accept them select the option 1 accept the terms in the License Agree ment and click afterwards you accept the berms of the agreement select the agreement Eo install AVRFLASH Programmer v2 10 Click Next to Gia tier scatters ne tee Step 3 Choose Components B AVRFLASH Prog LES DEEST YE JD 5etup Chaos Conon Choose which Feabures of AVRFLASH Programmer v2 10 you To make it as simpl
12. wer supply voltage is controlled by the AVRprog programmer MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD AN e A 7 9 gt pa e e e lt 2 B e 09 4 Je IV Y VM LYOddNS TVIINHDAL MOU SN aseajd jeuonippe 3uew snf NOK JO sjionpoud 1 Aue yum sule qoJd nof JI IeUu e V V Y sN 12e1u02 se jd sseursnq e 10 JUBWIWWOD uonsenb 19470 Aue nof yi m s Se 7 1105 3HVMQH VH 38 VM1JOS U41u01149130 DIUI

Download Pdf Manuals

image

Related Search

Related Contents

  PD251-031 - PDi Communication Systems  Nokia X2-02 Xseries Mobile Phone - Unlocked/No Contract  Bedienungsanleitung  

Copyright © All rights reserved.
Failed to retrieve file