background image

Introduction

AVR

®

 ATICE10 User Guide

1-3

1.5.4

Host Interface

RS-232C @ 19200 bps, N81

9-pin female connector

           

Summary of Contents for AVR ATICE10

Page 1: ...ATICE10 User Guide ...

Page 2: ......

Page 3: ... 1 General Hardware Description 2 1 2 2 Connecting ICE10 to PC 2 3 2 3 Connecting ICE10 to Target Board 2 3 2 4 Jumper Settings 2 3 2 5 Connecting Power 2 3 2 6 Summary 2 3 Section 3 Using the ICE10 3 1 3 1 Installing AVR Studio 3 1 3 2 Emulating with ICE10 3 1 3 2 1 Initial Setup 3 1 3 2 2 Starting AVR Studio 3 1 3 3 ICE10 Emulator Options 3 1 3 3 1 Device 3 2 3 3 2 Clock Source 3 2 3 3 3 Interna...

Page 4: ...able 4 5 Section 5 Hardware Description 5 1 5 1 Front Panel 5 1 5 1 1 Status LEDs 5 1 5 1 2 Logic Analyzer Connectors 5 1 5 1 3 AUX Connector 5 1 5 1 4 POD Connector 5 1 5 2 Back Panel 5 1 5 2 1 Serial Number 5 1 5 2 2 Serial Port RS232 C 5 1 5 2 3 Parallel Port 5 1 5 2 4 AVR Prog Connector 5 1 5 2 5 AVR Reset Button 5 2 5 2 6 ICE Reset Button 5 2 5 2 7 ON OFF Switch 5 2 5 2 8 12V DC Connector 5 2...

Page 5: ...Table of Contents AVR ATICE10 User Guide iii Section 7 Troubleshooting Guide 7 1 Section 8 Technical Specifications 8 1 ...

Page 6: ...Table of Contents iv AVR ATICE10 User Guide ...

Page 7: ...on on how to use the ICE10 and a detailed reference for advanced users Throughout the manual many references to the AVR microcontrollers are made in short form i e AT90S2313 is referred to as S2313 and so on 1 2 General Description The Atmel AVR ICE10 is a real time in circuit emulator for a wide range of AVR devices The ICE10 is controlled by AVR Studio version 3 5 or later 1 3 ICE10 Features Dev...

Page 8: ...S 232 Cable Universal Voltage Power Supply 100 240V 50 60 Hz American Power Cable European Power Cable Atmel CD ROM Containing Software ATICE10 User Guide Warning Note 1 5 System Requirements For the ICE10 to operate correctly and trouble free the following software and hardware requirements should be met 1 5 1 Hardware Requirements Pentium class personal computer with 32 MB RAM 20 MB free hard di...

Page 9: ...Introduction AVR ATICE10 User Guide 1 3 1 5 4 Host Interface RS 232C 19200 bps N81 9 pin female connector ...

Page 10: ...Introduction 1 4 AVR ATICE10 User Guide ...

Page 11: ...ck diagram of the ICE10 connected to a target board Once the emulator is connected and configured correctly it will behave like the emu lated device and allows easy prototyping and debugging of applications in real time Figure 2 1 ICE10 Connected to Target Board Figure 2 2 ICE10 Emulator Unit The ICE10 emulator unit Figure 2 2 contains the necessary logic to emulate all digital functions of the em...

Page 12: ... required Figure 2 4 AT90ADCPOD Figure 2 4 shows the AT90ADCPOD which should be used for a wide range of AVR devices This Pod must be configured manually with jumpers for correctly operation Configuration of the AT90ADCPOD is described in Section 4 and is also available as an interactive configuration walkthrough in the on line AVR Studio help system There are different Probe cables supplied with ...

Page 13: ...e ICE10 system has an internal power regulator that delivers 15W at 5V The ICE10 itself uses about 10W The power supply delivered with the ICE10 is dimensioned to meet the requirements of the emulator If another power supply is used it should supply a voltage between 9 and 15 VDC and a minimum of 20W The battery eliminator con nector on the ICE10 system is a standard type with 2 1 mm center tap Gr...

Page 14: ... Note The target power should under no circumstance be present when the probe is connected and the emulator is switched off Pay attention to connect with the correct orientation If it is not connected correctly the ICE10 system may be damaged Turn on the power on ICE10 Connect power to the target application Start AVR Studio ...

Page 15: ...ting with ICE10 It is assumed that the reader has general knowledge of how to use the AVR Studio soft ware This section will focus on features and considerations applicable to the ATICE10 emulator 3 2 1 Initial Setup Before emulating with the ICE10 the emulator pod and probe must be connected and configured correctly This is described in Section 2 2 to Section 2 6 and Section 4 3 2 2 Starting AVR ...

Page 16: ...portant to select the proper range in the External Range menu to make the clock system work properly Note Make sure the jumper settings on the AT90ADCPOD are set according to the options selected in the Emulator Options menu 3 4 Emulator Configuration System The ICE10 has room to store 6 different devices in the Emulator unit Flash memory Using the AVR Emulator Configuration system found in AVR St...

Page 17: ...t any program line This makes it possible to skip tracing delay loops and other subroutines which would otherwise fill the trace mem ory with unnecessary data The trace buffer is inactive by default To trace an entire program a Trace on marker should be placed on the first line of the program For in depth description of Traces and how to understand the contents of the trace buffer see the on line ...

Page 18: ... controls which of the input pins will be stored in the trace memory Input pins that are not enabled in this register will be stored as zero in the trace memory To be traced input signals must be valid and stable at the rising edge of the AVR clock and for 50 ns thereafter It is also necessary that the trace buffer is enabled The trigger input and the external trace are two independent functions a...

Page 19: ...Table 3 2 Pinout for Logic Analyzer 1 Signal Logic Analyzer 1 Signal AVRCLK Pin 1 Pin 2 Low Low Pin 3 Pin 4 A15 A14 Pin 5 Pin 6 A13 A12 Pin 7 Pin 8 A11 A10 Pin 9 Pin 10 A9 A8 Pin 11 Pin 12 A7 A6 Pin 13 Pin 14 A5 A4 Pin 15 Pin 16 A3 A2 Pin 17 Pin 18 A1 A0 Pin 19 Pin 20 GND Table 3 3 Pinout for Logic Analyzer 2 Signal Logic Analyzer 2 Signal AVRCLK Pin 1 Pin 2 Low Low Pin 3 Pin 4 D15 D14 Pin 5 Pin 6...

Page 20: ...Using the ICE10 3 6 AVR ATICE10 User Guide ...

Page 21: ...p and use the emulator pod card AT90ADCPOD The setup procedure is also available as a walk trough guide in AVR Studio On line Help The AT90ADCPOD supports the following AVR devices AT90S1200 AT90S2313 AT90S2323 AT90S2333 AT90S2343 AT90S4414 AT90S4433 AT90S4434 AT90S8515 AT90S8535 ATtiny11 ATtiny12 ATtiny22 ATtiny28 ...

Page 22: ... the user application using the 8 pin 20 pin 28 pin or 40 pin probe Note It is important that the probe cable is correctly connected to the user application Only one probe cable should be connected The colored wire of the probe cable indicates pin 1 of the AVR device Use the appropriate probe cable and connect the application to the connector labeled with the correct part number Please note that t...

Page 23: ... another power supply is used it should supply a voltage between 9 and 15 VDC minimum 20W The battery eliminator connector on the ICE10 system is a standard type with 2 1 mm center tap Center tap is negative 4 3 1 The Target Applications Power Requirements If the target application should be powered from the ICE10 the jumper named EXT POWER must be mounted and the jumpers labeled PW2 PW1 and PW0 r...

Page 24: ...d card the XTAL pins are connected to the ICE10 by using the 2 wire cable Connect the cable from J103 to the 2 pin header nearest the used probe connector Table 4 4 shows where to connect the 2 wire for various devices Pin 1 on each connector is labeled with Connector J101 must be left open if the clock source from the user application is a crys tal If the clock source from the user application is...

Page 25: ...or It is impos sible to emulate the Timer oscillator with a crystal in the target application due to the long leads from the target application to the oscillator circuit If an external oscillator out put is used as the clock source of the Timer oscillator mount jumper J104 otherwise leave it open 4 5 The Analog Comparator The jumpers labeled S0 and S1 must be set correctly to make the analog compa...

Page 26: ...ire cable to correct probe if external crystal or clock source is used to clock the ICE10 Not connected J104 Jumper mounted if an external clock source is used for the Timer Oscillator OFF J105 S1 Analog comparator setting See Table 4 5 ON J106 S0 Analog comparator setting See Table 4 5 OFF J109 RST Function select for RESET pin OFF position if external reset is disabled Only valid for tinyAVR dev...

Page 27: ...port for Trigger signals Pinout and description on how to use this connector can be found in Section 3 7 5 1 4 POD Connector Both ATtiny15POD and the AT90ADCPOD should be connected to this connector Table 2 1 on page 3 shows which pod to use 5 2 Back Panel Figure 5 2 ICE Unit Back Panel 5 2 1 Serial Number Every ICE10 unit has a unique serial number If technical support is needed this num ber shou...

Page 28: ...er power supply is used it should supply a voltage between 9 and 15VDC and a minimum of 20W The battery eliminator connec tor on the ICE10 system is 1 standard type with 2 1 mm center tap Ground should be connected to the center tap Note The target application power must not be present when the emulator is turned off as this may cause damage to the pod 5 4 Reset System The ICE10 has two independen...

Page 29: ...ons that are not available in tiny AVR devices will work in the ICE10 Use the assembler device directive when assembling to generate warnings when illegal instructions are used 6 3 ADC The ADC featured in ATtiny15 is implemented on the ATtiny15POD using an AD con verter chip several analog multiplexers an operational amplifier to provide 20x gain and an instrumentation amplifier to provide differe...

Page 30: ...power be present while the emulator is switched off IMPORTANT In a critical application using ADC for instance a battery charger charg ing LiIon batteries the emulator should not be used as a replacement for the actual device during testing due to inaccuracy and noise in the ADC 6 4 Noise Canceler Mode The ADC noise canceler mode featured is implemented as idle mode in ICE10 not power down mode as...

Page 31: ...onnect the pod from the emulator and restart the emulator After performing an upgrade of the ICE from AVR Studio the green LED is not lit when the power is turned on Wait 10 seconds Restart the emulator Perform the upgrade again The application is not running in AVR Studio Make sure the target VCC is connected or that the application is powered by the emulator Make sure the target clock is connect...

Page 32: ...Troubleshooting Guide 7 2 AVR ATICE10 User Guide ...

Page 33: ...y Non condensing 10 90 Operating 5 95 Non operating Shock 20 g 11 ms half sine Vibration 5 g Connections Power Connector 5 5 mm OD 2 1 mm ID Center Negative Host Serial Connector RS 232 9 pin D SUB Female Serial Communications Speed 19200 bits s Pod Connectors one 2 x 32 Male Header External Trigger Inputs Outputs Connector 2 x 7 Male Header Logic Analyzer Interface Connectors two 2 x 10 Male Head...

Page 34: ...aximum Single step Speed 10 0 MHz Minimum Breakpoint Speed 32 768 kHz Maximum Breakpoint Speed 10 0 MHz Memory Specification Program Memory 128K bytes Event Memory 128K bytes EEPROM Memory 64K bytes SRAM Memory 64K bytes Register File 32 bytes I O Area 64 bytes Trace Buffer Memory 32K x 12 bytes I O Pins Output Level TTL CMOS VCC 2 7 5 5 VDC Maximum Sink Current 24 mA Maximum Source Current 10 mA ...

Page 35: ...1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL 852 2721 9778 FAX 852 2722 1369 Japan Atmel Japan K K 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 Colorado Springs 1150 E Cheyenne Mtn Blvd Colorado Springs CO 80906 TEL 719 576 3300 FAX 719 540 1759 Atmel Grenoble Avenue de Rochepleine BP 123 38521 S...

Reviews: