Atmel CryptoAuthentication Starter Kit Atmel AT88CK109STK8 Getting Started Guide Features Contents Installing Atmel CryptoAuthentication Evaluation Studio (ACES) Atmel AT88CK109BK8 daughter board Powering the board 6” USB cable Reading the device configuration information Atmel ATSHA204 device Atmel AT88Microbase – AVR base module Atmel ATSHA204 samples Introduction Atmel® AT88CK109STK8 is an Atmel CryptoAuthentication starter kit, which can be used as a reference design for an USB application requiring the Atmel CryptoAuthentication product family. Figure 1. Atmel AT88CK109STK8 starter kit 8739A–SMEM–3/11 1. Install ACES (Atmel CryptoAuthentication Evaluation Studio) Visit www.atmel.com/cryptokits to download and install the latest ACES 2. Configuring the Atmel AT88CK109BK8 and Atmel AT88Microbase boards Ensure the Atmel ATSHA204 device in place in the socket with the correct Pin1 orientation The K1 switch on the Atmel AT88CK109BK8 board should always be in the “uBase” position when mounted to the Atmel AT88Microbase The 8ld SOIC package supports both SWI (Single Wire Interface) and I2C communication protocol. The following steps configure the kit for I2C communication, since the samples in this kit are shipped with I2C enabled. Figure 2-1. Atmel AT88CK109BK8 CryptoAuthentication daughter board Pin 1 Indicator The K1 switch on the Atmel AT88CK109BK8 board should always be in the “uBase” position when mounted to the Atmel AT88Microbase Table 2-1. Atmel AT88Microbase with an Atmel AT90USB1287 AVR 2 Atmel AT88CK109STK8 Getting Started Guide 8739A–SMEM–3/11 Table 2-2. Configuration table Configuration table 3. Communication protocol Atmel AT88CK101BK8 (K1 switch setting) Atmel AT88Microbase (K1 switch setting) Comments I2C uBase TWI (I2C) Kit shipped with this setup SWI uBase SPI Powering up the board The Atmel AT88CK109STK8 is a USB powered device. Simply insert the board into an open USB port Figure 3-1. Atmel AT88CK109STK8 USB powered Power LEDs AT88Microbase CLIENT HOST Atmel AT88CK109STK8 Getting Started Guide 8739A–SMEM–3/11 3 4. Reading the device configuration zone Insert the Atmel AT88CK109STK8 into a USB port Launch ACES CE for the desktop shortcut icon or from Start / All Programs / Atmel Crypto Solutions / ACES / ACES CE Figure 4-1. Figure 4-2 will appear indicating the board (CK109), device (SHA204), firmware version (0.0.6), and the communication interface (TWI) Figure 4-2. 4 ACES Kit detection screen Selecting the Show Quick Start Guide check box will launch the QSG alongside the configuration environment. Click the “Select Kit” button to launch ACES Configuration Environment – ATSHA204 pane Atmel AT88CK109STK8 Getting Started Guide 8739A–SMEM–3/11 Figure 4-3. ACES configuration environment – Atmel ATSHA204 All three System Status fields should be green and populated, which indicates the proper communication with the development kit and the Atmel ATSHA204 device Kit Name: Device: DevRev: 5. CK101 0.0.5 SWI8 ATSHA204 00 00 00 03 Executing the Validate MAC command Go to Tools \ Validate MAC to launch the Validate MAC window, see Figure 5-1 Atmel AT88CK109STK8 Getting Started Guide 8739A–SMEM–3/11 5 Figure 5-1. Figure 5-2 will appear Click the Execute Nonce button Click the MAC button Click the CheckMac button The CheckMac Result: should indicate Matched Figure 5-2. 6 Validate MAC tools menu Validate MAC pane Atmel AT88CK109STK8 Getting Started Guide 8739A–SMEM–3/11 Congratulations, your Atmel AT88CK109STK8 is up and running. See ACES online Help additional information. For additional samples, go to: http://www.atmel.com/forms/Samples.asp?family_id=699 6. Additional kits information Atmel CryptoAuthentication kits Atmel kits Atmel device supported Device footprint Communication protocol Socket(s) AT88CK454BLACK ATSHA204 SOT23-3 SWI None/USB Dongle AT88CK101STK3 ATSHA204 SOT23-3 SWI 1 AT88CK101STK8 ATSHA204 8LD SOIC SWI/I C 1 AT88CK109STK3 ATSHA204 SOT23-3 SWI 2 AT88CK109STK8 7. 2 ATSHA204 8LD SOIC 2 SWI/I C 2 Firmware Upgrade See application note, doc8746, “Upgrading Crypto Kits Firmware.” 8. References and further information A complete reference design including schematics, Gerber files, bill of materials (BOM), hardware user guide and development and demonstration software is conveniently downloadable from the Atmel website at www.atmel.com/cryptokits. Atmel AT88CK109STK8 Getting Started Guide 8739A–SMEM–3/11 7 9. EVALUATION BOARD/KIT IMPORTANT NOTICE This evaluation board/kit is intended for ENGINEERING, DEVELOPMENT, DEMONSTRATION or EVALUATION PURPOSE ONLY. It is not a finished product and may not (yet) comply with some or any technical or legal requirements that are applicable to finished products, including, without limitations, directives regarding electromagnetic compatibility, recycling (WEEE), FCC, CE or UL (except as may be otherwise noted on the board/kit). Atmel® supplied this board/kit “AS IS,” without any warranties, with all faults, at the buyer’s and further users’ sole risk. The user assumes all responsibly and liability for proper and safe handling of goods. Further, the user indemnifies Atmel from claims arising from the handling or use of goods. Due to open construction of the product, it is the user’s responsibility to take any and all appropriate precautions with regard to electrostatic discharge and any other technical or legal concerns. EXCEPT TO THE EXTENT OF INDEMNITY SET FORTH ABOVE, NEITHER USER NOR ATMEL SHALL BE LIABLE TO EACH OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES. No license is granted under any patent right or other intellectual property right of Atmel covering or relating to any machine, process, or combination in which such Atmel product or services might be or are used. Mailing Address: Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 8 Atmel AT88CK109STK8 Getting Started Guide 8739A–SMEM–3/11 Atmel Corporation Atmel Asia Limited Atmel Munich GmbH Atmel Japan 2325 Orchard Parkway Unit 01-5 & 16, 19F Business Campus 9F, Tonetsu Shinkawa Bldg. San Jose, CA 95131 BEA Tower, Millennium City 5 Parkring 4 1-24-8 Shinkawa USA 418 Kwun Tong Road D-85748 Garching b. Munich Chuo-ku, Tokyo 104-0033 Tel: (+1)(408) 441-0311 Kwun Tong, Kowloon GERMANY JAPAN Fax: (+1)(408) 487-2600 HONG KONG Tel: (+49) 89-31970-0 Tel: (+81)(3) 3523-3551 www.atmel.com Tel: (+852) 2245-6100 Fax: (+49) 89-3194621 Fax: (+81)(3) 3523-7581 Fax: (+852) 2722-1369 © 2011 Atmel Corporation. All rights reserved. / Rev.: 8739A–SMEM–3/11 Atmel®, logo and combinations thereof, CryptoAuthentication™ and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. 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 doc ument or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON T HE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF ME RCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and rese rves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise , Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life .