Appendix
6-2
AVR ICE 200 User Guide
6.1.2
Using the ATtiny12
Adapter for
Emulating the
ATtiny10/11
The ATtiny10 and 11 are both subsets of ATtiny12. Therefore, it is possible to select the
ATtiny12 device when configuring the ICE 200 to support either ATtiny10 or ATtiny11.
These devices all have the same pinout, but ATtiny10/11 does not have the following
features:
•
Brown Out Detection (BOD)
•
Calibration of the RC Oscillator
•
Reset Source Register
•
Band-gap Reference on the Comparator
•
EEPROM Interrupt
Also note that the startup times differ slightly between the devices. Please refer to the
datasheets for more detailed information.
6.1.3
Using the
AT90S2313 Adapter
for Emulating the
AT90S1200
The AT90S1200 can be defined as a subset of AT90S2313. They have the same pinout,
but AT90S1200 does not have the following features:
•
UART
•
SRAM
•
Memory Access Instructions (ld/st/lds/sts/ldd/std/lpm)
•
16-bit Arithmetic Instructions (adiw/sbiw)
•
INT1
•
Timer/Counter 1 and Input Capture
•
Stack Pointer to SRAM (AT90S1200 has a 3 level hardware stack)
Avoiding the use of these features and using only half the program and EEPROM
memories allows the AT90S2313 to be used when emulating AT90S1200.
IMPORTANT!
Since the AT90S2313 uses a stack pointer, this has to be initialized. The simplest way is
include the following lines at the top of the program code:
( AVR Assembler example )
ldi
r16, 0x65
; Set the stack pointer to point at the address to
; give a 3-level deep stack
out
0x3D, r16
The AT90S2313 has no RC oscillator, so this feature found on the AT90S1200 can not
be supported.
Since the AT90S2313 features the EEMWE bit for writing data to the EEPROM memory,
this must also be added to the AT90S1200 code if the EEPROM is used.
Include the AT90S2313 file when emulating AT90S1200 to get the interrupts placed on
the right locations, see Section 6.1.1.
6.2
AVR Emulator
Chip Errata
Latest errata is found on the Atmel web site: www.atmel.com.
Содержание AVR ICE 200
Страница 1: ...ICE 200 User Guide ...
Страница 2: ......
Страница 6: ...Preface Read this First 1 2 AVR ICE 200 User Guide ...
Страница 10: ...Introduction 2 4 AVR ICE 200 User Guide ...
Страница 16: ...General Description 3 6 AVR ICE 200 User Guide ...
Страница 36: ...Appendix 6 4 AVR ICE 200 User Guide ...
Страница 37: ...Appendix AVR ICE 200 User Guide 6 5 ...
Страница 38: ...Appendix 6 6 AVR ICE 200 User Guide ...
Страница 39: ......