Home

AVR Prog-S - One Byte CPU

image

Contents

1. AVR Prog S Programmer for AVR microcontrollers User Manual Q Omega MCU Systems Copyright 2011 Contents WAU O OU 60 REE 2 AYR POO o fare EO GENENE ENE 2 2 SEERE EE 3 1 Connecting to the Host Computer rrrranrrrnnnrrnnnnenrnnnrvrnnnenrnnnennnnnennnnsnnnnnenn 3 2 Connecting to the MCU board rrrrnnrrrrnnrenrnnnenrnnnrrnnnnennnnnennnnsennnnsnnnnnennnnnee 3 3 Attaching the power Optional cccscccssecceeeceeeeseeeeeeeeneeeceeseueeaeeeseeeeeeeens 3 FONS FSCO ON aga Aage Gian e ka 4 In Circuit Serial Programming In System Programming ICSP ISP 0 5 Compatibility and USE rrnrnrnnnnrrnnnnennnnnennnnnenrnnnennansennansennannennnnsennunsennnsennnnssennnn 5 Adding the AVR Prog S to the Arduino IDE 0022 0000 eeens renna 6 SPECIFICATIONS ccccccecccceeeeeceeeeeceeeeeceeeeeseeceeseeeeeseecesseeesseesessaueessaeeesseeesaeeeesaeees 7 Power REGNE Sad ld al an 7 Communications requirements krakkar krakka 7 MV 7 Pl 8 Q Omega MCU Systems Page 1 Copyright 2012 Introduction The Omega MCU Systems AVR Prog S Is a simple yet effective ICSP ISP programmer primarily for AVR microcontrollers However it is compatible with the PonyProg SI Prog and will work with a number of the adapter circuits defined for that board It can therefore be used to program a variety of programmable devices It has been tested and verified with avrdude 5 4 Arduino IDE 0022 and PonyProg 2 07a A
2. VR Prog S main features e 1 6mm FR4 fiberglass board with 10z copper and HAL tinning for long life e Built in 100 mA regulated RED oO 5V 3V power supply gi reduces workbench clutter 3 improves operational pen T Pi reliability and reduces set ore i uAVR Prog sS 4 up time r ETT 9 MIS0 VCC S e 6 pin and 10 pin ICSP a s ST USBL D R m ore RT HONDA headers E 12 I1N4148 G e Standard 5 5mm x 2 1mm ie SMS coaxial DC power socket eet 3 e Industry standard RS232 interface for use with serial cable e Works with avrdude 5 4 and PonyProg 2 07a software as well as others e Can program dozens of AVR chips including o ATMega8 ATMega48 ATMega88 ATMega168 ATMega328 e Connects directly to Arduino and other AVR development boards e Can be used to program Arduino bootloaders SRST LONDS lt Q Omega MCU Systems Page 2 Copyright 2012 Usage 1 Connecting to the Host Computer The AVR Prog S equipped with a standard pin out 9 pin DBF connector can connect to a host computer either through a standard RS232 interface The AVR Prog S is configured as a data communications device so if connecting to an RS232 interface a straight through cable is required Depending on the RS232 connector the host computer has this will either be a 9 pin female to 9 pin male as shown here Or in rare instances you may need a 25 pin female to a 9 pin male cable In either case the 9 pin male end o
3. f the cable is connected to the AVR Prog S and the female end to the host computer 2 Connecting to the MCU board Depending on the target device you will need to connect it via the 6 pin or 10 pin header If the device uses standard pin out See page 4 a simple ribbon cable with IDC connectors can be used Alternatively DuPont style jumpers can be used to bring the individual signals to the target device If jumpers are used be sure that the ground GND of the AVR Prog S is connected properly to the ground of the target device Failure to do this will almost certainly mean things won t work MOSI MISO and SCK are also required for normal programming operation Optionally The AVR Prog S can be used to power the target device This should only be done if the power requirements of the target device are minimal Read on for more information about this 3 Attaching the power optional The AVR Prog S itself gets its power from the RS232 interface and does not require and external power However some target devices may require the programmer to supply power In these cases the on board regulator and standard DC power jack allow for a variety of power e options Any filtered DC source of Positive between 7 5V and 23V can be used Negative Q Omega MCU Systems Page 3 Copyright 2012 Make sure the chosen power supply delivers positive voltage through the center conductor and negative through the outer sleeve as
4. igate to the Sketchbook Location folder See if there is a folder named hardware in the folder view If not create it Navigate to the hardware folder Create a new folder named OMS AVR Prog S Navigate to the OMS AVR Prog S folder Create a new text document named programmers txt Open boards txt and copy or type in the text below Save programmers txt Exit windows Explorer Start the Arduino IDE Go to the Tools menu O O Select Burn Bootloader OMS AVR Prog S should now be in the list This is the text you need to put into programmers txt omsavrprogs name OMS AVR Prog S omsavrprogs communication serial omsavrprogs protocol ponyser Note There is a known bug with respect to the avrdude 5 5 and serial programmers of this type serbb This also effects it s use with Arduino IDE 1 0 as that is the version of avrdude that is included in that package Q Omega MCU Systems Page 6 Copyright 2012 Specifications Power Requirements e Supply Voltage 7 5V 23V DC e Supply Current Dependant on the MCU being powered e Supply Connector 5 5mm x 2 1mm center positive co axial jack NOTE Supply voltage should never exceed 24V DC Observe polarity this board requires a center positive supply Check before attaching the power source Communications requirements e Interface Type RS232 serial e Connection Standard pin out 9 pin DBF DB9F pin out and function from the AVR Prog S perspecti
5. shown above The most convenient and popular power sources are a 9V AC DC switching type switchmode adapter or a 6 cell AA battery pack The 9V AC DC switching type switchmode adapters are preferred over the transformer type adapters and batteries as they provide a more stable supply are lighter take up less space and are generally less expensive to use With a Vin of 9V the AVR Prog S power supply is capable of supplying about 100 mA If the target device requires more current than that you will need to provide sufficient power from another source At this point you are ready to begin downloading programs to your MCU Power selection Should it be necessary to use the AVR Prog S to power KoV EA the target device you will need to set the power GRN properly There are two jumpers provided for power selection The VS jumper determines the voltage supplied by the AVR Prog S 5V is supplied with the jumper installed and 3V with the jumper removed The red LED will light to indicate when 3V is available With the PS jumper installed the on board supply is attached to the Vcc pins on the ISP headers Remove this jumper if the AVR Prog S is not going to power the target device Q Omega MCU Systems Page 4 Copyright 2012 In Circuit Serial Programming In System Programming ICSP ISP rd ICSP or ISP In System programming is a method by which an MCU can be directly programmed while still in a circuit In I the AVR
6. ve DIR GND RX 9 43 2 1 9 8 6 RTS CTS DSR Pin 3 The AVR Prog S receives reset and other data on this pin Pin 4 The AVR Prog S receives program data on this pin write Pin 5 Signal Ground Pin 6 The AVR Prog S sends clock signals on this pin Pin 7 The AVR Prog S receives clock signals on this pin Pin 8 The AVR Prog S sends program data on this pin read verify Supply Capability Regulated Voltage SV 4 8V 5 2V 3V 2 9V 3 20 Maximum current 100 mA Q Omega MCU Systems Page Copyright 2012 Physical e Length Width Height Weight OMS PO Box 74 Bracebridge ON Canada P1L1T5 Q Omega MCU Systems Operating Temp 52mm 52 5mm 14 5mm 229 0 C 125 C Page 8 Copyright 2012
7. world the programmer is known as the master and the chip to be programmed as the slave The signals used are MOSI Master Out Slave In MISO Master In Slave Out and SCK Serial ClocK which is supplied by the master or programmer Add to this a reset line to reset the MCU Vcc by which the programmer can power the MCU and a ground and you have all the signals of a standard AVR ISP interface Function Function gt MOSI Used in conjunction with Pony Prog IS adapter circuits Compatibility and Use The AVR Prog S has been tested and verified with avrdude 5 4 Arduino IDE 0022 and PonyProg 2 07a software If you are using PronyProg select SI Prog API or SI Prog I O whichever works best for you The I O option is usually faster as It accesses the serial port directly With AVRdude use ponyser or siprog with the c option The following is a sample avrdude 5 4 command line to burn an Arduino bootloader onto an Atmel Atmega328 Q Omega MCU Systems Page 5 Copyright 2012 Adding the AVR Prog S to the Arduino IDE 0022 If wish you can optionally add the AVR Prog S to your Arduino IDE 0022 It s not that difficult Here is how to do it Start the Arduino IDE Go to the File menu O O O Select Preferences Make a note the Sketchbook Location folder Click Cancel Close the Arduino IDE Right click My Computer in Windows O O O DoD O 0O 00 O Select Explore Nav

Download Pdf Manuals

image

Related Search

Related Contents

Logitech® Mobile Speakerphone P710e Setup Guide Guide d : Free Download, Borrow, and Streaming : Internet Archive  BlackBerry Management Center - 1.0  ADV7170/ADV7171  MEGASTAR MANUALE ITA.cdr  Instrucciones de instalación y operación  Bacia Monobloco Manual de Instalação  船舶事故調査報告書  Digitus DA-50300 equipment cleansing kit  Télécharger le dossier de presse  取扱説明書 JCS  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.