ATEVK525 Mass Storage Board for AVR ..............................................................................................
Section 1 Introduction ........................................................................................... 1-3 1.1 1.2 Overview ...................................................................................................1-3 ATEVK525 AVR Mass Storage Board Features .......................................1-4 Section 2 Using the ATEVK525............................................................................ 2-5 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Getting started .................................
Section 1 Introduction Congratulations on acquiring the AVR® ATEVK525. This kit is an extension board designed to enhance and demonstrate Mass Storage features in addition to the existing development boards supporting the AT90USBxxx family. 1.1 Overview This document describes the ATEVK525 dedicated to the AT90USBxxx microcontroller. This board is designed to allow an easy evaluation of USB Mass Storage using demonstration software.
Introduction Figure 1-1 . ATEVK525 1.2 ATEVK525 AVR Mass Storage Board Features The ATEVK525 provides the following features: NAND Flash chip soldered (Micron MT29F2G08AACWP, 256 MBytes) Reserved location additional NAND Flash chips module plug-in Receptacle for SD and MMC memory cards LED signalling for Read/Write operations Power supply : – 3.
Section 2 Using the ATEVK525 This chapter describes the board and all its features. 2.1 Getting started 2.1.1 Plugging the board The ATEVK525 is an extension board that must be plugged on another microcontroller hosting board, like STK525 (AT90USBxxx support), that provides supply voltage. Figure 2-1 .
Using the ATEVK525 2.1.2 Power supply The ATEVK525 must be powered with a voltage between 2.8 and 3.5V. Before connecting or powering the boards, you must ensure the power supply configuration on the motherboard. The voltage must be set to 3.3V (microcontroller I/O levels), and this voltage must be present on the VTG pins of the EXPAND connectors. On the STK525, the configuration must be: – JP4 closed (ties 3.3V to VTG pins) – VCC SOURCE set to REG 3.3 mode (powers microcontroller I/O at 3.
Using the ATEVK525 2.1.3 Protection circuitry The ATEVK525 includes an optional power supply protection circuit that prevents onboard resources from being damaged. Figure 2-3 . Power protection circuit location This supplement, if mounted, protects the storage devices from voltage above 3.5V. In case of overvoltage detection, the power positive line of the extension board is not connected to devices, and the LED “PWR_FAIL” is lit.
Using the ATEVK525 Table 2-1 . NAND Flash pin assignment NAND Flash Microcontroller I/O[7:0] PORTA[7:0] (A7-A0) CLE PORTC0 (A8) Command Latch Enable ALE PORTC1 (A9) Data Latch Enable RE# PORTE1 (RD#) Read enable WE# PORTE0 (WR#) Write enable CE# PORTC2 (A10) Chip select (active low) (with on-board pull-up) R/B# PORTC6 Note: 2.2.2 Function Data and Address bus Ready / Busy# (pull-up must be enabled in micro) The ‘#’ character indicates that the corresponding signal is active low.
Using the ATEVK525 NFCON1 NFCON2 Pin # Function Pin # Function 4 WP0# 4 WP1# 5 VCC 5 D7 6 CLE 6 D6 7 ALE 7 D5 8 R/B1# 8 D4 9 CE0# 9 D3 10 R/B0# 10 D2 11 CE1# 11 D1 12 RE# 12 D0 13 WE# 13 GND Refer to the CD-ROM documentation if you wish to create your own PCB board and mount devices on this board (BOM and components placement). Each module can receive up to four different devices, according to the following placement : Table 2-3 .
Using the ATEVK525 NF Module Installation Figure 2-5 . NAND Flash module on the ATEVK525, plus MMC card See Note 1 When using the NAND Flash module, the following pin assignments do not change : Data/Address bus, CLE, ALE, RE#, WE#, WP# (Write Protect feature drives all the chips at the same time). Other signal assignments are grouped in the following table. Table 2-4 .
Using the ATEVK525 2.3 SD/MMC Card The ATEVK525 includes a receptacle compatible with SD and MMC memory cards. Figure 2-6 . SD card pinout (contact view) Note: 1. The MMC card defined by specification v3.31 and earlier have only the pins #1 to #7 2. The MMC card defined by specification v4.0 and later (MMC Plus, Extra..
Using the ATEVK525 2.4 LEDs Three LEDs are on the board: – PWR_FAIL: orange LED that signals an overvoltage condition if the protection circuit is mounted. This LED is optional. – WRITE: red LED connected to PORTD7 of micro (also LED1 on STK525), that may be driven by software when initiating a SCSI Write command – READ: green LED connected to PORTD5 of micro (also LED3 on STK525), that may be driven by software when initiating a SCSI Read command Figure 2-7 . On-board SCSI signalling LEDs 2.
Using the ATEVK525 2.6 Configuration Pads Configuration pads are used to disconnect/connect on-board peripherals or elements. Their default configuration is: connect. 2.6.1 Configuration Pads Listing Table 2-6 . Configuration Pads Config. Pads Reference Related Signals CP1 R/nB2 Connect Ready/notBusy signal from NF#2 (third NF of the optionnal module) to STK525 CP2 R/nB3 Connect Ready/notBusy signal from NF#3 (fourth NF of the optionnal module) to STK525 Note: 2.6.2 Function See section 2.2.
Using the ATEVK525 2.7 Solder Pads Solder pads are used to disconnect/connect on-board peripherals or elements. Their default configuration is: disconnect. User may solder the pad to enable it. 2.7.1 Solder Pads Listing Table 2-7 . Solder Pads 2-14 7740B–AVR–03/08 Solder. Pads Reference Related Signals Function SP1 VCC This solder pad allows power protection circuit bypassing. If this optional circuit is not mounted, this solder pad must be soldered.
Section 3 Software Implementation This section contains information about the software package, its performance and known limitations. 3.1 Software packages When you have connected the boards together and correctly checked their configuration, you are invited to run one of the available demonstration packages: USB Device External Multi Disk Drives.
Software Implementation – – – – – – – – – – – – – – – – – – – – – cd dirname (change to specified directory) ls (list current directory content) touch filename (create an empty file) append filename (add text to the specified file) mark (bookmark current directory) cp filename (copy filename to bookmark) rm filename (erase file or empty directory) format drivename (format the drive) deltree drivename (delete recursively a directory) cat filename (display file content) cd..
Software Implementation 3.2 Performances 3.2.1 Benchmark Table 3-1 .
Software Implementation 3.3 Driver limitations 3.3.1 DataFlash This is a mature driver that will not need to be substantially modified. This driver has been tested with the AT45DB321 and AT45DB642. If you look at the code, you will notice a special memory page management if 2 or 4 Dataflash devices are used on the same bus. In the case of 2 or 4 DataFlash sharing the same SPI bus (this is not the case here), the driver can interlace the memory pages to enhance write speed.
Software Implementation operations. Also, the support of more than one memory chip (facilitating memories interlacing) is not yet integrated in the driver. That also concerns memories that are made of several memory dies stacked (generaly memories of 4GBits and more). Supported device list : supported devices are listed in the NH.F file of the driver. 3.
Software Implementation – if you want to use only one other memory reference, you must define the memory name. For example, the board comes with the default configuration #define NF_TYPE_MT29F2G08AACWP – if you want to use different modules with different memory references, without modifying the driver, you must enable to TRUE either NF_AUTO_DETECT_2KB or NF_AUTO_DETECT_512B, according to the page size of the memory.
Section 4 Troubleshooting Guide Please refer to this guide before sending a request to AVR Technical Support. Main problems should be solved here. This guide assumes that the board driver file provided by Atmel is used. Figure 4-1 .
Troubleshooting Guide Problem Reason or Condition Bad physical contact SD/MMC does not work 7740B–AVR–03/08 Check the insertion direction. It can sound stupid, but that can happen to anybody... Check that the connector is not too old. Memory failure 4-22 Problem / Solution Memories are not immortal...Check the memory card with another memory reader.
Section 5 Technical Specifications System Unit – Physical Dimensions ................................................. L=119 x W=56 x H=23 mm – Weight ...........................................................................................................50 g Operating Conditions – Internal Voltage Supply ................................................................ 3.3V (+/-10%) – External Voltage Supply ................................................ 3.
Section 6 Technical Support For Technical support, please contact avr@atmel.com. When requesting technical support, please include the following information: Which target AVR device is used (complete part number) Target voltage and speed Clock source and fuse setting of the AVR Programming method (ISP, Parallel or specific Boot-Loader) Hardware revisions of the AVR tools, found on the PCB Version number of AVR Studio. This can be found in the AVR Studio help menu.
Section 7 Complete Schematics On the next pages, the following documents of ATEVK525 are shown: Complete schematics, Assembly drawing, Bill of materials.
OPTIONAL Overvoltage Protection Circuit R9 75k R4 150k VSRC C2 4,7µF 2 3 - + READ 6 5 - + 1 820 R3 R6 10k VSRC 820 R2 7 U1B LM393/SO VSRC SP1 VSRC D3 HSML-C170 PWR FAIL R7 47k Q1 Si2301 R12 820 VSRC U1A LM393/SO VSRC D2 HSMG-C170 D1 HSMC-C170 WRITE U2 LM385-1,2/SOT23 R5 47k VSRC 1 2 8 4 SO SCK GND AUXO1 DATA6 DATA4 DATA0 DATA9 SO CS XT2 VTG GND PB6 PB4 PB2 PB0 PD6 PD4 PD2 PD0 GND VCC C1 1µF 1 1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 GND TP10
Complete Schematics Figure 7-2 .
Complete Schematics Table 7-1 . Bill of Materials Qtty Schematic Reference Part Reference Description Case Tantalum 1µF 16V capacitor SMD 3216 CAPACITORS 1 C1 1µF 2 C2, C8 4.7µF Tantalum 4.
Complete Schematics 7.0.1 Default Configuration - Summary Table 7-2 . Default Configuration summary Name Ref. Function State Solder PADS PWR SP1 Power protection circuit bypassing SOLDERED Configuration PADS R/nB2 CP1 Connect R/nB signal from NF#2 CLOSED R/nB3 CP2 Connect R/nB signal from NF#3 CLOSED Optional components Power Protection Circuit See BOM Cut power supply if > 3.
Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) 26-426-5555 Fax: (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg.