AVRprog. programmer by MikroElektronika



Similar documents
ET-BASE AVR ATmega64/128

AC-PG-USBASP USBASP AVR Programmer

STK User Guide

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

Android Controlled Based Interface

EvB 5.1 v5 User s Guide

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

The Programming Interface

Part 1. MAX BIT DAC with an Arduino Board. MIDI to Voltage Converter Part1

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

DSO138 oscilloscope program upgrade method

TNM Programmer User Manual. For Windows 7 / Vista / XP. TNM Electronics Ltd.

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

Programming Device Manual Booklet AVR Prog USB v2

FlowKit in-circuit debug system

APPLICATION NOTE. AVR042: AVR Hardware Design Considerations. AVR 8-bit Microcontrollers. Features. Description

PolyBot Board. User's Guide V1.11 9/20/08

Lab Experiment 1: The LPC 2148 Education Board

A DIY Hardware Packet Sniffer

AVR Prog USB v3 MK II Eco Manual

Switch board datasheet EB

Table of Contents. Section 1 Introduction Section 2 Getting Started Section 3 Hardware Description

Mobius 3 Circuit Board Programming Instructions

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

SPI and JTAG In-System Programming (ISP) guidelines for the Atmel ATmega AVR FLASH Microcontroller Family

Atmel AVR ATxmega384C3 microcontroller OLED display with pixels resolution Analog sensors. Ambient light sensor Temperature sensor

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

WICE-SPI Hardware Operation Manual

AVR Prog User Guide. Section 3

Getting Started with the Student Learning Kit Featuring the Freescale HCS12 Microcontroller Application Module

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Introducing AVR Dragon

Fubarino TM SD Reference Manual

ECIO40P ECIO28P ECRM40. Page 1. USB programmable microcontrollers. 0.6 DIP footprint. Supplied with a free version of Flowcode. E-blocks compatible

Introduction. Getting familiar with chipkit Pi

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

USER GUIDE. ZigBit USB Stick User Guide. Introduction

Opgui and OpenProg user s guide. v.1.2

AVR042: AVR Hardware Design Considerations. Introduction. Features. 8-bit AVR Microcontroller APPLICATION NOTE

SM1231 USER GUIDE SM1231 RF MODULE USER GUIDE

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

EasyPIC4 User s Manual

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!

8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

Two mechanical buttons Two user LEDs Four expansion headers. Board controller with USB interface. One power LED and one status LED

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.

The care and feeding of Pythons at the Redmond Zoo. (Using Micro Python and pyboard with Windows)

Programming the On-Chip Flash on a phycore-xc161 phycore-xc167

CAN bus board. EB018

AVR-ISP-MK2 programmer USER S MANUAL Revision I, October 2013 Designed by OLIMEX Ltd, 2012

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

Android, Bluetooth and MIAC

Lab 3: PCB design with EAGLE

MaxQ Development Tools Guide

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

MOD-ENC28J60 development board Users Manual

The Atmel-ICE Debugger

Computer Automation Techniques. Arthur Carroll

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Atmel s Self-Programming Flash Microcontrollers

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

AT89C5131A Starter Kit... Software User Guide

Steps for running C-program

Support:

Figure 1. 8-Bit USB Debug Adapter

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

USER GUIDE EDBG. Description

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

RS232 Board datasheet

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.


Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

1-10 The USB PIC K150 microcontroller programmer Hardware version V2.0 File version V2.0 Product Image

FG , 08501K, 08502K, 08503, 08503K, 08504K

APPLICATION NOTE. Atmel AVR911: AVR Open Source Programmer. 8-bit Atmel Microcontrollers. Features. Introduction

How To Use Microchip.Com

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

The Atmel-ICE Debugger

Health Monitoring Demo for ice40 Ultra Wearable Development Platform User Guide. UG103 Version 1.0, September 2015

IMPORTANT! CPD 8424R1

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

AN-812 APPLICATION NOTE

DRV8312-C2-KIT How to Run Guide

Atmel AVR1923: XMEGA-A3BU Xplained Hardware User Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

2.0 Command and Data Handling Subsystem

Microcontrollers in Practice

JTAG-HS2 Programming Cable for Xilinx FPGAs. Overview. Revised January 22, 2015 This manual applies to the HTAG-HS2 rev. A

Bluetooth HC-06 with serial port module Easy guide

Real Time Clock USB Evaluation Board V3.0

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

Doc: page 1 of 17

Transcription:

USB In System ABOUT PROGRAMMER With complementary software, programmer represents a great tool for all those working with Atmel s AVR. The microcontroller connects to the programmer via 6 lines, two of which are +5V and and others are MOSI, MISO, SCK and MCLR. Unlike programmers whose operation is based on bootloads (and which need to give away part of their memory to a bootload program) programs the microcontroller externally so that the entire memory is available for the programmer. MOSI, MISO and SCK are standard pins for SPI communication. MOSI and MISO are also known as SDO and SDI, respectively. The position of these pins vary, depending on microcontroller s type. To use the benifits of In-System Programming, target board must have IDC10 connector with following pinout: MOSI SCK SPI communication lines on the target board must be connected directly to the connector. MISO 1

USB In System If the target board have its own power supply it can be used for powering the programmer. In that case you must open programmer and take off the jumper for power selection. When the jumper is on, target board is powered through programmer s USB connector so any other power supply on the target board must be disconnected. This picture shows the position of jumper when the target board and programmer are powered trough USB connector. This picture shows the position of jumper when programmer is powered by the target board (target board have its own power supply). 2

USB In System SOFTWARE Step 1 Copy the file.exe from CD to your PC, and run it. Select the appropriate microcontroller, by clicking the option Device. will automatically make adjustments for working with the specified microcontroller. You must select microcontroller s working frequency, by clicking the option Device frequency. Step 2 Click the option LOAD which opens up the window similar to picture on the right. By double-clicking the file, appropriate HEX file will be loaded into programmer s buffer. will read all the settings from the HEX file and set up the control bits. Step 3 Programming the microcontroller starts by clicking the option Write in the right corner of the working window. 3

USB In System KEYBOARD SHORTCUTS AND COMMAND LINE PARAMETERS. Keyboard Shortcuts Alt-E Alt-W Alt-V Alt-R Alt-D Ctrl-S Ctrl-O Ctrl-R Erase Write Verify Read Change MCU Save Open (Load) Reload Command Line Alternatively, you can use the programmer from the command line. It will allow you to use from some other software, compiler etc. Here are the command line parameters are: -p AVR name (for example AT90S8515, AT90S8535...) -f Filename (use " as delimiters) -w Write to AVR -v Verify -r Read from AVR -e Erase AVR Examples 1. avrprog.exe -w -pat90s8535 -v -f"c:\somefile.hex" This will program the AVR using C:\somefile.hex and it will verify the write 2. avrprog.exe -r -pat90s8535 This will read the AVR contents into on screen buffer 3. avrprog.exe -e -pat90s8535 This will erase the AVR 4

USB In System EXTERNAL PROGRAMMER CONNECTION SCHEMATICS XTAL2 XTAL1 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 ICP ALE OC1B PC7 PC6 (MOSI) (SCK) (MISO) One of the possibilities for connecting to a microcontroller is by using an IDC10 connector as shown on the picture on the left. All you have to do is to put one 2x5 connector on the target board connected as shown on the sheme. Once you plug in the connector you will be able to program AVR In System. 40 PIN 5

USB In System XTAL2 XTAL1 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 ICP ALE OC1B PC7 PC6 (MOSI) (SCK) (MISO) Connection schematic for 40 AT90S8515, ATmega161, ATmega162, ATmega8515... 40 PIN XTAL2 XTAL1 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 AREF A A PC7 PC6 (MOSI) (SCK) (MISO) Connection schematic for 40 AT90S8535, ATmega16, ATmega163, ATmega32, ATmega323, ATmega8535... 40 PIN 6

USB In System X1 X2 A AREF A (MOSI) (SCK) (MISO) Connection schematic for 28 AT90S4433, ATmega8, ATmega48, ATmega88, ATmega168... 28 PIN X2 X1 20 PIN (MOSI) (SCK) (MISO) Connection schematic for 20 AT90S1200, AT90S2313, ATTINY2313... AVR 8 PIN (MOSI) (SCK) (MISO) Connection schematic for 8 AT90S2323, AT90S2343, ATTINY12, ATTINY13, ATTINY15, ATTINY25, ATTINY45, ATTINY85... 7

BTN USB In System 10K XTAL2 XTAL1 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 ICP ALE OC1B PC7 PC6 1K 1K 1K (MOSI) (SCK) (MISO) LED s The picture on the left shows how to connect three LED s on, and pins. On the same picture pin was connected to the standard reset circuit. 40 PIN If you are experiencing problems with any of our products or you just want additional information, please let us know. We are committed to meeting your every need. Technical Support : support@mikroe.com If you have any other question, comment or a business proposal, please contact us: E-mail: office@mikroe.com WWW: www.mikroe.com USB COMPILERS PIC 8051 USB programmer AVR Making it easy DEV. TOOLS 68HC08 2 BOOKS PSoC ARM 8