22
AVR069
8015B-AVR-02/06
Table of Contents
Features............................................................................................... 1
1 Introduction...................................................................................... 1
2 USB Communication ....................................................................... 2
2.1 Packet Format..................................................................................................... 2
2.2 USB Driver........................................................................................................... 2
3 Commands ....................................................................................... 2
3.1 General Commands ............................................................................................ 2
3.1.1 CMD_SIGN_ON........................................................................................................ 2
3.1.2 CMD_SET_PARAMETER......................................................................................... 3
3.1.3 CMD_GET_PARAMETER......................................................................................... 3
3.1.4 CMD_OSCCAL ......................................................................................................... 4
3.1.5 CMD_LOAD_ADDRESS ........................................................................................... 4
3.1.6 CMD_FIRMWARE_UPGRADE ................................................................................. 5
3.1.7 CMD_RESET_PROTECTION................................................................................... 5
3.2 ISP Programming Commands.............................................................................5
3.2.1 CMD_ENTER_PROGMODE_ISP............................................................................. 5
3.2.2 CMD_LEAVE_PROGMODE_ISP.............................................................................. 6
3.2.3 CMD_CHIP_ERASE_ISP.......................................................................................... 7
3.2.4 CMD_PROGRAM_FLASH_ISP ................................................................................ 7
3.2.5 CMD_READ_FLASH_ISP......................................................................................... 9
3.2.6 CMD_PROGRAM_EEPROM_ISP ............................................................................ 9
3.2.7 CMD_READ_EEPROM_ISP..................................................................................... 9
3.2.8 CMD_PROGRAM_FUSE_ISP .................................................................................. 9
3.2.9 CMD_READ_FUSE_ISP......................................................................................... 10
3.2.10 CMD_PROGRAM_LOCK_ISP .............................................................................. 11
3.2.11 CMD_READ_LOCK_ISP....................................................................................... 11
3.2.12 CMD_READ_SIGNATURE_ISP............................................................................ 11
3.2.13 CMD_READ_OSCCAL_ISP.................................................................................. 11
3.2.14 CMD_SPI_MULTI.................................................................................................. 11
3.3 Return Values....................................................................................................12
3.3.1 Success................................................................................................................... 12
3.3.2 Warnings ................................................................................................................. 12
3.3.3 Errors....................................................................................................................... 12
3.4 Parameters........................................................................................................12
3.4.1 PARAM_BUILD_NUMBER_LOW ........................................................................... 13
3.4.2 PARAM_BUILD_NUMBER_HIGH........................................................................... 13
3.4.3 PARAM_HW_VER .................................................................................................. 13
3.4.4 PARAM_SW_MAJOR ............................................................................................. 13
3.4.5 PARAM_SW_MINOR.............................................................................................. 13
3.4.6 PARAM_VTARGET................................................................................................. 13
3.4.7 PARAM_SCK_DURATION...................................................................................... 13
3.4.8 PARAM_RESET_POLARITY.................................................................................. 13
3.4.9 PARAM_STATUS_TGT_CONN.............................................................................. 13
3.4.10 PARAM_DISCHARGEDELAY............................................................................... 14
AVR069
23
8015B-AVR-02/06
4 XML Parameter Values .................................................................. 14
5 Command Sequence Example...................................................... 15
5.1 Connect ............................................................................................................. 15
5.2 Read Signature .................................................................................................16
6 Appendix......................................................................................... 17
6.1 Commands and parameters.............................................................................. 17
6.2 USB Descriptors................................................................................................18
6.3 Setting SCK Frequency..................................................................................... 20
Table of Contents.............................................................................. 22
Disclaimer............................................................................................. 24
Disclaimer
Atmel Corporation
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600
Regional Headquarters
Europe
Atmel Sarl
Route des Arsenaux 41
Case Postale 80
CH-1705 Fribourg
Switzerland
Tel: (41) 26-426-5555
Fax: (41) 26-426-5500
Asia
Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369
Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581
Atmel Operations
Memory
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
La Chantrerie
BP 70602
44306 Nantes Cedex 3, France
Tel: (33) 2-40-18-18-18
Fax: (33) 2-40-18-19-60
ASIC/ASSP/Smart Cards
Zone Industrielle
13106 Rousset Cedex, France
Tel: (33) 4-42-53-60-00
Fax: (33) 4-42-53-60-01
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Scottish Enterprise Technology Park
Maxwell Building
East Kilbride G75 0QR, Scotland
Tel: (44) 1355-803-000
Fax: (44) 1355-242-743
RF/Automotive
Theresienstrasse 2
Postfach 3535
74025 Heilbronn, Germany
Tel: (49) 71-31-67-0
Fax: (49) 71-31-67-2340
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Datacom
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
Tel: (33) 4-76-58-30-00
Fax: (33) 4-76-58-34-80
Literature Requests
www.atmel.com/literature
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND
CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED
OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS
INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the
contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any
commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in,
automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.
© Atmel Corporation 2006. All rights reserved. Atmel®, logo and combinations thereof, Everywhere You Are®, AVR®, AVR Studio® and
others, are the registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be
trademarks of others.
8015B-AVR-02/06

ATAVRISP2

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
Programmers - Processor Based AVR INSystem mkII Programming Kit
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet