Atmel STK512 User Manual
Atmel STK512 User Manual

Atmel STK512 User Manual

Avr-based uni-directional radio starter kit featuring secure rolling-code rf transmission encryption

Advertisement

Quick Links

STK512
....................................................................................................................
AVR-based Uni-directional
Radio Starter Kit Featuring
Secure Rolling-Code RF
Transmission Encryption
User Guide
Note:
This Radio Starter Kit is not self-contained. It is based on an Atmel
Flash Microcontroller Starter Kit that must be obtained separately.
®
®
®
AVR
STK
500
5170C–AVR–10/09

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STK512 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Atmel STK512

  • Page 1 AVR-based Uni-directional Radio Starter Kit Featuring Secure Rolling-Code RF Transmission Encryption User Guide ® ® ® Note: This Radio Starter Kit is not self-contained. It is based on an Atmel Flash Microcontroller Starter Kit that must be obtained separately. 5170C–AVR–10/09...
  • Page 2: Table Of Contents

    Programming the Transmitter(s)................2-7 Teach the Transmitters to the Receiver................2-8 The Demonstration ......................2-9 Section 3 Programming Notes ....................3-1 Configuration........................3-1 Project Compilation......................3-2 EEPROM Image Generation....................3-2 Section 4 Troubleshooting Guide ....................4-1 STK512 User Guide 5170C–AVR–10/09...
  • Page 3: Introduction

    Congratulations on your purchase of the Atmel -based Uni-directional Radio Starter Kit featuring ® Secure Rolling Code RF Transmission Encryption. This kit uses an Atmel STK 500 Flash Microcon- troller Starter Kit that must be obtained separately. This User’s Guide describes how to use this Starter Kit. Section 2, Getting Started, describes how to assemble and program the hardware to demonstrate a wireless link that uses a secure rolling code algo- rithm.
  • Page 4: Included In The Kit

    Included in the Kit Note: This Radio Starter Kit is not self-contained. It is based on an Atmel STK500 Flash Microcontroller Starter Kit that must be obtained separately. This starter kit includes all the essential components needed to demonstrate an AVR-based uni-direc- tional radio that features a Secure Rolling-Code RF Transmission Encryption protocol.
  • Page 5 For investigating further capabilities of this kit, the following are optional: JTAGICE mkII for debugging ® IAR Embedded Workbench AVR C compiler for changing and recompiling the source code without porting it to another compiler (precompiled source code with default configuration is provided on the CDROM). STK512 User Guide 5170C–AVR–10/09...
  • Page 6: Getting Started

    Hardware Assembly The kit hardware must be interfaced to the STK500. Step A: Assemble the STK500 Board The STK500 Board must be set up properly before mounting the STK512 Interface Board. The assem- bled STK500 Board is shown in Figure 2-1.
  • Page 7 6. Place jumpers on the following headers as shown in Figure 2-2. – VTARGET – AREF – RESET – XTAL1 – OSCEL (a 3-pin header. Place a jumper next to the “1” printed on the board). Figure 2-2. Detail of Jumper Placement on the STK500 STK512 User Guide 5170C–AVR–10/09...
  • Page 8 Use a rocking motion while steadily pulling (not prying) it straight from the sockets. 2. Insert the STK512 Interface Board into the EXPANDx sockets, oriented with the LEDs and red DIP switches to the left-hand side. To verify the orientation, check that the EXPAND0 pins on the Inter- face Board plug into the EXPAND0 socket on the STK500 Board.
  • Page 9 Getting Started Figure 2-4. STK512 Jumper Placement STK512 User Guide 5170C–AVR–10/09...
  • Page 10 Getting Started Step C: Mount the Receiver Application Board The Receiver Application Board must be mounted on the STK512 Interface Board. The completed assembly is shown in Figure 2-5. Figure 2-5. Completed Receiver Assembly Caution: After the next step, if the receiver board is removed from the interface board sockets, use EXTREME caution! The pins on the receiver board are very easily bent and broken! Use a rocking motion to lift the board straight (perpendicular) out of the socket.
  • Page 11: Initial Programming

    Data Sheets for the receiver ICs used in this kit. To avoid acci- dental misprogramming of the receiver IC when using this demonstration kit, avoid pushing the white “CONFIGURE” button when the black slide switch is in the “STK512” position! STK512 User Guide...
  • Page 12: Programming The Transmitter(S)

    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. STK512 User Guide 5170C–AVR–10/09...
  • Page 13: Teach The Transmitters To The Receiver

    10 seconds to teach the next transmitter. If LED5 does not blink, the message was not received correctly, perhaps due to interference or an incorrect button combination. Repeat steps 1 and 2 until successful. Figure 2-7. Transmitter Key Fob Button Numbering STK512 User Guide 5170C–AVR–10/09...
  • Page 14: The Demonstration

    Similar to the above approach, incremented counter values can be changed through manipulation of the counter value variable directly in software. Atmel recommends appropriate variable monitoring capabili- ties be available before attempting this approach.
  • Page 15: Programming Notes

    The size of the rolling window of acceptance. Note: 1. Serial number, command code and sequential counter value fields must not exceed 16 bytes. A compile error will occur if the total size exceeds this limit. STK512 User Guide 5170C–AVR–10/09...
  • Page 16: Project Compilation

    Make sure that all transmitters that will be associated with a receiver have the same shared key as the receiver. Note: 1. The supplied tools are only meant for prototyping and evaluation. For full production use, a secure key management infrastructure should be established. STK512 User Guide 5170C–AVR–10/09...
  • Page 17: Troubleshooting Guide

    Verify that 5V is supplied to the Receiver Application Power is not applied or is less than 5V Board via on-board pins or through the STK512 Interface Board connection to the STK 500 (VTG jumper). DATA Selector switch was not set to the STK511...
  • Page 18 Advanced tab Remove all devices from the programming sockets of the Device present in STK500 sockets STK500 ISP jumper not shorted on STK512 Interface Board Connect shunt Power and serial cable not connected to STK500 Verify setup of the STK500 hardware...
  • Page 19 Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY...
  • Page 20 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Atmel ATASTK512-EK1-AUT...

Table of Contents