AVR Prog-S. Programmer for AVR microcontrollers. User Manual

Similar documents
Omega MP. Multi-Programming Shield for Atmel Microcontrollers. User Manual

Omega-328 SB. Rapid Prototyping tool with Shield Base for Atmel AtmegaXX8 Microcontrollers. User Manual

ATMega128 Rapid Robot Controller Board [RKI-1148]

AVR 40 Pin Rapid Robot controller board

Atmel AVR datasheet. Matrix Multimedia Atmel AVR Board EB Contents

AVRminiV3.1 Manual. 1. AVRminiV3.1 Overview. 2. AVRminiV3.1 Features and Specifications Standard Features: 2.2. Optional Features:

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

Arduino Dock 2. The Hardware

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

keyestudio Keyestudio MEGA 2560 R3 Board

Voltage Regulator Board User Guide

EXL x240 Graphic LCD Smart Module 3,8 SHORT FORM TECHNICAL SPECIFICATIONS. Via di Corticella, Bologna, Italy

ARDUINO MICRO WITHOUT HEADERS Code: A000093

Doc: page 1 of 8

Arduino ADK Rev.3 Board A000069

AVR-P development board Users Manual

ARDUINO MEGA ADK REV3 Code: A000069

ARDUINO MEGA 2560 REV3 Code: A000067

Breeze Board. Type A. User Manual.

ET-BASE AVR (ATmega8535)

HAND HELD PROGRAMMER QUICK START GUIDE

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

BB-303 Manual Baseboard for TMCM-303

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

RFX 328p dev/deployment board - Assembly instructions (long version, v1.3, Feb 12, 2015)

Sanguino TSB. Introduction: Features:

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

ARDUINO UNO REV3 Code: A000066

General-Purpose Microcontroller Module 12a Hardware Reference Release 1.4a (October 11, 2017)

3.3V regulator. JA H-bridge. Doc: page 1 of 7

ARDUINO LEONARDO WITH HEADERS Code: A000057

ISPcable II. User s Guaid. Programer for AVR, AT89S and AT90S Atmel microcontrollers with serial interface. REV Beta 1.1. Many ideas one solution

Bill of Materials: Programming Interface for AVR PART NO

Pmod modules are powered by the host via the interface s power and ground pins.

Breeze Board. Type B. User Manual.

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

Introduction to Microcontrollers

PCB-AVR1284-3U. AVR Microcontroller Development PCB for Atmel 40-pin DIP AVRs.

ATmega48/88/168 Development Board

EvB 4.3 v4 User s Guide

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

AC-PG-USBASP USBASP AVR Programmer

Arduino Diecimila Pinouts 697B B8D-A50A-61944C26074F

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

AVR USBISP+ V4.0 for specialist(model:ad-usbisp+ V4.0)

MINITRONICS v1.0 DATASHEET

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

WICE-SPI Hardware Operation Manual

Zippy AVR Programmer. Zippy Programmer Features. Lomae Pty Ltd PO BOX 1297 Baulkham Hills, NSW,1755 ACN

AVR-P20 development board Users Manual

AVR Hand Held Programmer

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

HAND HELD PROGRAMMER QUICK START GUIDE

AC-PG-USBASP USBASP AVR Programmer

ARDUINO LEONARDO ETH Code: A000022

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

TLC5947 and TLC59711 PWM LED Driver Breakouts

LIN bus board datasheet EB

AVR Development Board

Prototyping Module Datasheet

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

ARDUINO M0 PRO Code: A000111

SimPLC. User Manual.

Pridgen Vermeer Robotics Xmega128 Manual

How to Use an Arduino

M32 Development Board

Alessandra de Vitis. Arduino

Revision: 05/05/ E Main Suite D Pullman, WA (509) Voice and Fax. Various power connectors. 3.3V regulator

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

Atmel Microprocessor Programming With AVRISPmkii

ESPino - Specifications

Shack Clock kit PCB Revision: QCU Rev 1 or QCU Rev 3

Pridgen Vermeer Robotics ATmega128 Revision 0

An FTDI connection: The ATtiny microcontrollers don t have a hardware UART External Crystal header pins for an optional crystal

Amarjeet Singh. January 30, 2012

PCI Host Controller 14a Hardware Reference Release 1.2 (October 16, 2017)

Building and using JasperMIDI

RS-232 to Logic Level Adapter with DB9M Connector and Power LED

Wireless Sensor Networks. FireFly 2.2 Datasheet

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

Doc: page 1 of 6

ISA Host Controller 15a Hardware Reference Release 1.2 (October 16, 2017)

Getting Started with STK200 Dragon

EasyAVR6 Development System

HAND HELD PROGRAMMER QUICK START GUIDE

An open-source hardware+software project. For design files and additional documentation, please visit:

February 28,

BILLING AND CONTROLLING OF INDIVIDUAL LOADS OF A COMPOSITE SYSTEM USING SIMPLE ANDROID APPLICATION

Building your own special-purpose embedded system gadget.

Adafruit USB Power Gauge Mini-Kit

Figure 1-1 ISPAVRU1 application

ARDUINO YÚN MINI Code: A000108

MD9 MULTIDROP INTERFACE INSTRUCTION MANUAL

FTDI Chip. VA800A PROG Datasheet Programmer for VM800P Embedded Video Engine Plus module. 1.1 Features. 1 Introduction

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

Ultratronics v1.0 DATASHEET

CEIBO FE-5111 Development System

Tech Firma Making Technology Accessible

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

MEGATRONICS v3.0 DATASHEET

Transcription:

AVR Prog-S Programmer for AVR microcontrollers User Manual Ω - Omega MCU Systems Copyright 2011

Contents Introduction...2 AVR Prog-S main features...2 Usage...3 1. Connecting to the Host Computer...3 2. Connecting to the MCU board...3 3. Attaching the power (optional)...3 Power selection...4 In Circuit Serial Programming/In System Programming (ICSP/ISP)...5 Compatibility and Use...5 Adding the AVR Prog-S to the Arduino IDE (0022)...6 Specifications...7 Power Requirements...7 Communications requirements...7 Supply Capability...7 Physical...8 Ω - 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 AVR Prog-S main features 1.6mm FR4 fiberglass board with 1oz copper and HAL tinning for long life Built-in 100 ma, regulated 5V/3V power supply reduces workbench clutter, improves operational reliability and reduces setup time. 6 pin and 10 pin ICSP headers Standard 5.5mm x 2.1mm coaxial DC power socket. Industry standard RS232 interface for use with serial cable. Works with avrdude 5.4 and PonyProg 2.07a software as well as others Can program dozens of AVR chips including: o ATMega8, ATMega48, ATMega88, ATMega168, ATMega328 Connects directly to Arduino and other AVR development boards Can be used to program Arduino bootloaders Ω - 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 of 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 options. Any filtered DC source of between 7.5V and 23V can be used. Ω - 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 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 the target device you will need to set the power 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. Ω - Omega MCU Systems Page 4 Copyright 2012

In Circuit Serial Programming/In System Programming (ICSP/ISP) ICSP, or ISP (In System programming) is a method by which an MCU can be directly programmed while still in a circuit. In the AVR 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. 6 pin ICSP Header Pin-out Pin Function 1 MISO 2 Vcc 3 SCK 4 MOSI 5 Reset 6 GND 10 pin ICSP Header Pin-out Pin Function 1 MOSI 2 Vcc 3 Used in conjunction with Pony Prog IS adapter circuits. 4 GND 5 Reset 6 GND 7 SCK 8 GND 9 MISO 10 GND 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: avrdude -Pcom1 -pm328p -cponyser -Ulock:w:0x0F:m -Uhfuse:w:0xDA:m - Ulfuse:w:0xFF:m -Uefuse:w:0x05:m -V - Uflash:w:ATmegaBOOT_168_atmega328.hex:i u Ω - 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 Select Preferences o Make a note the Sketchbook Location folder o Click Cancel Close the Arduino IDE Right click My Computer in Windows o Select Explore o Navigate to the Sketchbook Location folder o See if there is a folder named hardware in the folder view If not, create it o Navigate to the hardware folder o Create a new folder named OMS AVR Prog-S o Navigate to the OMS AVR Prog-S folder o Create a new text document named programmers.txt o Open boards.txt and copy or type in the text below o Save programmers.txt o Exit windows Explorer Start the Arduino IDE Go to the Tools menu o Select Burn Bootloader o 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. Ω - Omega MCU Systems Page 6 Copyright 2012

Specifications Power Requirements Supply Voltage: 7.5V 23V DC Supply Current: Dependant on the MCU being powered 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 Interface Type: RS232 serial Connection: Standard pin-out 9 pin DBF DB9F pin-out and function from the AVR Prog-S perspective: 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: 5V (4.8V 5.2V) 3V (2.9V 3.2V) Maximum current: 100 ma Ω - Omega MCU Systems Page 7 Copyright 2012

Physical Length: 52mm Width: 52.5mm Height: 14.5mm Weight: 22g Operating Temp. 0 o C 125 o C OMS PO Box 74 Bracebridge, ON Canada P1L 1T5 Ω - Omega MCU Systems Page 8 Copyright 2012