Section 6
Special Considerations
There are a few important differences between emulating devices with the ICE10 and
running code in the actual device. In this section some of the special considerations are
listed. For more issues and considerations see the separate avrtools.pdf document on
the supplied CD-ROM, or download the latest version from the Atmel web site
(www.atmel.com).
6.1
6.2
6.3
Stack
Assembling
ADC
There is no hardware stack in the ICE10. Therefore, a stack must be set up in the emu-
lator ’ s SRAM when emulating devices with hardware stack. The following two
instructions will set up the stack.
ldi r16, $6F
out $3D, r16
Further writing to I/O locations $3D and $3E must be avoided.
Some instructions 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.
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 differential mode inputs. See Figure 6-1. Due to
this construction with discrete ICs on an open PCB, the ADC will be more susceptible to
ambient noise and have electrical characteristics that differ from the actual chip. See
Figure 6-1. ATtiny15POD
Gain
Instrumentation
Selection
Amplifier
ADC0
ADC1
ADC2
+
-
Gain Amplifier
20x
10-bit ADC A REF
ADC3
Int. Ref
A REF
A VCC
The internal voltage reference on the pod has a nominal voltage of 2.495V (minimum
2.440V, maximum 2.550V). This is within the specification of ATtiny15 (2.40V - 2.7V).
AVR ? ATICE10 User Guide
6-1
相关PDF资料
ATICE50POD REPLACEMENT POD FOR ICE40,ICE50
ATQT600IB BOARD INTERFACE ATQT600IB
ATSTK1000 KIT STARTER FOR AVR32AP7000
ATSTK501 ADAPTER KIT FOR 64PIN AVR MCU
ATSTK502 MOD EXPANSION AVR STARTER 500
ATSTK503 STARTER KIT AVR EXP MODULE 100P
ATSTK504 STARTER KIT AVR EXP MOD 100P LCD
ATSTK505 ADAPTER KIT FOR 14PIN AVR MCU
相关代理商/技术参数
ATICE10UPGR 功能描述:KIT UPGRADE ICEPRO TO ICE10 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
ATICE200 制造商:Atmel Corporation 功能描述:
ATICE200- 制造商:Atmel Corporation 功能描述:LOW COST ICE FOR AVR FAMILY
ATICE30 制造商:Atmel Corporation 功能描述:
ATICE40 功能描述:EMULATOR IN-CIRCUIT TINY26/MEGA8 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
ATICE40UPGR 功能描述:KIT UPGRADE MEGA8515/8535 TINY13 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
ATICE50 功能描述:仿真器/模拟器 AVR EMULATOR F/TINY AND MEGA DEVICES RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
ATICE50/EVAL 制造商:Atmel Corporation 功能描述:DEV TOOL - Bulk