English
Language : 

UM1653 Datasheet, PDF (1/45 Pages) STMicroelectronics – STM32 Advanced NAND Flash Driver for SLC NAND
UM1653
User manual
STM32 Advanced NAND Flash Driver for SLC NAND
Introduction
The NAND driver library for STM32 is a generic library from which STM32 can access
NAND with advanced features like garbage collection, wear leveling, bad block
management, ECC checking etc.
The NAND Flash driver supports dynamic NAND Flash detection based on the Device ID.
The driver automatically detects the mounted SLC NAND Flash and works accordingly
(described in more detail in Section 2.8). This solution runs on the STM32F1, STM32F2 &
STM32F4 series of microcontrollers using the FSMC interface.
The board can run in two modes: USB Mass Storage mode and Standalone mode.
 In USB Mass Storage mode, the NAND Flash works as USB mass storage media.
 In Standalone mode, the .bmp images stored in the ‘pics’ folder of the root directory are
read using FatFS file system, and displayed on the onboard TFT LCD.
Six evaluation boards are available for this SLC NAND FLASH Driver:
 STEVAL_CCM006V1: USB mass storage mode demo using STM32F103ZET6
 STEVAL_CCM006V2: Standalone mode demo using STM32F103ZET6
 STEVAL_CCM007V1: USB Mass Storage mode Demo using STM32F205ZET6
 STEVAL_CCM007V2: Standalone mode Demo using STM32F205ZET6
 STEVAL_CCM008V1: USB Mass Storage mode Demo using STM32F405ZGT6
 STEVAL_CCM008V2: Standalone mode Demo using STM32F405ZGT6
NAND is a non-volatile Flash memory device where address lines are multiplexed with data
input/output and commands input. The NAND driver library has the following features:
1. Supports both FAT file system and USB MSC device.
2. Supports SLC NAND with page size of 512 Bytes & 2 KBytes.
3. Garbage collection.
4. Wear leveling.
5. Bad block management.
6. ECC check.
This document applies to the following microcontrollers:
 STM32L151xD, STM32L152xD, STM32L1562xD.
 STM32F405/415, STM32F407/417, STM32F427/437, STM32F429/439 lines.
 STM32F2 Series.
 STM32F103xC, STM32F103xD and STM32F103xE, STM32F103xF, STM32F103xG,
STM32F101xC, STM32F101xD and STM32F101xE, STM32F101xF, STM32F101xG,
STM32F100xC, STM32F100xD, STM32F100xE.
November 2013
DocID025024 Rev 1
1/45
www.st.com