Atmel Corporation
DataFlash® and ARM MicrocontrollersThe ideal system solution
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 2
• Ideal for Data Storage Applications
– Digital voice storage
– Digital image storage
– Text/data storage
• Ideal for Code Storage Applications
– Many applications execute code out of RAM instead of Flash
– Program Code is stored in DataFlash and shadowed into RAM
– One DataFlash can store both code and data!
• The #1 Serial Interface Flash Family Since 1997!
DataFlash® Is...• Low Pin Count, Feature Rich Sequential Access Flash
• Incorporates Features Not Found in Other Flash
– Unique software and hardware features
– Features designed to provide optimum flexibility
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 3
NOR Flash MemoryArray with Small Pages
SPI compatibleSerial Interface
Chip SelectInput allows
multipledevices on the
same bus
RESETRESET input inputallows theallows theSystem toSystem to
Terminate AnyTerminate AnyOperationOperation
Write ProtectWrite ProtectProvides methodProvides method
to protect ato protect aportion of theportion of thememory Arraymemory Array
Dual SRAM BuffersDual SRAM Buffers to toprovide enhancedprovide enhanced
flexibility andflexibility andsimultaneous read orsimultaneous read or
write operationswrite operations
HighSpeedClock
MultipleMultipleData PathsData Pathsfor Readingfor Readingand Writingand Writing
RDY/BSYRDY/BSYoutputoutput
provides theprovides thedevice statusdevice status
I/O INTERFACEI/O INTERFACE
SISI SOSO
FLASH MEMORY ARRAY
PAGE SIZE = BUFFER SIZE
BUFFER 1BUFFER 1 BUFFER 2BUFFER 2SCKSCK
WPWP
RESETRESET
RDY/BSYRDY/BSY
DataFlash® Block Diagram
CSCS
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 4
– 264 bytes (1M, 2M, 4M, and 8M)
– 528 bytes (16M and 32M)
– 1056 bytes (64M and 128M)
– 2112 bytes (256M)
– Separate erase cycle not required prior to writing
– Same size as a DataFlash page
– Eases data manipulation
– Allows self-contained read-modify-write operations
– Uses proven NOR Flash technology
– 2.7V and 2.5V read and write
– 4mA-5mA typical read current
– Simple serial interface (SPI compatible)
– Dual-interface (serial and 8-bit) on 64M+ densities
– Low active pin count
100% GOOD BITS
SINGLE CYCLE PROGRAMMING
ON-CHIP SRAM BUFFERS
FEATURE
VERY SMALL PAGE SIZES
SINGLE VOLTAGE OPERATION
SEQUENTIAL ACCESS
DATAFLASH FEATURES
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 5
DataFlash vs. Parallel Flash– Parallel Flash Not Needed - (code shadowing or data storage)
– Pad limitation on the ASIC can easily occur
– A serial memory reduces the number of bond pads on theASIC
• Design using a 4Mbit Parallel Flash• 30 Interface Pins Required (19 Address, 8 Data, 3 Control)
• ASIC May Be Pad Limited Because of Parallel Flash Interface
• Design using a 4Mbit DataFlash• Only 4-7 Interface Pins Required
• Reduces Number of Bond Pads on the ASIC• Reduces the ASIC’s Die Size• Reduces the ASIC’s Package Size and Pin Count• Saves Board Space (8-pin SOIC vs. 32-pin PLCC)
DataFlash saves Money!
8-lead SOIC
32-lead PLCC
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 6
Parallel flash requires 39signals to be routed. 20address, 3 control and 16 I/O’s 48-pin TSOP - 240mm2
ASIC/micro
16Mbitflash
A19
A0
I/O0
I/O15
20 Address lines
16 Data lines
ASIC/micro
16MbitData-Flash
SI
SO
CS#
SCK
DataFlash requires only 4signals to be routed
DataFlash greatly reduces ASIC pin count andsimplifies system routing
Parallel flash Vs DataFlash
28-pin TSOP - 107mm2
8-pin CASON - 48mm2
Lower System
Cost!
CE#OE#WE#
Lower system power!
Reduced switching noise!
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 7
128M (x1/x8)AT45DB1282
• Single Voltage
• Multiple Architectures
• Multiple Interfaces
• Die shrinks for all densities-ensures long-term costeffectiveness and support
1997 1998 1999 2000
DE
VIC
ES
= Year of Introduction
2001 2002
2MAT45D/DB021
4MAT45D/DB041
8MAT45D/DB081
1MAT45D/DB011
2MAT45D/DB021
1MAT45D/DB011
2MAT45D/DB021
4MAT45D/DB041
8MAT45D/DB081
1MAT45DB011
2MAT45DB021
4MAT45D/DB041
8MAT45DB081
16MAT45DB161
32MAT45DB321
4MAT45D/DB041
8MAT45D/DB081
16MAT45D/DB161
16MAT45D/DB161
32MAT45DB321
64M (x1/x8)AT45DB642
1MAT45DB011B
2MAT45DB021B
4MAT45DB041B
8MAT45DB081B
16MAT45DB161B
32MAT45DB321B
64M (x1/x8)AT45DB642
1MAT45DB011B
2MAT45DB021B
4MAT45DB041B
8MAT45DB081B
16MAT45DB161B
32MAT45DB321B
64M (x1/x8)AT45DB642
2003
1MAT45DB011B
2MAT45DB021B
4MAT45DB041B
8MAT45DB081B
16MAT45DB161B
32MAT45DB321B
64M (x1/x8)AT45DB642
The DataFlash Family
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 8
PACKAGE OPTIONS
8-pin Solution -
» 8-pin SOIC (EIAJ - 5mm x 8mm) - 1M, 2M, 4M
» 8-pin CASON (6mm x 8mm) - 8M and 16M - Production Now!
– 8-pin SOIC and 8-pin CASON are footprint compatible and allow aneasy upgrade path!
• Easy to handle packages for consumer products
– 28-pin SOIC
» Upgrade path for 2M through 32M
• Small form-factor packages for portable products
– 28-pin TSOP - Upgrade path for 2M through 16M
– 8-pin SOIC (EIAJ) - Upgrade path for 1M through 4M
– 8-pin CASON- 8M and 16M, upgrade path from SOIC
– 14-pin TSSOP for 1M
– CBGA upgrade path for 1M through 256M
» All CBGAs have a 1mm ball pitch
8-pin SOIC
14-pin TSSOP
28-pin TSOP
28-pin SOIC
24-ball CBGA7mm x 9.5mm
8-ball dBGA
24-ball CBGA6mm x 8mm
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 9
8-pin Road Map128Mbit in 8-pins mid 2004
DataFlash will offer 8-pin compatible solutions at higher andhigher densities!
• Today- 1M thru 4M in SOIC, 8M and 16M in CASON•SOIC and CASON are footprint compatible
• 0.18um- 32M in CASON (Q403)• 0.13um- 64M and 128M in CASON!
CASON socket adapter by Emulation TechnologyAS-08-20-01-ML-6 www.emulation.com
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 10
• The DataFlash Is the Only Nonvolatile Memory YourDesign Needs
– Flexible architecture allows DataFlash to store all of your codeand data
SECTOR 0 (8 Pages)SECTOR 0 (8 Pages) E2PROM DataE2PROM Data
SECTOR 1 (248 Pages)SECTOR 1 (248 Pages) Boot BlockBoot Block
Program CodeProgram CodeSECTOR 2 (256 Pages)SECTOR 3 (256 Pages)SECTOR 2 (256 Pages)SECTOR 3 (256 Pages)
SECTOR 30 (256 Pages)SECTOR 31 (256 Pages)SECTOR 30 (256 Pages)SECTOR 31 (256 Pages)
••••••
Data StorageData StorageSECTOR 32 (256 Pages)SECTOR 33 (256 Pages)SECTOR 32 (256 Pages)SECTOR 33 (256 Pages)
SECTOR 63 (256 Pages)SECTOR 64 (256 Pages)SECTOR 63 (256 Pages)SECTOR 64 (256 Pages)
••••••
ProtectedProtectedbybyWPWP
128M DataFlash Example128M DataFlash Example
• Boot code to be shadowed• Doesn’t get updated and needs to be locked• Store it uncompressed for fast shadow time• Use DataFlash sector 1
• Boot code to be shadowed• Doesn’t get updated and needs to be locked• Store it uncompressed for fast shadow time• Use DataFlash sector 1
• Program code to be shadowed• Store it compressed to save space• Atmel can provide the compression routines
• Program code to be shadowed• Store it compressed to save space• Atmel can provide the compression routines
• Nonvolatile user data space• Store data or downloaded applications• Atmel can provide the following:
• Flash file system• ECC• Wear leveling
• Nonvolatile user data space• Store data or downloaded applications• Atmel can provide the following:
• Flash file system• ECC• Wear leveling
• Configuration/parametric data• Typically stored in serial E2PROM• Use DataFlash sector 0 instead!
• Configuration/parametric data• Typically stored in serial E2PROM• Use DataFlash sector 0 instead!
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 11
• Time to Market Is Key in Today’s Competitive Environment
– System designers want “canned” solutions to reducedevelopment time
• The DataFlash Software Suite Provides Extensive Solutions
– Basic drivers for all DataFlash functions
– Flash file system (FAT12 and FAT16 based)
– Error detection and correction
– Wear leveling and Auto Page Rewrite routines
– Compression and decompression
– All code is written in C
• Software and Manuals (Soft Copy) Provided Free of Charge
– Customers must sign an Atmel license agreement
• Available NOW
DataFlash Software Suite DFSSTM
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 12
• DataFlash is an ideal external memory solution!
– ARM 9 and ARM 7 products with native boot support forDataFlash!
» AT91RM9200 (Arm9) and AT91RM3400 (Arm7)
» The DataFlash Card is used for Program Code storage on theARM9 development kit. AT91RM9200-DK
– Other ARM 7 products can interface with DataFlash as well
» AT91M63200, AT91M55800A and AT91M42800A have an SPIinterface
» Other ARM 7 products can interface to DataFlash using GPIO(general purpose input/output pins)
• Refer to Software SPI Master Implementation applicationnote
ARM Based Solutions
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 13
Atmel ARM ProductsUse DataFlash for Program Code Storage
• Program code stored in serial DataFlash
• On-chip Bootloader “shadows” theprogram code from DataFlash into SDRAMat system startup
• Application firmware runs out of SDRAM
• Uses DataFlash cards for easy systemupgrade
• Benefits
– Reduced board space, Powerconsumption and Cost
– DataFlash can be used for data storagealso
– Lower load on high speed externalmemory bus improves speed and EMI
ROM
I
DataFlash
SDRAM
EBI
ARM920
Program codestored here
Program code is executed from SDRAM
At power upthe programcode is read fromDataFlash andwritten into SDRAM
SPI
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 14
ARM9 Development KitAT91RM9200-DK
DataFlash CardMMC/SD-Card
SC Reader
Ethernet 10/100
JTAG ICEETM Trace
Serial Debug Port
UART Modem Port
Monitor Connector 800x600DUAL USB Host Port USB Device Port
IrDA
Compact Flash
Smart Media
Atmel Fingerchip(on-request)
Phone Line
Audio output
Program code storedin DataFlash Card
DataFlash®… Pure Genius
ARM and DataFlash 2003-Slide 15
ASPECT BENEFITS
FLEXIBLE ARCHITECTURE – Reduces software complexity and overhead
– Small page sizes – Less code space required
– On-chip SRAM buffers – No need for separate serial E2PROM
– Easy data manipulation – Reduces and/or eliminates need for "buffer RAM"
– Saves development time and system cost!
LOW PIN COUNT SOLUTION – Smaller package options compared to parallel Flash
– Minimum of 4 pins needed to interface – Reduces needed board space
– Small package options available – Simplified PCB routing
– Higher board reliability
– Reduces ASIC pin counts
– Can reduce ASIC die and package sizes
– Saves development time and system cost!
Key DataFlash PointsKey DataFlash Points
• Don’t Forget that DataFlash Is Also a Low Power Solution
– 4mA to 5mA typical read current
– 2µA typical standby current
• Don’t Forget that DataFlash Is Also a Low Power Solution
– 4mA to 5mA typical read current
– 2µA typical standby current
DATAFLASH CAN PROVIDE A TOTAL SYSTEM COST SAVINGSDATAFLASH CAN PROVIDE A TOTAL SYSTEM COST SAVINGS