Specifications

7
AVR064
2529A–AVR–11/02
Connect the “Segment pins from ATmega169” to the “STK502 LCD pins” with the
34-pin cable.
Place a jumper on the 2-pin header “19 24”
Insert the NTC thermistor in the screw terminal.
All of the three switches on the STK502 should be in the position towards the two-
screw terminal block, i.e., the TOSC switch should be in the TOSC position, the
AREF switch should be in the VREF position and the PF[1:0] should be in the
SENSOR position.
Connect PG5 and RST
with a jumper, on PORTG/RST.
And most importantly, insert the ATmega169 in the ZIF-socket. The ATmega169 that
comes with the STK502 kit, is pre-programmed with the example code. If it is required to
re-program the ATmega169, see the STK502 User Guide for help on this topic. The
AVR064.hex file that should be programmed into the ATmega169 can be found on the
“AVR Technical Library” CD that comes with the STK502, and on the ATMEL web site,
www.atmel.com. If the ATmega169 is re-programmed make sure the fuses are set up
according to Figure 7.
Figure 7. Fuse Settings
As Figure 7 describes, the only fuses that should be programmed are:
Brown-out Detection disabled
JTAG Interface Enabled
Serial Program downloading (SPI) enabled
Boot Flash Section size = 1024 words
Internal RC Oscillator; Start-up time 6CK + 65 ms