Emulating ATmega103/603
2-2 AVR
®
ATICE30 User Guide
2.2 Configuration of
the ATmegaPOD
2.2.1 Voltage Regulation
for Port Pins
If the target system uses its own power supply, the output voltage must be set to the
voltage in the target system. The jumpers J200 - J202 are used for this purpose. The
interpretation of the different settings of these jumpers is shown in Figure 2-2.
Figure 2-2. Jumper Settings
2.2.2 Power to Target PCB The ATmegaICE can power the target PCB with 5.0V. To enable this option, J500
should be mounted. Note that the absolute maximum supply current is 1.0A, so the tar-
get should use less than 5W of power to use this option. Jumpers J200 - J202 must all
be removed when external power is selected. If the target application uses voltages
other than 5.0V, it must supply its own power and J500 must be removed.
2.2.3 Clock Setting The external clock system can be set to use either an external crystal or an external
clock signal. To use an external crystal, select External Oscillator in the Emulator
Options menu in AVR Studio, and select an appropriate frequency range for the
mounted crystal. It is important to tune the oscillator driver by choosing the range in the
Clock Range menu to make the clock system work properly with an external crystal.
J300 must be open when using an external crystal. If an external clock signal is used
(on pin XTAL1), jumper J300 must be mounted. This setting also requires the user to
select External Oscillator in the Emulator Options menu in AVR Studio.
ATmegaICE also has a very accurate programmable internal clock that can be used for
emulation. Select this clock by choosing Internal Oscillator in the Emulator Options
menu in AVR Studio. The setting of J300 on the ATmegaPOD and crystals and clock
signals in the user application are insignificant when the internal oscillator is selected.
2.2.4 Timer Oscillator
Setting
In order to enable the timer oscillator, jumper J351 must be mounted. When J351 is
mounted, the setting of J350 determines whether to use an external clock signal or the
local oscillator. If J350 is mounted, the external clock signal is used (on pin TOSC1). If
J350 is not mounted, an external crystal is expected to be mounted between the TOSC1
and TOSC2 pins. When an external crystal is used (J350 not mounted), jumpers J352
and J354 should be used to indicate the frequency range of the oscillator. The interpre-
tation of the different settings for these jumpers is given in Figure 2-3.
2,7 - 2,9
3,0 - 3,3
3,4 - 3,7
3,8 - 4,1
4,2 - 4,5
4,6 - 4,8
4,9 - 5,1
5,2 - 5,5
Target V (V) J202 J201 J200
CC
Emulating ATmega103/603
AVR
®
ATICE30 User Guide 2-3
Figure 2-3. Jumper Settings
As noted above, the selected frequency range may not correspond to the crystal fre-
quency due to load capacitors and/or stray capacitors. Due to long probe leads, it may
be difficult to emulate the 32 kHz oscillator in many designs. A way to work around this
is to lift pins 2 and 3 on U351 from the PCB and solder a 32 kHz crystal directly to the
pins, with neither the pins nor the crystal touching the PCB.
2.3 Connecting to
the System
The pod card is connected to ICE30 with the pod cable (the wide cable). Do not disas-
semble the pod cable. Connect the pod to the target application via the 4-probe cables
and the TQFP probe adapter.
The devices pins are placed on the four connectors, J110, J111, J112 and J113. The
pinout of these connectors is shown in Table 2-1, Table 2-2, Table 2-3 and Table 2-4.
The # column shows the pin number on each header. The & column shows the corre-
sponding pin number on an ATmega103/ATmega603 device. The numbering of the pins
on each header is shown in Figure 2-5.
It is possible to use the ATmegaPOD without the TQFP64 adapter (Figure 2-4) if four
8 x 2-pin headers are added to the target application PCB. Table 2-1, Table 2-2,
Table 2-3 and Table 2-4 give details on how to use these header connectors. Connect
the pin headers on the target application to the connectors on ATmegaPOD by using the
probe cables included in your kit.
Figure 2-4. ATmega103/603 Probe
Frequency Range J354 J352
10 kHz - 100 kHz
100 kHz - 1 MHz
1 MHz - 5 MHz
5 MHz - 10 MHz
Emulating ATmega103/603
2-4 AVR
®
ATICE30 User Guide
Table 2-1. Pinout for Header J110
J110
#&#&
1 PE0 (PDI/RXD) 2 2 PEN
1
3 PE2 (AC+) 4 4 PE1 (PDO/TXD) 3
5 PE4 (INT4) 6 6 PE3 (AC-) 5
7 PE6 (INT6) 8 8 PE5 (INT5) 7
9 PB0 (SS
) 10 10 PE7 (INT7) 9
11 PB2 (MOSI) 12 12 PB1 (SCK) 11
13 PB4 (OC0) 14 14 PB3 (MISO) 13
15 PB6 (OC1B) 16 16 PB5 (OC1A/PWM1A) 15
Table 2-2. Pinout for Header J111
J111
#&#&
1 TOSC2 18 2 PB7 (OC2/PWM2) 17
3 RESET
20 4 TOSC1 19
5 GND 22 6 VCC 21
7 XTAL1 24 8 XTAL2 23
9 PD1 (INT1
) 26 10 PD0 (INT0)25
11 PD3 (INT3) 28 12 PD2 (INT2)27
13 PD5 30 14 PD4 29
15 PD7 (T2) 32 16 PD6 (T1) 31
Table 2-3. Pinout for Header J112
J112
#&#&
1RD
34 2 WR 33
3 PC1 (A9) 36 4 PC0 (A8) 35
5 PC3 (A11) 38 6 PC2 (A10) 37
7 PC5 (A13) 40 8 PC4 (A12) 39
9 PC7 (A15) 42 10 PC6 (A14) 41
11 PA7 (AD7) 44 12 ALE 43
13 PA5 (AD5) 46 14 PA6 (AD6) 45
15 PA3 (AD3) 48 16 PA4 (AD4) 47

ATICE30

Mfr. #:
Manufacturer:
Description:
EMULATOR IN CIRCUIT MEGAAVR
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet