Getting Started
STK512 User Guide
2-7
5170C–AVR–10/09
2.2.2
Programming the Transmitter(s)
1.
On the STK500, remove the 6-pin cable from the “SPROG2” header, plug it into the ISP program-
ming adapter. Next, insert the transmitter application board into the adapter, as shown in
.
Figure 2-6.
Transmitter Key Fob with 6-pin Cable
2.
On the “Program” tab of the “STK500” pop-up window, select the ATtiny44 from the pull-down list.
3.
In the “Advanced” tab select “read signature” to ensure that communication with the device is func-
tioning properly. If the read attempt is successful, a number will show in the window. If not, a pop-up
will appear, describing the failure. Consult the STK500 documentation to handle any failures.
4.
Select the “fuses” tab and ensure that the Fuses are set as shown in
5.
From the CD, in the folder “software\IAR\TX\Release\Exe,” program the flash of the ATtiny45 with
“TX.a90.”
6.
From the CD, in the folder “software\Precompiled,” program the EEPROM of the Tiny45 with
“TX_EEPROM_AES128_ID1.”
7.
Repeat this process for the second transmitter, except with the file “TX_EEPROM_AES128_ID2.”
The transmitters are now programmed and ready for use.
Table 2-2. Transmitter ATtiny44 Fuse Settings
Fuse Name
Setting
Preserve EEPROM memory…
Brown-out detection disabled
Int RC Osc 8 MHz: … +64 ms
Divide clock by 8 internally
Watchdog Timer always on
Checked
Checked
Checked
Not Checked
Not checked