Home
AC-PG-USBASP USBASP AVR Programmer User Guide
Contents
1. Table 2 Acronyms and Abbreviations 1 2 3 Definitions The definitions utilised in this User Guide are listed in Table 3 Definition Table 3 Definitions 1 3 Supported Microcontrollers Table 4 lists the microcontrollers that are supported by the USB AVR Programmer AC PG USBASP USBASP AVR Programmer Protoftack loge Version 1 1 19 April 2009 Supported Microcontrollers vupeuen ammessa mesmes amesso Table 4 Supported Microcontrollers 1 4 Warnings Some of the components discussed in this document are very sensitive to electrical static discharges The reader should take precautions to ensure that components are protected against these discharges Whilst the voltages typically seen in microcontroller circuits are low the reader should be aware of the risk of working with electrical circuits and take necessary precautions gt i AC PG USBASP USBASP AVR Programmer ProtoStack a Version 1 1 19 April 2009 2 Layout The layout of the USBASP programmer is shown in Figure 1 J2 Supply Target ISP 2 6 pin SIL USB Type A 9 pins os Yuan 1 ISP10 pen m 4411177 ge eeadeeec TC23731 J1 Self Program ISP 1 10 Pin IDC Figure 1 Device Layout 2 1 USBTypeA The USB end of the programmer connects directly into your computers USB port 2 2 ISP1 10 pin IDC The 10 pin ISP connection provides an interface to the microcontroller This interface uses a 10 pin
2. FOUG 2 TO PIS E el Le 4 EE 6 PS DINO ee eebe ee E ene een 5 Figure 4 Single row header on underside of programmer board 5 Figure 5 USBASP programmer on breadboard nenn 6 POGO RE 6 Figure 7 Driver Installation on Vista 32 bit Found new hardware nennen nennnnenn 8 Figure 8 Driver Installation on Vista 32 bit Found New Hardware USBasp sssssessseseeessseerrerre renn 8 Figure 9 Driver Installation on Vista 32 bit Windows couldn t find driver software for your device 9 Figure 10 Driver Installation on Vista 32 bit Browse for driver software nenn 9 Figure 11 Installation on Vista 32 bit Security warning ssn000011nnnenonosnennnnnnssrnnnnnnnenssnnnnnrerreesnnnne 10 Figure 12 Installation on Vista 32 bit Confirmation 10 Figure 13 Installation on Windows XP New Hardware Wizard 11 Figure 14 Installation on Windows XP Insert CD or install from specific location 11 Figure 15 Installation on Windows XP Specify Locaton 12 Figure 16 Installation on Windows XP Driver installation nennen nennen nennne nenn 12 Figure 17 Installation on Windows XP Installation Confirmation 13 Figure 18 AVRdude writing a flash image to the microcontroller nennen een 14 AC PG USBASP USBASP AVR Programmer Protoftack tre Version 1 1 19 April 2009 1 Overview 1 1 Introduction USBasp is a USB in circuit programmer for Atmel AVR controll
3. IDC connector and the pinout is shown in Figure 2 MOSI 1 2 VCC 5V GROUND 3 4 GROUND RESET 5 6 GROUND SCK 7 8 GROUND MISO 9 10 GROUND Figure 2 10 Pin ISP pinout AC PG USBASP USBASP AVR Programmer Protostack SR Version 1 1 19 April 2009 2 3 IPS2 6 pin SIL The 6 pin ISP connection provides an alternative to the standard 10 pin IDC connector The board provides 6 holes where a single row header polarised header or other connector can be mounted The pinout is shown in Figure 3 1 VCC 5V 2 MOSI 3 SCK 4 MISO 5 RESET 6 GROUND Figure 3 6 Pin ISP pinout By soldering some single row headers to the underside of the programmer board you can have the programmer in a form where it can easily be used on a breadboard This is show in Figure 4 and Figure 5 Figure 4 Single row header on underside of programmer board AC PG USBASP USBASP AVR Programmer ProtoStack SR Version 1 1 19 April 2009 Figure 5 USBASP programmer on breadboard 2 4 J1 Self Program This jumper is used to update the firmware of the USBasp programmer In order to update the firmware you will need 2 programmers One to be programmed and the other to do the programming 2 5 J2 Supply Target If this jumper is bridged then 5V supply from the USB port will go tho the target device via the ISP VCC connector Disable this jumper if the target device has its own power source 2 6 LEDs The US
4. PG USBASP USBASP AVR Programmer ProtoStack AE Version 1 1 19 April 2009 a USBasp programmer being programmed referred to as target programmer b USBasp programmer doing the programming refereed to as active programmer C Computer with USB port and AVRdude software installed d Precompiled firmware to be loaded can be downloaded from http www fischl de usbasp and e 10 pin or 6 pin ISP cable 3 3 2 Assumptions This procedure assumes that a The procedure is being executed on Microsoft Windows XP or Windows Vista b AVRdude is in the path and C USBasp drivers have already been installed 3 3 3 Procedure To download a new copy of the firmware to a USBasp progammer a Insert the active programmer into an available USB port b Enable the J1 jumper on the target programmer C Connect the 10 or 6 pin ISP cable from tho active to the target programmer d Open a command prompt e Enter the following command avrdude p atmega8 P usb c usbasp U flash w main hex AC PG USBASP USBASP AVR Programmer ProtoStack ae Version 1 1 19 April 2009 4 Comment and Questions If you have any questions or comments regarding this documentation or any of our products please post to the Protostack forum at http www protostack com forum The forum will allow you to interact with peers and are constantly monitored by our support engineers 16
5. driver software manually Figure 9 Driver Installation on Vista 32 bit Windows couldn t find driver software for your device f Click Browse and select the folder where you unzipped the USBasp drivers then click Next Browse for driver software on your computer Search for driver software in this location C Users dgarcia Desktop win driver 0 1 12 Include subfolders Figure 10 Driver Installation on Vista 32 bit Browse for driver software g When the windows security dialog box is opened select Install this driver software anyway Note This security warning is raised because the device driver files are not signed with a digital certificate This does not mean that the file will cause a security problem but rather that windows cannot guarantee it source Click on see details for more information AC PG USBASP USBASP AVR Programmer ProtoStack GE Version 1 1 19 April 2009 Installing driver software i Windows Security amp Windows can t verify the publisher of this driver software Don t install this driver software You should check your manufacturer s website for updated driver software for your device i Install this driver software anyway Only install driver software obtained from your manufacturer s website or disc Unsigned software from other sources may harm your computer or steal information V See details Figure 11 Installation on Vis
6. 9 April 2009 Found New Hardware Windows needs to install driver software for your USBasp Locate and install driver software recommended Windows will guide you through the process of installing driver software for your device gt Ask me again later Windows will ask again the next time you plug in your device or log on Don t show this message again for this device Your device will not function until you install driver software Figure 7 Driver Installation on Vista 32 bit Found new hardware Wait while Windows Vista attempts to locate a driver d When the Found New Hardware USBasp dialog box is displayed select I don t have the disc Show me other options Wi LS New AL Insert the disc that came with your USBasp If you have the disc that came with your device insert it now Windows will automatically search the disc for driver software I don t have the disc Show me other options Figure 8 Driver Installation on Vista 32 bit Found New Hardware USBasp AC PG USBASP USBASP AVR Programmer ProtoStack GE Version 1 1 19 April 2009 e On the next screen select Browse my computer for driver software advanced Windows couldn t find driver software for your device Check for a solution Windows will check to see if there are steps you can take to get your device working Browse my computer for driver software advanced Locate and install
7. AC PG USBASP USBASP AVR Programmer User Guide Version 1 1 19 April 2009 AC PG USBASP UG AC PG USBASP USBASP AVR Programmer ProtoStack pate Version 1 1 19 April 2009 TABLE OF CONTENTS T e TE 1 1 1 WU OCU el EE 1 1 2 ROG ONGO eebe 1 1 21 Referenced Web E e 1 1 22 Acrenyms and ADDrevialON GE 1 1 2 3 Definitions 2 ne een nr eee 2 1 8 E Deele e Wee e allge 2 RT Un Le 3 2 MU E 4 21 SB TYD A ee ee ep ae 4 22 IIPI IO DID ee ee ee 4 2 3 1PS2 6 pin CHE 5 24 a Reen EE 6 2 9 We OUD OLY Ee 6 20 CEDO eege EE 6 3 USING THE RE Eegen 7 3 1 Connecting the programmer to your computer ss 7 3 1 1 Windows Vista 32 Bit 7 3 2 WAOE AR Se EE 10 3 1 3 EE 13 3 2 Downloading firmware to your microcontroller cece eeeee cece ee eeeeeee ee nn nen anne 13 921 TAC OUI ME EE 13 SE Die le e E 13 922 e 101210 LE 14 3 2 4 More mtormaton nun nnnn nenne nero nenn anne nenn nnnne nenn nnnnennnen nn 14 33 Upgrading OS RD ee ee 14 3 3 1 Required Hemes 14 WE ie le e E 15 99092 e ee TL eaea a iee 15 4 COMMENT AND QUESTIONS 2222200000000nnnnnnnnnnnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nun 16 AC PG USBASP USBASP AVR Programmer ProtoStack pate Version 1 1 19 April 2009 TABLE OF TABLES Table 1 Relerenced Documents ee ee ee 1 Table2 Acronyms and Abbreviations ana een 2 ADS RN Me e ee ee ee ee 2 Table supported Microcontrollers E 3 TABLE OF FIGURES Foura Ve e ET 4
8. BASP programmer has 2 LEDs near the ISP2 connection These have the following functions a LED 1 Power b LED 2 Programmer communicating with target device gt cr ole ISP10 pese gel SCH 2R3 cot SERS el SCH O N Figure 6 LEDs AC PG USBASP USBASP AVR Programmer ProtoStack GE Version 1 1 19 April 2009 3 Using the Programmer 3 1 Connecting the programmer to your computer Connecting the programmer to your computer comprises of 2 steps a Physically connecting the programmer to the USB port and b Installing drivers in order for it to work Whilst the USBasp programmer will work on a wide variety of operating systems this procedure will focus on Widows Vista 32 bit and Windows XPs 3 1 1 Windows Vista 32 Bit 3 1 1 1 Required items Items required to run this procedure are a USBasp programmer b Computer with USB port and Windows Vista 32 bit installed C USBasp drivers downloaded and unzipped from http www protostack com download US Basp driver 0 1 12 1 zi 3 1 1 2 Assumptions This procedure assumes that a The logged in user has sufficient permissions to install unsigned device drivers 3 1 1 3 Procedure To install the USBasp programmer a Insert the programmer into an available USB port b When the Found New Hardware dialog opens select Locate and install driver sotware recommended AC PG USBASP USBASP AVR Programmer ProtoStack GE Version 1 1 1
9. ate to search for software Yes this time only Yes now and every time connect a device No not this time Click Next to continue Figure 13 Installation on Windows XP New Hardware Wizard On the next page select Install from a list of specific location Advanced then click Next Found New Hardware Wizard This wizard helps you install software for USBasp f your hardware came with an installation CD lt 6 or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue lt Back Figure 14 Installation on Windows XP Insert CD or install from specific location On the Search and Installation options page 1 Ensure that Include this location in the search is checked 11 Protoftack 2 Click Browse and select the folder where you unzipped the USBasp drivers then 3 Click Next Found New Hardware Wizard Please choose your search and installation options Dags S Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed _ Search removable media floppy CD ROM M Include this location in the search i Settings Sandy Garcia Desktop win driver 0 1 12 18 Dont s
10. e to your microcontroller 3 2 1 Required Items Item required for this procedure include a USBasp programmer b Computer with USB port and AVRdude software installed C Precompiled firmware to be loaded d 10 pin or 6 pin ISP cable and e AVR Microcontroller with ISP interface wired to it e g an AVR microcontroller on a Protostack 29 pin AVR board 3 2 2 Assumptions This procedure assumes that a The procedure is being executed on Microsoft Windows XP or Windows Vista b AVRdude is in the path and AC PG USBASP USBASP AVR Programmer Protoftack Be Version 1 1 19 April 2009 C USBasp drivers have already been installed 3 2 3 Procedure To download the firmware to your microcontroller a Insert the programmer into an available USB port b Open a command prompt C Enter the following command where 1 lt DEVICE gt is the micro controller type you are programming eg ATMEGAB and 2 lt FILE gt is the filename of the precompiled binary file avrdude p lt DEVICE gt F usb c Usbasp U Elash iwi lt FILE gt ES Administrator Command Prompt M Be We Le ee Figure 18 AVRdude writing a flash image to the microcontroller 3 2 4 More information Please refer to the AVRdude documentation at http www nongnu org avrdude user manual avrdude html for more information 3 3 Upgrading your USBasp 3 3 1 Required Items Item required for this procedure include AC
11. earch will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware Figure 15 Installation on Windows XP Specify Location e Wait for the driver to install Found New Hardware Wizard Please wait while the wizard installs the software Figure 16 Installation on Windows XP Driver installation f When the installation is complete a confirmation screen will be displayed Click close to close it AC PG USBASP USBASP AVR Programmer User Guide 19 April 2009 12 AC PG USBASP USBASP AVR Programmer ProtoStack SR Version 1 1 19 April 2009 Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for USBasp Click Finish to close the wizard Figure 17 Installation on Windows XP Installation Confirmation g Your programmer is now ready for use 3 1 3 Other operating systems USBasp works under other operating systems such as Mac OS X and Linux by drivers are not provided by Protostack nor are installation instructions included in this user s guide The USBasp programmer uses the AVR USB library and driver source code can be downloaded this page http www obdev at products avrusb index html Mac users may also want to look at http www harbaum org till macavr index shtml 3 2 Downloading firmwar
12. ers It simply consists of an ATMega8 and a few passive components The programmer uses a firmware only USB driver no special USB controller is needed Some of the key features include a Works under multiple platforms Linux Mac OS X and Windows are tested b Programming speed is up to 5kBytes sec and C SCK option to support targets with low clock speed lt 1 5MHz 1 2 References 1 2 1 Referenced Web Pages The web pages referenced in this User Guide are listed in Table 1 Name Address USBasp USB programmer for Atmel AVR controllers http www fischl de usbasp AVRdude http savannah nongnu org projects avrdude AVRdude Documentation http www nongnu org avrdude user manual avrdude html AVR USB http www obdev at products avrusb index html WinAVR http winavr sourceforge net MacAVR http www harbaum org till macavr index shtml Table 1 Referenced Documents 1 2 2 Acronyms and Abbreviations The acronyms and abbreviations utilised in this User Guide are listed in Table 2 AC PG USBASP USBASP AVR Programmer Protostack SR Version 1 1 19 April 2009 Acronym and Abbreviation Description AVR According to Atmel AVR stands for nothing it s just a name Others say it stands for Advanced Virtual RISC However the inventors of the AVR series chips are named Alf Egil Bogen and Vegard Wollan so you be the judge Insulation Displacement Connector In System Programmer Universal Serial Bus
13. ta 32 bit Security warning When the installation is complete a confirmation screen will be displayed Click close to close it The software for this device has been successfully installed Windows has finished installing the driver software for this device USBasp Figure 12 Installation on Vista 32 bit Confirmation Your programmer is now ready for use 3 1 2 Windows XP 32 bit 3 1 2 1 Required items Items required to run this procedure are a b USBasp programmer Computer with USB port and Windows XP 32 bit installed USBasp drivers downloaded and unzipped from http www protostack com download USBasp driver 0 1 12 1 zi 10 Protoftack AC PG USBASP USBASP AVR Programmer User Guide Version 1 1 19 April 2009 3 1 2 2 Assumptions This procedure assumes that a The logged in user has sufficient permissions to install unsigned device drivers 3 1 2 3 Procedure To install the USBasp programmer a b C d Insert the programmer into an available USB port When the New Hardware Wizard dialog box is displayed select No not this time then click Next Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Upd
Download Pdf Manuals
Related Search
Related Contents
FGA-700 User Manual Panasonic DMC-LC20PP Digital Camera User Manual MANUAL DE USUARIO APE - Agencia Pública de Empleo Manual do proprietário Manual - Extron Electronics Home Decorators Collection 1672800910 Instructions / Assembly View Guida per l'utente D 110 L Copyright © All rights reserved.
Failed to retrieve file