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

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

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

Atmel Microprocessor Programming With AVRISPmkii

Arduino Dock 2. The Hardware

ARDUINO MICRO WITHOUT HEADERS Code: A000093

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

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

keyestudio Keyestudio MEGA 2560 R3 Board

ARDUINO MEGA 2560 REV3 Code: A000067

Breeze Board. Type A. User Manual.

ARDUINO MINI 05 Code: A000087

Arduino ADK Rev.3 Board A000069

Sanguino TSB. Introduction: Features:

ARDUINO MEGA ADK REV3 Code: A000069

Figure 1-1 ISPAVRU1 application

IDUINO for maker s life. User Manual. For IDUINO development Board.

Alessandra de Vitis. Arduino

ET-BASE AVR (ATmega8535)

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

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

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

Stand-alone programming AVRs using CircuitPython

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

ARDUINO UNO REV3 Code: A000066

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

Breeze Board. Type B. User Manual.

Atmel AVR datasheet. Matrix Multimedia Atmel AVR Board EB Contents

AVRUSBPRG1 USB AVR IN SYSTEM PROGRAMMER

ARDUINO YÚN MINI Code: A000108

ET-AVRProg mini. Technical Specifications of ET-AVRProg mini

U6DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 18. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

Building your own special-purpose embedded system gadget.

Goal: We want to build an autonomous vehicle (robot)

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026)

ARDUINO LEONARDO WITH HEADERS Code: A000057

Educato. Assembly Instructions

Arduino Digispark. Ausgabe Copyright by Joy-IT 1

AVR-P20 development board Users Manual

Atmega Fuse Repair Programmer Schematic

U4DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 19. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

AC-PG-USBASP USBASP AVR Programmer

ARDUINO LEONARDO ETH Code: A000022

Lab 2.2 Ohm s Law and Introduction to Arduinos

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

AN-103 Preparing ZBasic Generic Target Devices

Module 003: Introduction to the Arduino/RedBoard

U2DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 37. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

AVR-P development board Users Manual

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

Web Site: Forums: forums.parallax.com Sales: Technical:

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

Getting Started with STK200 Dragon

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

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

Building and using JasperMIDI

How to Use an Arduino

Introduction to Arduino. Wilson Wingston Sharon

SimPLC. User Manual.

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

How to use the Zduino LEE Module with the Trainer Board

ARDUINO BOARD LINE UP

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

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

STK User Guide

ARDUINO INDUSTRIAL 1 01 Code: A000126

M32 Development Board

MINITRONICS v1.0 DATASHEET

ARDUINO YÚN Code: A000008

EasyAVR6 Development System

HAND HELD PROGRAMMER QUICK START GUIDE

WICE-SPI Hardware Operation Manual

DBAT90USB162 Atmel. DBAT90USB162 Enhanced Development Board User s Manual

Thank you for purchasing the RGB Multi-MCU base and driver board from SuperTech-IT and TheLEDCube.com

AC-PG-USBASP USBASP AVR Programmer

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

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

ATMega128 Rapid Robot Controller Board [RKI-1148]

PB-MC-AVR28 28 Pin AVR Full Size Development Board

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

AVR Standalone ISP Chip Copier Instructions

More than Compatibility

Arduino Diecimila Pinouts 697B B8D-A50A-61944C26074F

HAND HELD PROGRAMMER QUICK START GUIDE

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

Bill of Materials: Programming Interface for AVR PART NO

Table of Contents TABLE OF CONTENTS...1

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

USER MANUAL ARDUINO I/O EXPANSION SHIELD

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

Farklı Arduino Boardlar

GIE 8051 Mini Kit. User Manual

ARDUINO M0 PRO Code: A000111

ARDF Transmitter Controller Firmware Description Manual

RedBoard Hookup Guide

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

AVR 40 Pin Rapid Robot controller board

EvB 4.3 v4 User s Guide

USER GUIDE. ATmega168 Xplained Mini User Guide. Introduction

EARTH PEOPLE TECHNOLOGY. VISIPORT 2 USB To Serial Adapter User Manual

Transcription:

Omega MP Multi-Programming Shield for Atmel Microcontrollers User Manual Ω - Omega MCU Systems Copyright 2012

Contents Introduction...2 Omega MP main features:...2 Getting Started...3 Assumptions...3 1. Setting up The Host Arduino...3 2. Connecting the Omega MP Shield...4 Usage...5 Using the on-board sockets - Inserting the MCU...5 Configuration for On-board MCUs...5 Using In Circuit Serial Programming (ICSP/ISP)...6 6-pin Header 10-pin Header...6 Configuration for ICSP...6 Alternate Connectivity...7 To initiate programming...8 Using With Other Programming Software...8 On board status, control and configuration...9 Specifications...10 Power Requirements...10 Supported Devices...10 Physical...10 Ω - Omega MCU Systems Page 1 Copyright 2012

Introduction The Omega MCU Systems Omega MP shield is designed to work in conjunction with an Arduino UNO, Duemilanove or 100% compatible MCU development board and the ArdunioISP sketch to emulate an AVRISP provide robust and reliable AVR programming capabilities. It offers direct on-board means to program a variety of popular 28, 20 and 8 pin MCUs In addition it has both 6-pin and 10-pin ICSP headers to enable it to be used with almost any AVR chip that offers an ICSP programming option whether in circuit (circuit must allow for this) or on a solderless breadboard. Omega MP main features: Tough 1.6mm FR4 PCB Ability to burn Arduino bootloaders Program without a bootloader for increased program space Program almost any AVR MCU that uses ICSP Dual on-board ZIF sockets directly support: o ATmega328, ATmega168, ATmega88, ATmega48, ATmega8 o ATtiny4313, ATtiny2313 o ATtiny85, ATtiny45, ATtiny25, ATtiny13 6-pin and 10-pin ICSP headers provided to allow programming in circuit and on solderless breadboards Jumper configurable external crystal oscillator 16MHz crystal Jumper configurable reset disable Jumper configurable target device supply voltage for ICSP/ISP LED status for Power, Heartbeat, Error and Activity Compatible with both the ArduinoIDE and with avrdude Ω - Omega MCU Systems Page 2 Copyright 2012

Getting Started Assumptions This document assumes the following. The user is familiar with the basic concepts of running and programming an Arduino or compatible board and the Arduino IDE. The use of Arduino IDE version 1.0 or later The user can update Arduino cores and the file boards.txt and, if desired, has chosen and configured one of the many ATtiny cores that are available. 1. Setting up The Host Arduino a) Connect your Arduino UNO, Duemilanove or 100% compatible board to your computer as you normally do to program it with a sketch. Make sure there is nothing else attached to your Arduino. b) Start the Arduino IDE. If the IDE not already set to program your board, set it up appropriately. c) From the Files > Examples menu Select ArduinoISP d) Upload the ArduinoISP sketch to your board. Ω - Omega MCU Systems Page 3 Copyright 2012

e) Remove the board from your computer and from power after the sketch had been uploaded. 2. Connecting the Omega MP Shield The Omega MP is equipped with a standard shield base header set. It is compatible with both the older Arduino shield base and the newer R3 shield base. The following pictures show how to align the Omega MP shield correctly on each type of shield base. Uno Duemilanove Once properly aligned, gently push the shield into the base until it is seated fully and reconnect to the USB and power to the host Arduino (see below). The PWR LED should light and the ACTIVITY, ERROR and HRTBT LEDs should flash in order, then the HRTBT LED should begin to pulse. At this point you are ready to begin downloading programs (sketches) or bootloaders to your MCU. Ω - Omega MCU Systems Page 4 Copyright 2012

Usage Using the on-board sockets - Inserting the MCU In order to reduce wear and tear on your microcontroller chips and increase usability and accessibility, the Omega MP is equipped with a zero insertion force (ZIF) sockets. To place an MCU into a socket make sure the chip into the socket as shown with its pin-1 adjacent to the lever. Steady the board and lower the ZIF socket lever to just past horizontal into the locked position. This will clamp the microcontroller into place. Removal of the chip is achieved by returning the lever to the vertical position. Configuration for On-board MCUs MCU Socket Internal Oscillator External Crystal ATmega8 ATmega48 ATmega88 ATmega168 ATmega328 ATtiny2313 ATtiny4313 ATtiny13 ATtiny25 ATtiny45 ATtiny85 28-pin 20-pin 20-pin J1, J2 OFF J3 GND Tvcc Don t Care RSD ON (usually) J1, J2 OFF J3 OFF Tvcc Don t Care RSD ON (usually) J1, J2 OFF J3 GND Tvcc Don t Care RSD ON (usually) J1, J2 ON J3 GND Tvcc Don t Care RSD ON (usually) J1, J2 ON J3 OSC2 Tvcc Don t Care RSD ON (usually) Not Supported (too few I/O pins if needed, use solderless breadboard method) Keep in mind that only one device can be programmed by the Omega MP shield at a time. This means you cannot program with an MCU in each socket, and you cannot program with an MCU in a socket while you are using one of the ICSP headers, and only one ICP header can be used at a time. Also, 8-pin devices that are supported by the on-board sockets are placed in the 20- pin socket with pin-1 of the MCU in pin-1 of the socket (adjacent to the lever) as shown. Ω - Omega MCU Systems Page 5 Copyright 2012

Using In Circuit Serial Programming (ICSP/ISP) ICSP, or ISP (In System Programming) is a method by which an MCU (an AVR in this case) can be directly programmed while still in a circuit. In the AVR world, the programmer is known as the master and the target 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 from the master, to ready the MCU for data transfer, Tvcc by which the master can power the target MCU, and a ground and you have all the signals of a standard AVR ISP interface. The Omega MP shield provides both standard pin-out 6-pin and 10-pin ICSP headers. These can be used to program an MCU directly. Since the ICSP protocol is built into most Atmega chips it is not dependant on using a bootloader and does not require the serial interface. 6-pin Header Pin Function 1 MISO 2 Tvcc 3 SCK 4 MOSI 5 Reset 6 GND 10-pin Header Pin Function 1 MOSI 2 Tvcc 3 Not Connected 4 GND 5 Reset 6 GND 7 SCK 8 GND 9 MISO 10 GND When connecting the cable, ensure pin-1 on the Omega MP shield ICSP header goes to pin-1 on the target ICSP header. Configuration for ICSP Option Tvcc RSD J1 J2 J3 Power to target ON ON Don t Care Don t Care Don t Care No power to target OFF ON Don t Care Don t Care Don t Care Ω - Omega MCU Systems Page 6 Copyright 2012

Alternate Connectivity Should there be a need to program a device that is not supported in the sockets of the Omega MP shield and that does not have an ICSP header, jumpers and a solderless breadboard can often be used. The picture below shows the Omega MP shield being used to program a small Omega Mini-328 (Arduino Mini compatible device) using this method. The key is to correctly connect the ICSP signals, ground and Tvcc, as required. Remember, if you are using a breadboard circuit to build your prototype project keep in mind that the ground of the Omega MP shield will always need to be properly connected to the off-board circuit s ground when programming to ensure a good voltage reference and a suitable return path for the data signals. This is regardless to whether Tvcc is being supplied to the target or not. Failure to provide a proper ground may result in some very strange and difficult to diagnose behavior of the combined circuit. Also, it is worthy to note that, if the ICSP signals of the MCU are being used by the prototype for other than ICSP purposes, I/O circuitry for instance, this additional circuitry may interfere with the programming signals and cause the programming to fail. In these cases some method will have to be arranged to remove any attached circuitry temporarily to enable programming. Ω - Omega MCU Systems Page 7 Copyright 2012

To initiate programming In this section the host Arduino is the Arduino or 100% compatible that has the Omega MP shield and is running ArduinoISP. The target is the board, device or chip to be programmed. If using the Arduino IDE to burn a bootloader a. Set board under Tools > Board to whatever the board or target is, or a board whose bootloader you want to use and that is compatible with the target device. b. Set programmer under Tools > Programmer to Arduino as ISP c. To burn the bootloader select Tools > Burn Bootloader If using the Arduino IDE to program code a. Set board under Tools > Board to whatever the board or target is. b. Set programmer under Tools > Programmer to Arduino as ISP c. Load the sketch you wish to program into the MCU d. To upload the code select File > Upload Using Programmer or press Ctrl+Shift+U If using avrdude to burn a hex file a. Refer to the avrdude documentation b. You must specify the virtual com port that the host Arduino running ArduinoISP is using c. You must specify avrisp as the programmer d. You must set the baud rate to 19200 e. The following command line will burn a hex file containing the Duemilanove bootloader onto a Atmega328P with the host Arduino on com4 running ArduinoISP avrdude -P com4 -b 19200 -p m328p -c avrisp -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 Using With Other Programming Software Generally, any programming software that will work with the avrisp programmer at 19200 baud will work with an Arduino with an omega MP shield running the ArduinoISP sketch. Ω - Omega MCU Systems Page 8 Copyright 2012

On board status, control and configuration The green PWR LED indicates that power is applied when lit. The blue ACIVITY LED indicates that programming is underway The red ERROR LED indicates that an error has occurred during programming. Check the Arduino IDE or avrdude output for error messages. The yellow HRTBT LED indicates that the ArduinoISP sketch is active and running. If this stops, reset the host Arduino and try again, or re-load the ArduinoISP sketch. J1 and J2 connect the external crystal. If they are removed, the crystal is no longer connected to either socket. J3 determines what is connected to pin- of the 20-pin ZIF socket. Use the OSC2 position if you wish to use an external crystal with an ATtiny2313 or ATtiny4313. Use the GND position for the supported 8-pin MCUs. When in place, 5V is supplied to the Tvcc pin of the ICSP headers. Remove this jumper if the target device is powered from another source. When in place, automatic reset of the host Arduino is disabled. This is the default and most common configuration. Remove this jumper if the host requires the reset signal. Ω - Omega MCU Systems Page 9 Copyright 2012

Specifications Power Requirements Supply Voltage: 5V DC Supply Current: Typically between 3mA and 12mA no MCU and not connected to an CISP target Supported Devices Devices supported by the hardware: Via on-board sockets o ATmega8, ATmega48, ATmega88, ATmega168, ATmega328 o ATtiny2313, ATtiny4313 o ATtiny13, ATtiny25, ATtiny45, ATtiny85 Via ICSP o Any Atmel AVR device that supports low voltage ICSP programming Programming software support for devices is dependant on the software. Please check the documentation for the software you intend to use. Physical Length: 62mm Width: 52mm Height: 21mm Weight: 39g Operating Temp. 0 o C 85 o C Note: Arduino is a trademark of the Arduino project team. OMS PO Box 74 Bracebridge, ON, P1L 1T5 Canada Ω - Omega MCU Systems Page 10 Copyright 2012