Advertisement

Quick Links

ISP
.............................................................................
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AVR ISP and is the answer not in the manual?

Questions and answers

Summary of Contents for Atmel AVR ISP

  • Page 1 ................User Guide...
  • Page 3: Table Of Contents

    Table of Contents Table of Contents Section 1 Introduction ................... 1-1 Features ....................1-1 Device Support ..................1-2 Section 2 Getting Started..................2-1 Unpacking the System ................2-1 System Requirements................2-1 Section 3 Hardware Description ................3-1 General Board Description................3-1 3.1.1 RS-232 Serial Interface ..............3-1 3.1.2 Control Section ...................3-1 3.1.3...
  • Page 4 Table of Contents 4.3.1.4 EEPROM ..................4-3 4.3.2 "Fuses" Settings .................4-3 4.3.3 “Lock Bits” Settings................4-5 4.3.4 “Advanced” Settings ................4-6 4.3.4.1 Signature Bytes................4-6 4.3.4.2 Oscillator Calibration Byte............4-6 4.3.4.3 Reading Oscillator Calibration Byte ..........4-6 4.3.4.4 Writing Oscillator Calibration Byte..........4-6 4.3.5 “Board” Settings..................4-6 4.3.5.1 Oscillator ..................4-7 4.3.5.2 Revision ..................4-7...
  • Page 5: Introduction

    Figure 1-1. AVRISP In-System Programmer ® ® The AVR In-System Programmer (AVRISP) from Atmel is a professional low-cost In- System Programmer covering all AVR 8-bit RISC Microcontrollers. The programmer connects to a PC through a standard RS-232 serial interface and draws the necessary power from the target board eliminating the need for an additional power supply.
  • Page 6: Device Support

    AVR tool products please read the document “avrtools.pdf”. LAtest version of AVR Studio (“avrtools.pdf”) and this user guide can be found in the AVR section of the Atmel web site. Device Support AVRISP supports all AVR 8-bit RISC Microcontrollers with ISP programming option.
  • Page 7: Getting Started

    Section 2 Getting Started Unpacking the The AVRISP contains the following items: AVRISP Programmer System AVRISP User Guide 10-pin ISP Cable (Connected to AVRISP) 6-pin ISP Cable 9-pin RS-232 Cable System The minimum hardware and software requirements are: 486 Processor (Pentium is recommended) Requirements 16 MB of RAM 15 MB of Free Hard Disk Space...
  • Page 8 Getting Started ® In System Programmer User Guide...
  • Page 9: Hardware Description

    Section 3 Hardware Description General Board A block diagram of the AVRISP is shown in Figure 3-1. The AVRISP can be divided in three sections: The RS-232 interface, the Control section and the ISP cable. In this sec- Description tion a brief overview of the different blocks will be given. Figure 3-1.
  • Page 10: Isp Interface Cables

    3.1.3 ISP Interface Cables AVRISP supports both the 6-pin header connector pinout, used by the Atmel AT90ISP cable, and the 10-pin header connector used by the STK200 and STK300 development boards. Figure 3-2 shows the pinouts for the 6-pin and 10-pin ISP connectors.
  • Page 11: Handling The Isp Lines

    AVRISP. The resistors must be set according to this AVR’s maximum sink and source currents and the application load. Refer to the AVR’s datasheet for the maximum sink and source current. Datasheets can be dowloaded form Atmel’s web site, www.atmel.com.
  • Page 12: Reset

    Hardware Description Figure 3-5. Loading on the MISO/MOSI/SCK Lines ISP Header MOSI LOAD MISO 3.4.4 RESET To enter programming mode, AVRISP needs to pull RESET low. It is important that the external pull-up resistor on RESET pin is not so strong that it forces (holds) the pin high. To avoid this problem it is recommended that the RESET pull-up resistor should be no less than 10 kΩ.
  • Page 13: Software Front-End

    AVR emulators, STK500 and the AVRISP In-System Programmer. AVRISP uses the same programming interface as the STK500. To install AVR Studio insert the supplied Atmel CD-ROM Databook in the computer and navigate to “Products → AVR 8-bit RISC → Software”. Right click with the mouse on the “avrstudio3.exe”...
  • Page 14: Using Avrisp And Stk500 Simultaneously

    Software Front-end Figure 4-1. AVR Studio with AVRISP User Interface Note that the same interface is used for both STK500 and AVRISP. Since STK500 includes features that are not supported in the AVRISP, some features are not select- able when using the AVRISP interface. Only supported features are selectable. 4.2.3 Using AVRISP and When AVR Studio is scanning for connected devices, it searches through the COM...
  • Page 15: Device

    Software Front-end Figure 4-2. Program Settings 4.3.1.1 Device Device is chosen by selecting the correct device from the Pull-down menu. This group also includes a button that performs a chip-erase on the selected device, erasing both the FLASH and EEPROM memories. 4.3.1.2 Programming Mode This group selects programming mode.
  • Page 16 Software Front-end current fuse setting to the device. Checking one of these check-boxes indicates that this fuse should be enabled/programmed, which means writing a “zero” to the fuse location in the actual device. Note that the selected fuse setting is not affected by erasing the device with a chip-erase cycle (i.e., pressing “Chip Erase”...
  • Page 17: Lock Bits" Settings

    Software Front-end 4.3.3 “Lock Bits” Settings Similar to the “Fuses” settings, the “Lock Bits” tab shows which lock modes are applica- ble to the selected device. All lock bits are accessible in ISP programming mode. A lock mode may consist of a combination of multiple lock bits. The AVRISP User Interface handles this, and the correct lock bits are programmed automatically for the selected Lock mode.
  • Page 18: Advanced" Settings

    Software Front-end 4.3.4 “Advanced” The Advanced tab is currently divided into two sub groups. Settings Figure 4-5. Advanced Settings 4.3.4.1 Signature Bytes By pressing the “Read Signature” button, the signature bytes are read from the target device. The signature bytes act like an identifier for the part. Please refer to the AVR datasheets for more information about signature bytes.
  • Page 19: Oscillator

    Software Front-end Figure 4-6. Board Settings 4.3.5.1 Oscillator The AVRISP programmer uses a programmable oscillator circuit that offers a wide range of frequencies for the target device. The frequency given here should be lower or equal to the frequency of the target AVR to be programmed.
  • Page 20: Setting Up The System For Auto Programming

    Software Front-end Figure 4-7. Automatic Programming Settings 4.3.6.1 Setting up the Click on the check boxes for the commands the AVRISP User Interface should perform. System for Auto A typical sequence where the device is erased and then programmed is shown in Figure Programming 4-7.

Table of Contents