CryptoMemory. Application Note. Programming the CryptoMemory Device for Embedded Applications
|
|
- Betty Sharp
- 7 years ago
- Views:
Transcription
1 Programming the ryptomemory Device for Embedded pplications ryptomemory provides a cost-effective solution for securing sensitive data in nonvolatile memory within any system. Various security features are built into rypto- Memory, and the user has the option of defining which features will be used for different data elements that may be stored. o prepare ryptomemory for use, several registers are programmed to indicate the selected security features to be used, and the appropriate passwords and keys are loaded into the device. Very little programming is needed to initialize the device. Depending on the options selected, only a few bytes up to a maximum of 2 bits of the configuration zone need to be programmed. his application note describes the process of organizing data and determining security settings and the proper sequence for writing to ryptomemory. his initial programming, or initialization, is typically done before the device is mounted to the board in the final application. he design of the application will determine what data is written during this initialization of the ryptomemory device. ryptomemory pplication Note 5051 MEM 01/04 1
2 Default Device onfiguration Determine Initial Data and ecurity ettings Initial Data ecurity ettings ryptomemory devices are fully tested at tmel. ll functions are verified, and all memory locations are tested and then set to default values. hese values are: User Zones ll user zones (4, 8, or 16) are programmed to all ones ($FF) throughout the entire zone. onfiguration Zone: nswer to Reset his field of the configuration zone is programmed to a preset value. he value programmed includes two bytes that indicate the memory density. onfiguration Zone: Fab ode his field is programmed to a preset value. onfiguration Zone: Lot History ode his field is programmed to a preset value. his field is locked and cannot be changed after leaving tmel. onfiguration Zone: ecure ode his field, also known as the Write 7 Password, is programmed to a preset value. Remaining onfiguration Zone ll remaining fields in the configuration zone are programmed to all ones ($FF). his includes all access and password key registers, all encryption keys, and all passwords except the secure code. In this configuration, access to all user zones is open and free. he first step in initializing ryptomemory is to determine what data will be stored in the device and the structure for that data. Data may be thought of as different files, and these files will need to be organized within the various user zones of ryptomemory. he security requirements for each file should be determined. Files with identical security requirements may be placed in the same user zone. If a file or group of files requires more than one user zone, multiple user zones may be set with the same security requirements to accommodate the large data files. In most cases, the design of the application will determine the data structure and security settings for ryptomemory. With the data structure established, determine what data should be written to the device during the initial programming. his is typically data that needs to be in the device before it is installed on the board. In addition to the user zones, there is also a 4-byte card manufacturer code and a 16-byte issuer code that may be programmed in the configuration zone as part of initialization. he next step is to determine the security requirements of the application and how each zone of the ryptomemory needs to be protected. Each user zone has one access register and one password key register, allowing the security requirements for each zone to be set independently. If multiple zones are required to store large data files, they may be set to the same security requirements. ryptomemory offers a variety of security options; these options can be explored using the ryptomemory Evaluation it ( E). ecurity options are also documented in the ryptomemory Embedded pecification, available under ND. Briefly, the available security options are: Open or free access: no restrictions for read or write of a user zone. One-time programmable: the data programmed during initialization is locked and may not be changed. Program only: the data programmed during initialization may only be changed from a logic value "1" to logic "0" on a bit-by-bit basis. his can be used for a countdown function. Write protect: the data programmed during initialization may be protected byte by byte within a user zone. 2 Programming ryptomemory Device 5051 MEM 01/04
3 Programming ryptomemory Device Password protection: separate passwords may be required for read and/or write privileges to the user zone; eight separate password sets are available. uthentication protection: a successful authentication sequence is required for read and/or write privileges to the user zone; four separate key sets are available. Encryption required: after a successful authentication, data is required to be encrypted for both read and write operations to the user zone. he above list is not exhaustive, and various combinations of these security options may be implemented. Writing to ryptomemory Write Data to User Zones Unlock onfiguration Zone Write Data to onfiguration Zone Once the data structure, initial data, and security settings have been established, this information must be written into the ryptomemory device. his is accomplished by following the sequence below. Once the data is written and the security fuses are set, the device is ready for use in the end application. Details of the commands used and a simple example are included in this document. In the default configuration from tmel, all user zones have free access rights. Writing initial data into the user zones should be done before setting security configurations. Use the et User Zone command and Write User Zone command to write initial data into the user zones. he Read User Zone command may be used to verify the data written. Before any data can be written to the configuration zone, it must be unlocked by presenting the correct security code (Write 7 Password). Use the Verify ecure ode command with the proper password supplied by tmel to unlock the configuration zone. Use the Read onfiguration Zone command to read back the security code at address $E9 for verification that the configuration zone has been unlocked. Data contained in the configuration zone is divided into four types of information: ODE: hese include the answer to reset value, fabrication zone, identification number, card manufacturer zone, and issuer zone. he information programmed in these areas may be used by the application as determined by the application developer. he answer to reset and fabrication zone codes are programmed to default values by tmel but may be modified. hese codes are all write protected once all security fuses have been set. REGIER: For each user zone, there is one 8-bit access register and one 8-bit password/key register. hese registers are used to define the security requirements for each user zone. In addition, there is one device configuration register that determines several options affecting the security of all user zones globally. EY: here are four sets of keys (ecret eeds) used for authentication and four sets of keys (ession eys) used for encryption; each key is 64 bits long. here are also four initial cryptogram values that may be defined and one identification number used with all four sets of keys. PWORD: here are eight sets of passwords; each set consists of a read access password and a write access password. Writing this data is accomplished by performing the Write onfiguration Zone command at the appropriate location. he Read onfiguration Zone command may be used to verify the data written. Please consult the ryptomemory Embedded pecification for proper memory address within the configuration zone for each data field. s soon as 5051 MEM 01/04 3
4 values are written to the registers, keys, and passwords, they become effective in determining the security of the user zones. et ecurity Fuses hree security fuses protect the information contained in the configuration zone. FB FUE: his fuse protects the answer to reset value and the fabrication zone. hese areas are write-protected and cannot be changed once the fab fuse is set. M FUE: his fuse protects the card manufacturer zone. his area is write-protected and cannot be changed once the M fuse is set. PER FUE: his fuse protects the rest of the configuration zone. he issuer code is write-protected and cannot be changed once the PER fuse is set. ll registers, keys, and passwords are write-protected once the PER fuse is set. Modifications to these areas are only permitted by the internal logic; further detail may be found in the ryptomemory Embedded pecification. One exception is the eight password sets. Once a write password is properly presented, only the read and write password in that set can be modified by using the Write onfiguration Zone command. Once the PER fuse is set, the secure code (Write 7 Password) will no longer give access to the configuration zone. hese three fuses must be set in the order listed above (FB, then M, then PER). he Write Fuse command is used to set each of the three fuses individually. he ddress 2 value for setting each fuse is shown in able 1 below. able 1. Write Fuse Fuse ID Fuse ddress 2 FB $06 M $04 PER $00 he Read Fuse Byte command may be used at any time to check the status of all three fuses. able 2. Read Fuse Byte Returned Data Fuse ondition Fuse Byte No Fuses et XXXX 0111 FB et XXXX 0110 FB, M et XXXX 0100 FB, M, PER et XXXX Programming ryptomemory Device 5051 MEM 01/04
5 Programming ryptomemory Device ynchronous ommunications ryptomemory communicates by using a synchronous two-wire serial protocol. his two-wire serial interface is identical to that used on tmel's 24xxx family of serial EEPROMs but with a larger unique command set to support the various security functions. ynchronous communications may be performed with a clock speed of up to 1.5 MHz. ommand et able 3. Initialization ommand et here are a total of 16 commands for communicating with ryptomemory. Only eight commands are required for the initial programming. he command set used for initializing ryptomemory is shown in able 3. ommand ddr 1 ddr2 N Data (N) Write User Zone $B0 addr addr N (1) N bytes Read User Zone $B2 addr addr N ystem Write ystem Read Write onfig Zone $00 addr N (1) Write Fuses $B4 $01 fuse ID $00 et User Zone $03 zone $00 Read onfig Zone $00 addr N $B6 Read Fuse Byte $01 $00 $01 Verify ecure ode $B $07 $00 $03 3-byte password Note: For , N < $10 For , N < $80 ommand Format Each command sent to ryptomemory must have 4 bytes: ommand, ddress 1, ddress 2, and Parameter N. he last byte, N, defines the number of any additional data bytes to be sent to or received from the ryptomemory device. Each command ends with a stop condition, for proper operation acknowledge polling must be performed after each command until the ryptomemory device indicates it is ready for the next command. he formats for the three types of commands used for the initial programming are shown in Figures 1 3. Figure 1. Write ommand with N = 0 (Write Fuses, et User Zone) N bytes R OMMND DDRE 1 DDRE 2 PRMEER N O P Figure 2. Write ommand with N Bytes (Write User Zone, Write onfig Zone, Verify ecure ode) R OMMND DDRE 1 DDRE 2 PRMEER N D (1).... D (N) O P 5051 MEM 01/04 5
6 Figure 3. Read ommand with N Bytes (Read User Zone, Read onfig Zone, Read Fuse Byte) R OMMND DDRE 1 DDRE 2 PRMEER N D (1).... D (N) N O P Initialization Example he is used for this example. small pattern is written into each of the four user zones. ecurity for each of the four user zones and the associated register values are shown in able 4. imple values for codes, keys, and passwords are used. able 4. ecurity ettings ( Example) User Zone Data ecurity Requirements ccess Register Password/ ey Register 0 Zone 0 Data None $FF $FF 1 Zone 1 Data Read/Write Password (et 1) $7F $F9 2 Zone 2 Data Read/Write uthentication (et 2) $DF $BF 3 Zone 3 Data Read/Write Password (et1), Read/Write uthentication (et 2) with Encryption Required $57 $B9 he following example shows the two-wire commands sent to the ryptomemory device for the purpose of initializing the device for use on a board. he flow is consistent with the steps described in this application note, and comments have been added as indicated with an asterisk (*). * Initialization Example *WRIE D O UER ZONE *et User Zone 0 B *Write data = Zone 0 Data B B 5 6F 6E *et User Zone 1 B *Write data = Zone 1 Data B B 5 6F 6E *et User Zone 2 B *Write data = Zone 2 Data B B 5 6F 6E *et User Zone 3 6 Programming ryptomemory Device 5051 MEM 01/04
7 Programming ryptomemory Device B *Write data = Zone 3 Data B B 5 6F 6E *UNLO ONFIGURION ZONE B FF FF FF *WRIE ODE IN ONFIGURION ZONE *Write ard Mfg ode = P001 B4 00 0B *Write Identification Number = B *Write Issuer ode = ION 035 B F 4E *WRIE REGIER IN ONFIGURION ZONE *Write Registers R1/PR1 = 7F F9, R2/PR2 = DF BF, R3/PR3 = 57 B9 B F F9 DF BF 57 B9 *WRIE EY IN ONFIGURION ZONE *Write i for set 2 = B *Write Gc for set 2 = 5B4F9E4B5098BE7 B B 4F 9 E4 B5 09 8B E7 *WRIE PWORD IN ONFIGURION ZONE *Write Passwords, read 7 = , write 7 = B4 00 B FF *RED ENIRE ONFIGURION ZONE O VERIFY B F0 *Device Response: 3B B FF FF 8 D B FF FF FB FF FF 7F F9 DF BF 57 B9 FF FF FF FF FF FF FF FF F 4E FF FF FF FF FF FF FF FF FF 5B 4F 9 E4 B5 09 8B E7 D8 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF MEM 01/04 7
8 *E EURIY FUE *et FB Fuse B *et M Fuse B *et PER Fuse B *Read Fuse Byte = X0 B *Device Response: 00 In-system Programming he process described in this application note and the example given is intended for programming of the ryptomemory device prior to mounting on the board. While this will simplify the operation of ryptomemory in the end application, it is also possible to perform this initial programming in the final system. ll the commands described here may be executed by the system into which ryptomemory is incorporated. But to utilize the security features of ryptomemory, this process of initialization must be performed before any information can be secured within the ryptomemory device. 8 Programming ryptomemory Device 5051 MEM 01/04
9 tmel orporation 2325 Orchard Parkway an Jose, el: 1(408) Fax: 1(408) Regional Headquarters Europe tmel arl Route des rsenaux 41 ase Postale 80 H-1705 Fribourg witzerland el: (41) Fax: (41) sia Room 1219 hinachem Golden Plaza 77 Mody Road simshatsui East owloon Hong ong el: (852) Fax: (852) Japan 9F, onetsu hinkawa Bldg hinkawa huo-ku, okyo Japan el: (81) Fax: (81) tmel Operations Memory 2325 Orchard Parkway an Jose, el: 1(408) Fax: 1(408) Microcontrollers 2325 Orchard Parkway an Jose, el: 1(408) Fax: 1(408) La hantrerie BP Nantes edex 3, France el: (33) Fax: (33) I/P/mart ards Zone Industrielle Rousset edex, France el: (33) Fax: (33) East heyenne Mtn. Blvd. olorado prings, O el: 1(719) Fax: 1(719) cottish Enterprise echnology Park Maxwell Building East ilbride G75 0QR, cotland el: (44) Fax: (44) RF/utomotive heresienstrasse 2 Postfach Heilbronn, Germany el: (49) Fax: (49) East heyenne Mtn. Blvd. olorado prings, O el: 1(719) Fax: 1(719) Biometrics/Imaging/Hi-Rel MPU/ High peed onverters/rf Datacom venue de Rochepleine BP aint-egreve edex, France el: (33) Fax: (33) literature@atmel.com Web ite Disclaimer: tmel orporation makes no warranty for the use of its products, other than those expressly contained in the ompany s standard warranty which is detailed in tmel s erms and onditions located on the ompany s web site. he ompany assumes no responsibil ity for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of tmel are granted by the ompany in connection with the sale of tmel products, expressly or by implication. tmel s products are not authorized for use as critical components in life support devices or systems. tmel orporation ll rights reserved. tmel and combinations thereof, and ryptomemory are registered trademarks of tmel orporation or its subsidiaries. Other terms and product names may be the trademarks of others. Printed on recycled paper MEM 01/04
8-bit Microcontroller. Application Note. AVR222: 8-point Moving Average Filter
AVR222: 8-point Moving Average Filter Features 31-word Subroutine Filters Data Arrays up to 256 Bytes Runable Demo Program Introduction The moving average filter is a simple Low Pass FIR (Finite Impulse
More information8-bit RISC Microcontroller. Application Note. AVR236: CRC Check of Program Memory
AVR236: CRC Check of Program Memory Features CRC Generation and Checking of Program Memory Supports all AVR Controllers with LPM Instruction Compact Code Size, 44 Words (CRC Generation and CRC Checking)
More informationAVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR305: Half Duplex Compact Software UART Features 32 Words of Code, Only Handles Baud Rates of up to 38.4 kbps with a 1 MHz XTAL Runs on Any AVR Device Only Two Port Pins Required Does Not Use Any Timer
More informationAVR106: C functions for reading and writing to Flash memory. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR106: C functions for reading and writing to Flash memory Features C functions for accessing Flash memory - Byte read - Page read - Byte write - Page write Optional recovery on power failure Functions
More informationTag Tuning/RFID. Application Note. Tag Tuning. Introduction. Antenna Equivalent Circuit
Tag Tuning Introduction RFID tags extract all of their power to both operate and communicate from the reader s magnetic field. Coupling between the tag and reader is via the mutual inductance of the two
More informationAT89C5131A Starter Kit... Software User Guide
AT89C5131A Starter Kit... Software User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Abbreviations...1-1 Section 2 Getting Started... 2-3 2.1 Hardware Requirements...2-3 2.2 Software Requirements...2-3
More information8-bit Microcontroller. Application Note. AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory
AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory Features Fast Storage of Parameters High Endurance Flash Storage 350K Write Cycles Power Efficient Parameter Storage Arbitrary Size
More informationAT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface
Interfacing a PC Card to an AT91RM9200-DK Introduction This Application Note describes the implementation of a PCMCIA interface on an AT91RM9200 Development Kit (DK) using the External Bus Interface (EBI).
More informationQuick Start Guide. CAN Microcontrollers. ATADAPCAN01 - STK501 CAN Extension. Requirements
ATADAPCAN01 - STK501 CAN Extension The ATADAPCAN01 - STK501 CAN add-on is an extension to the STK500 and STK501 development boards from Atmel Corporation, adding support for the AVR AT90CAN128 device in
More information8-bit RISC Microcontroller. Application Note. AVR182: Zero Cross Detector
AVR182: Zero Cross Detector Features Interrupt Driven Modular C Source Code Size Efficient Code Accurate and Fast Detection A Minimum of External Components Introduction One of the many issues with developing
More informationHow to Calculate the Capacitor of the Reset Input of a C51 Microcontroller 80C51. Application Note. Microcontrollers. Introduction
How to Calculate the Capacitor of the Reset Input of a C51 Microcontroller This application note explains how the reset of the 80C51 microcontroller works when the RST pin is a pure input pin and when
More informationApplication Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations
C51 General Information about Bootloader and In System Programming Overview This document describes the Atmel Bootloaders for 8051 family processors. Abreviations ISP: In-System Programming API : Applications
More informationGeneral Porting Considerations. Memory EEPROM XRAM
AVR097: Migration between ATmega128 and ATmega2561 Features General Porting Considerations Memory Clock sources Interrupts Power Management BOD WDT Timers/Counters USART & SPI ADC Analog Comparator ATmega103
More information8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter
AVR400: Low Cost A/D Converter Features Interrupt Driven : 23 Words Low Use of External Components Resolution: 6 Bits Measurement Range: 0-2 V Runs on Any AVR Device with 8-bit Timer/Counter and Analog
More informationAT91 ARM Thumb Microcontrollers. AT91SAM CAN Bootloader. AT91SAM CAN Bootloader User Notes. 1. Description. 2. Key Features
User Notes 1. Description The CAN bootloader SAM-BA Boot4CAN allows the user to program the different memories and registers of any Atmel AT91SAM product that includes a CAN without removing them from
More information8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.
AVR415: RC5 IR Remote Control Transmitter Features Utilizes ATtiny28 Special HW Modulator and High Current Drive Pin Size Efficient Code, Leaves Room for Large User Code Low Power Consumption through Intensive
More information8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier
AVR201: Using the AVR Hardware Multiplier Features 8- and 16-bit Implementations Signed and Unsigned Routines Fractional Signed and Unsigned Multiply Executable Example Programs Introduction The megaavr
More informationAVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR319: Using the USI module for SPI communication Features C-code driver for SPI master and slave Uses the USI module Supports SPI Mode 0 and 1 Introduction The Serial Peripheral Interface (SPI) allows
More information8-bit Microcontroller. Application Note. AVR314: DTMF Generator
AVR314: DTMF Generator Features Generation of Sine Waves Using PWM (Pulse-Width Modulation) Combine Different Sine Waves to DTMF Signal Assembler and C High-level Language Code STK500 Top-Module Design
More information8-bit Microcontroller. Application. Note. AVR204: BCD Arithmetics. Features. Introduction. 16-bit Binary to 5-digit BCD Conversion bin2bcd16
AVR204: BCD Arithmetics Features Conversion 16 Bits 5 Digits, 8 Bits 2 Digits 2-digit Addition and Subtraction Superb Speed and Code Density Runable Example Program Introduction This application note lists
More informationAVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example
More informationAVR245: Code Lock with 4x4 Keypad and I2C LCD. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR245: Code Lock with 4x4 Keypad and I2C LCD Features Application example for code lock - Ideal for low pin count AVRs Uses I/O pins to read 4x4 keypad Uses Timer/Counter to control piezoelectric buzzer
More informationAVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.
AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR Features How to open a new workspace and project in IAR Embedded Workbench Description and option settings for compiling the c-code Setting
More informationAVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR. 8-bit Microcontroller. Application Note. Features.
AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR Features Passing Variables Between C and Assembly Code Functions Calling Assembly Code Functions from C Calling C Functions from Assembly
More information8-bit Microcontroller. Application Note. AVR461: Quick Start Guide for the Embedded Internet Toolkit. Introduction. System Requirements
AVR461: Quick Start Guide for the Embedded Internet Toolkit Introduction Congratulations with your AVR Embedded Internet Toolkit. This Quick-start Guide gives an introduction to using the AVR Embedded
More informationApplication Note. Migrating from RS-232 to USB Bridge Specification USB Microcontrollers. Doc Control. References. Abbreviations
Migrating from RS-232 to USB Bridge Specification USB Microcontrollers Doc Control Rev Purpose of Modifications Date 0.0 Creation date 24 Nov 2003 Application Note 1.0 updates 22 Dec 2003 References Universal
More informationAVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR134: Real Time Clock (RTC) using the Asynchronous Timer Features Real Time Clock with Very Low Power Consumption (4 μa @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts
More informationUSB 2.0 Full-Speed Host/Function Processor AT43USB370. Summary. Features. Overview
Features USB 2.0 Full Speed Host/Function Processor Real-time Host/Function Switching Capability Internal USB and System Interface Controllers 32-bit Generic System Processor Interface with DMA Separate
More informationAVR32110: Using the AVR32 Timer/Counter. 32-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR32110: Using the AVR32 Timer/Counter Features Three independent 16 bit Timer/Counter Channels Multiple uses: - Waveform generation - Analysis and measurement support: Frequency and interval measurements
More informationAVR32100: Using the AVR32 USART. 32-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR32100: Using the AVR32 USART Features Supports character length from 5 to 9 bits Interrupt Generation Parity, Framing and Overrun Error Detection Programmable Baud Rate Generator Line Break Generation
More informationAVR241: Direct driving of LCD display using general IO. 8-bit Microcontrollers. Application Note. Features. Introduction AVR
AVR241: Direct driving of LCD display using general IO Features Software driver for displays with one common line Suitable for parts without on-chip hardware for LCD driving Control up to 15 segments using
More information8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB
AVR282: USB Firmware Upgrade for AT90USB Features Supported by Atmel FLIP program on all Microsoft O/S from Windows 98SE and later FLIP 3.2.1 or greater supports Linux Default on chip USB bootloader In-System
More informationAVR120: Characterization and Calibration of the ADC on an AVR. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR120: Characterization and Calibration of the ADC on an AVR Features Understanding Analog to Digital Converter (ADC) characteristics Measuring parameters describing ADC characteristics Temperature, frequency
More informationAVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS
AVR1309: Using the XMEGA SPI Features Introduction to SPI and the XMEGA SPI module Setup and use of the XMEGA SPI module Implementation of module drivers Polled master Interrupt controlled master Polled
More information2-wire Serial EEPROM AT24C1024. Advance Information
Features Low-voltage Operation 2.7(V CC =2.7Vto5.5V) Internally Organized 3,072 x 8 2-wire Serial Interface Schmitt Triggers, Filtered Inputs for Noise Suppression Bi-directional Data Transfer Protocol
More informationApplication Note. USB Mass Storage Device Implementation. USB Microcontrollers. References. Abbreviations. Supported Controllers
USB Mass Storage Device Implementation References Universal Serial Bus Specification, revision 2.0 Universal Serial Bus Class Definition for Communication Devices, version 1.1 USB Mass Storage Overview,
More informationTwo-wire Automotive Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 (1) AT24C16 (2)
Features Medium-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V) Internally Organized 128 x 8 (1K), 256 x 8 (2K), 512 x 8 (4K), 1024 x 8 (8K) or 2048 x 8 (16K)
More information8-bit RISC Microcontroller. Application Note. AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface
AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface Features Compatible with Philips' I 2 C protocol 2-wire Serial Interface Master Driver for Easy Transmit and Receive Function
More informationUsing CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA
Using CryptoMemory in Full I 2 C Compliant Mode 1. Introduction This application note describes how to communicate with CryptoMemory devices in full I 2 C compliant mode. Full I 2 C compliance permits
More information3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary
Features Three Selectable Outputs All Outputs Can Be Used Either for Standard (5V) or High Voltage (9V) Maximum Output Current at All Outputs Up to 150 ma On-chip Low-EMI RF Oscillator With Spread-spectrum
More informationTwo-wire Serial EEPROM AT24C1024 (1)
Features Low-voltage Operation 2.7 (V CC = 2.7V to 5.5V) Internally Organized 131,072 x 8 Two-wire Serial Interface Schmitt Triggers, Filtered Inputs for Noise Suppression Bidirectional Data Transfer Protocol
More information2-Wire Serial EEPROM AT24C32 AT24C64. 2-Wire, 32K Serial E 2 PROM. Features. Description. Pin Configurations. 32K (4096 x 8) 64K (8192 x 8)
Features Low-Voltage and Standard-Voltage Operation 2.7 (V CC = 2.7V to 5.5V) 1.8 (V CC = 1.8V to 5.5V) Low-Power Devices (I SB = 2 µa at 5.5V) Available Internally Organized 4096 x 8, 8192 x 8 2-Wire
More informationTable of Contents. Section 1 Introduction... 1-1. Section 2 Getting Started... 2-1. Section 3 Hardware Description... 3-1
ISP... User Guide Table of Contents Table of Contents Section 1 Introduction... 1-1 1.1 Features...1-1 1.2 Device Support...1-2 Section 2 Getting Started... 2-1 2.1 Unpacking the System...2-1 2.2 System
More informationAVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR32701: AVR32AP7 USB Performance Features Linux USB bulk transfer performance ATSTK1000 (32-bit SDRAM bus width) ATNGW100 (16-bit SDRAM bus width) GadgetFS driver and gadgetfs-test application USB performance
More informationAVR442: PC Fan Control using ATtiny13. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR442: PC Fan Control using ATtiny13 Features Variable speed based on: - Temperature sensor (NTC). - External PWM input. Stall detection with alarm output. Implementation in C code to ease modification.
More informationUSB Test Environment ATUSBTEST- SS7400. Summary
Features Simple Command-driven Host Model Comprehensive Reports by Monitor Protocol Validation by Monitor Comprehensive Test Suite Fully Compliant with USB Forum Checklist Generates and Monitors Packets
More informationHow To Prevent Power Supply Corruption On An 8Bit Microcontroller From Overheating
AVR180: External Brown-out Protection Features Low-voltage Detector Prevent Register and EEPROM Corruption Two Discrete Solutions Integrated IC Solution Extreme Low-cost Solution Extreme Low-power Solution
More informationAVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK 500 Starter Kit and AVR Studio Debugger Creating a New Project Using
More information8-bit Microcontroller. Application Note. AVR410: RC5 IR Remote Control Receiver
AVR410: RC5 IR Remote Control Receiver Features Low-cost Compact Design, Only One External Component Requires Only One Controller Pin, Any AVR Device Can be Used Size-efficient Code Introduction Most audio
More informationDIP Top View VCC A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3. PLCC Top View VCC A17
Features Fast Read Access Time 70 ns 5-volt Only Reprogramming Sector Program Operation Single Cycle Reprogram (Erase and Program) 1024 Sectors (256 Bytes/Sector) Internal Address and Data Latches for
More information8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.
AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,
More informationAVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1318: Using the XMEGA built-in AES accelerator Features Full compliance with AES (FIPS Publication 197, 2002) - Both encryption and decryption procedures 128-bit Key and State memory XOR load option
More informationATF15xx Product Family Conversion. Application Note. ATF15xx Product Family Conversion. Introduction
ATF15xx Product Family Conversion Introduction Table 1. Atmel s ATF15xx Family The ATF15xx Complex Programmable Logic Device (CPLD) product family offers high-density and high-performance devices. Atmel
More informationApplication Note. 8-bit Microcontrollers. AVR091: Replacing AT90S2313 by ATtiny2313. Features. Introduction
AVR091: Replacing AT90S2313 by ATtiny2313 Features AT90S2313 Errata Corrected in ATtiny2313 Changes to Bit and Register Names Changes to Interrupt Vector Oscillators and Selecting Start-up Delays Improvements
More informationAT86RF230 (2450 MHz band) Radio Transceiver... User Guide
ATAVRRZ200 Demonstration Kit AT86RF230 (2450 MHz band) Radio Transceiver... User Guide Section 1 1.1 Organization...1-1 1.2 General Description...1-1 1.3 Demonstration kit features...1-2 1.4 Included
More information2-wire Serial EEPROM AT24C512
Features Low-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V). (V CC =.V to 5.5V). (V CC =.V to.v) Internally Organized 5,5 x -wire Serial Interface Schmitt Triggers, Filtered Inputs for
More informationApplication Note. 8-bit Microcontrollers. AVR280: USB Host CDC Demonstration. 1. Introduction
AVR280: USB Host CDC Demonstration 1. Introduction The RS232 interface has disappeared from the new generation of PCs replaced by the USB interface. To follow this change, applications based on UART interface
More informationAVR1900: Getting started with ATxmega128A1 on STK600. 8-bit Microcontrollers. Application Note. 1 Introduction
AVR1900: Getting started with ATxmega128A1 on STK600 1 Introduction This document contains information about how to get started with the ATxmega128A1 on STK 600. The first three sections contain information
More informationAVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction
AVR1510: Xplain training - XMEGA USART Prerequisites Required knowledge AVR1500: Xplain training XMEGA Basics AVR1502: Xplain training XMEGA Direct Memory Access Controller Software prerequisites Atmel
More informationStep Motor Controller. Application Note. AVR360: Step Motor Controller. Theory of Operation. Features. Introduction
AVR360: Step Motor Controller Features High-Speed Step Motor Controller Interrupt Driven Compact Code (Only 10 Bytes Interrupt Routine) Very High Speed Low Computing Requirement Supports all AVR Devices
More informationAtmel s Self-Programming Flash Microcontrollers
Atmel s Self-Programming Flash Microcontrollers By Odd Jostein Svendsli, Marketing Manager Summary The third-generation Flash microcontrollers from Atmel are now available. These microcontrollers offer
More informationApplication Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration
AVR270: USB Mouse Demonstration Features Runs with AT90USB Microcontrollers at 8MHz USB Low Power Bus Powered Device (less then 100mA) Supported by any PC running Windows (98SE or later), Linux or Mac
More information8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming
AVR910: In-System Programming Features Complete In-System Programming Solution for AVR Microcontrollers Covers All AVR Microcontrollers with In-System Programming Support Reprogram Both Data Flash and
More informationAtmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.
Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures Features Compliance to USB 2.0 - Chapters 8 and 9 - Classes: HID, MSC, CDC, PHDC Interoperability: OS, classes, self- and bus-powered
More informationAVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1301: Using the XMEGA DAC Features 12 bit resolution Up to 1 M conversions per second Continuous drive or sample-and-hold output Built-in offset and gain calibration High drive capabilities Driver source
More informationAVR068: STK500 Communication Protocol. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR068: STK500 Communication Protocol Features Interfaces both STK500 and AVRISP Supports STK500 FW 2.XX 1 Introduction This document describes the 2.0 version of the communication protocol between the
More informationPowerQUICC II Pro (MPC83xx) PCI Agent Initialization
Freescale Semiconductor Application Note Document Number: AN3373 Rev. 0, 04/2007 PowerQUICC II Pro (MPC83xx) PCI Agent Initialization by: David Smith Field Application Engineering Raleigh, NC In many designs,
More informationApplication Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge
AVR272: USB CDC Demonstration UART to USB Bridge Features Supported by Windows 2000 or later No driver installation Virtual COM Port Enumeration USB to RS232 Bridge with dynamic baudrate Bus powered 8-bit
More informationAVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR287: USB Host HID and Mass Storage Demonstration Features Based on AVR USB OTG Reduced Host Runs on AT90USB647/1287 Support bootable/non-bootable standard USB mouse Support USB Hub feature (Mass Storage
More informationAVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1922: Xplain Board Controller Firmware Features USB interface - Mass-storage to on-board DataFlash memory Atmel AVR XMEGA TM reset control 1 Introduction The Xplain board controller, an AT90USB1287,
More informationProduction Flash Programming Best Practices for Kinetis K- and L-series MCUs
Freescale Semiconductor Document Number:AN4835 Application Note Rev 1, 05/2014 Production Flash Programming Best Practices for Kinetis K- and L-series MCUs by: Melissa Hunter 1 Introduction This application
More informationAN2557 Application note
Application note STM32F10x in-application programming using the USART Introduction An important requirement for most Flash-memory-based systems is the ability to update firmware when installed in the end
More informationApplication Note. 8-bit Microcontrollers. AVR307: Half Duplex UART Using the USI Module
AVR307: Half Duplex UART Using the USI Module Features Half Duplex UART Communication Communication Speed Up To 230.4 kbps at 14.75MHz Interrupt Controlled Communication Eight Bit Data, One Stop-bit, No
More informationMCF54418 NAND Flash Controller
Freescale Semiconductor Application Note Document Number: AN4348 Rev. 0, 09/2011 MCF54418 NAND Flash Controller by: Liew Tsi Chung Applications Engineer 1 Introduction The ColdFire MCF5441x family is the
More informationFeatures INSTRUCTION DECODER CONTROL LOGIC AND CLOCK GENERATORS COMPARATOR AND WRITE ENABLE EEPROM ARRAY READ/WRITE AMPS 16
July 2000 FM9346 (MICROWIRE Bus Interface) 1024- Serial EEPROM General Description FM9346 is a 1024-bit CMOS non-volatile EEPROM organized as 64 x 16-bit array. This device features MICROWIRE interface
More informationThe Programming Interface
: In-System Programming Features Program any AVR MCU In-System Reprogram both data Flash and parameter EEPROM memories Eliminate sockets Simple -wire SPI programming interface Introduction In-System programming
More informationAVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR353: Voltage Reference Calibration and Voltage ADC Usage Features Voltage reference calibration. - 1.100V +/-1mV (typical) and < 90ppm/ C drift from 10 C to +70 C. Interrupt controlled voltage ADC sampling.
More informationTCG. TCG Storage Application Note: Encrypting Storage Devices Compliant with Enterprise SSC. Specification Version 1.00 Final Revision 1.
TCG Storage Application Note: Encrypting Storage Devices Compliant with Enterprise SSC Specification Version 1.00 Final Revision 1.00 December 21, 2009. Contacts: admin@trustedcomputinggroup.org TCG Copyright
More informationSTK 500, AVRISP, AVRISP
AVR053: Calibration of the internal RC oscillator Features Calibration using STK 500, AVRISP, AVRISP mkii, JTAGICE or JTAGICE mkii Calibration using 3 rd party programmers Adjustable RC frequency with
More informationAN3998 Application note
Application note PDM audio software decoding on STM32 microcontrollers 1 Introduction This application note presents the algorithms and architecture of an optimized software implementation for PDM signal
More informationCorporate and Payment Card Industry (PCI) compliance
Citrix GoToMyPC Corporate and Payment Card Industry (PCI) compliance GoToMyPC Corporate provides industryleading configurable security controls and centralized endpoint management that can be implemented
More information8051 Flash Microcontroller. Application Note. A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller
A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller Features Temperature range -55 C to +125 C in.5 C increments LCD Display RS485 Interface Applicable to any AT89LP Microcontroller C and
More informationAT91 ARM Thumb Microcontrollers. Application Note. GNU-Based Software Development on AT91SAM Microcontrollers. 1. Introduction. 2.
GNU-Based Software Development on AT91SAM Microcontrollers 1. Introduction Most development solutions used today in the ARM world are commercial packages, such as IAR EWARM or ARM RealView. Indeed, they
More informationMF1 IC S50. 1. General description. Functional specification. 1.1 Contactless Energy and Data Transfer. 1.2 Anticollision. Energy
Rev. 5.2 15 January 2007 Product data sheet 001052 PUBLIC 1. General description NXP has developed the Mifare to be used in contactess smart cards according to ISO/IEC 14443A. The communication layer (
More informationSecurity & Chip Card ICs SLE 44R35S / Mifare
Security & Chip Card ICs SLE 44R35S / Mifare Intelligent 1 Kbyte EEPROM with Interface for Contactless Transmission, Security Logic and Anticollision according to the MIFARE -System Short Product Info
More informationAN3155 Application note
Application note USART protocol used in the STM32 bootloader Introduction This application note describes the USART protocol used in the STM32 microcontroller bootloader. It details each supported command.
More informationSerial port interface for microcontroller embedded into integrated power meter
Serial port interface for microcontroller embedded into integrated power meter Mr. Borisav Jovanović, Prof. dr. Predrag Petković, Prof. dr. Milunka Damnjanović, Faculty of Electronic Engineering Nis, Serbia
More informationtinyavr Microcontrollers White Paper is the registered trademark of Atmel Corporation, 2325 Orchard Parkway, San Jose, CA 95131 Rev.
tinyavr Microcontrollers White Paper is the registered trademark of Atmel Corporation, 2325 Orchard Parkway, San Jose, CA 95131 R Rev. Table of Contents Introduction to Microcontrollers... 1 Microcontroller
More informationAVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel
AVR115: Data Logging with Atmel File System on ATmega32U4 Microcontrollers 01101010 11010101 01010111 10010101 Application Note 1 Introduction Atmel provides a File System management for AT90USBx and ATmegaxxUx
More informationUSER GUIDE EDBG. Description
USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel
More informationMeasurement and Analysis Introduction of ISO7816 (Smart Card)
Measurement and Analysis Introduction of ISO7816 (Smart Card) ISO 7816 is an international standard related to electronic identification cards with contacts, especially smart cards, managed jointly by
More informationAVR055: Using a 32kHz XTAL for run-time calibration of the internal RC. 8-bit Microcontrollers. Application Note. Features.
AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC Features Calibration using a 32 khz external crystal Adjustable RC frequency with maximum +/-2% accuracy Tune RC oscillator at any
More informationWhite Paper Using the Intel Flash Memory-Based EPC4, EPC8 & EPC16 Devices
White Paper Introduction Altera enhanced configuration devices provide single-device, advanced configuration solutions for high-density Altera FPGAs. The core of an enhanced configuration device is divided
More informationSPC5-FLASHER. Flash management tool for SPC56xx family. Description. Features
Flash management tool for SPC56xx family Data brief Flash verify: check the Flash content with a binary image file Unsecure sequence for censored device: sending the private password selected from the
More informationAVR316: SMbus Slave Using the TWI Module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
VR36: SMbus Slave Using the TWI Module Features Supports 9 different SMBus protocols acket error checking (EC) Interrupt-driven SMBus slave driver Sample implementation with demonstration of all supported
More informationCRYPTOMEMORY POWERFUL SECURITY AT LOW COST
CRYPTOMEMORY POWERFUL SECURITY AT LOW COST By Eustace Asanghanwa, Crypto & RF Memory Applications Summary Many systems and products have the need to combat piracy or securely store information. Secure
More informationAcuityLink. Clinician Notifier. Software installation instructions. Software version 1.5x
AcuityLink Clinician Notifier Software installation instructions Software version 1.5x ii Welch Allyn AcuityLink Clinician Notifier 2013 Welch Allyn. All rights are reserved. To support the intended use
More informationMAX II ISP Update with I/O Control & Register Data Retention
MAX II ISP Update with I/O Control & Register Data Retention March 2006, ver 1.0 Application Note 410 Introduction MAX II devices support the real-time in-system mability (ISP) feature that allows you
More informationUsing RFID Technology to Stop Counterfeiting
Using RFID Technology to Stop Counterfeiting By Eustace Asanghanwa, Crypto & RF Memory Applications Summary RFID technology is well known for providing labeling solutions to automate inventory control.
More informationApplication Note. Atmel ATSHA204 Authentication Modes. Prerequisites. Overview. Introduction
Application Note Atmel Authentication Modes Prerequisites Hardware Atmel AT88CK454BLACK Evaluation Board Atmel AT88CK109STK8 Kit Software Atmel Crypto Evaluation Studio (ACES) Overview Understand which
More information