Atmel ATEVK525 Hardware User's Manual

ATEVK525 Mass Storage Board for AVR
..............................................................................................
Hardware User Guide
Section 1
Introduction ........................................................................................... 1-3
1.1 Overview ...................................................................................................1-3
Section 2
Using the ATEVK525............................................................................ 2-5
2.1 Getting started ..........................................................................................2-5
2.2 NAND Flash ..............................................................................................2-7
2.3 SD/MMC Card.........................................................................................2-11
2.4 LEDs .......................................................................................................2-12
2.5 Test Points ..............................................................................................2-12
2.6 Configuration Pads .................................................................................2-13
2.7 Solder Pads ............................................................................................2-14
Section 3
Software Implementation .................................................................... 3-15
3.1 Software packages .................................................................................3-15
3.2 Performances..........................................................................................3-17
3.3 Driver limitations......................................................................................3-18
3.4 Usage Notes ...........................................................................................3-19
3.5 Handling another NAND Flash device ....................................................3-19
Section 4
Troubleshooting Guide ....................................................................... 4-21
Section 5
Technical Specifications ..................................................................... 5-23
Section 6
Technical Support............................................................................... 6-24
Section 7
Complete Schematics......................................................................... 7-25
ATEVK525 Mass Storage Board for AVR User Guide 1
7740B–AVR–03/08

1.1 Overview

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.
This document describes the ATEVK525 dedicated to the AT90USBxxx <Generic Product Name> microcontroller. This board is designed to allow an easy evaluation of USB Mass Storage using demonstration software.
The ATEVK525 board has been designed to be plugged into the Atmel STK525 Starter Kit Board in order to add Mass Storage capability to an existing development board, and to combine them with other features (USB, RS232, Microphone..., but also all AVR development tools), reducing the extension board complexity and cost.
This user guide acts as a general getting started guide as well as a complete technical reference for advanced users.
ATEVK525 Mass Storage Board for AVR 1-3
7740B–AVR–03/08
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.3V regulated from motherboard – Additional overvoltage protection circuitry (optional) with failure indicator
Numerous access points for debug
1-4 ATEVK525 Mass Storage Board for AVR
7740B–AVR–03/08

2.1 Getting started

2.1.1 Plugging the board
Section 2

Using the ATEVK525

This chapter describes the board and all its features.
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 . Connecting the ATEVK525 under the STK525
Note: The
ATEVK525 Mass Storage Board for AVR 2-5
ATEVK525 can also be plugged onto the STK525, but in this configuration, the user must take care to avoid contact between the board and either the JTAG plug or the microcontroller ZIF socket.
7740B–AVR–03/08
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.3V)
Figure 2-2 . Configuration to set on STK525
NAND Flash (MT29F2G08AACWP) current consumption is 1mA maximum in idle state, and can reach 30mA (15mA typ.) during access operations (read/write/erase). For the SD/MMC card consumption, please refer to your SD/MMC card datasheet.
2-6 ATEVK525 Mass Storage Board for AVR
7740B–AVR–03/08
2.1.3 Protection circuitry
Using the ATEVK525
The ATEVK525 includes an optional power supply protection circuit that prevents on­board 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.
If the supplement is not mounted or needs to be disabled, the solder pad SP1 must be soldered to connect power supply of the on-board resources (see photo above).

2.2 NAND Flash

2.2.1 Default device
The ATEVK525 comes with one NAND Flash chip soldered. At the time of writing, this chip is the Micron MT29F2G08AACWP that features:
2 GBits (256 MBytes) organized as:
– 2048 blocks – block size : 64 pages – page size : 2112 bytes (2048 + 64 in spare zone)
Page program time of 300µs, Block erase time of 2ms
Copy-Back feature (enable cache transfers between blocks to speed up write
operation; no memory zone / address limitation)
The memory access is managed by the External Memory Interface hardware peripheral of the AT90USBxxx microcontroller. Data and Address information share the same 8-bit wide bus connected to the lowest bits of Memory Interface (A7-A0), while the Control signals are connected to upper bits:
ATEVK525 Mass Storage Board for AVR 2-7
7740B–AVR–03/08
Using the ATEVK525
1
1
13
13
NFCON1
NFCON2
Table 2-1 . NAND Flash pin assignment
NAND Flash Microcontroller Function
I/O[7:0] PORTA[7:0] (A7-A0) Data and Address bus
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 Ready / Busy# (pull-up must be enabled in micro)
Note: The ‘#’ character indicates that the corresponding signal is active low.
2.2.2 Additional devices
NAND Flash Module Description If another memory device is required for development or evaluation purpose, it is still
possible to install it on the ATEVK525 through an additional module as described below.
The board provides two SIP-13 receptacle footprints (2.54mm pitch). Users can solder a receptacle on the board and then insert a NAND Flash module described below, or directly solder the module.
Figure 2-4 . NAND Flash module example
Table 2-2 . NAND Flash module pin-out description
Pin # Function Pin # Function
1 WP2# 1 WP3#
NFCON1 NFCON2
2 CE3# 2 R/B3#
3 CE2# 3 R/B2#
2-8 ATEVK525 Mass Storage Board for AVR
7740B–AVR–03/08
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 . NAND Flash devices placement
ATEVK525 Mass Storage Board for AVR 2-9
7740B–AVR–03/08
Loading...
+ 21 hidden pages