FLASH MEMORY PROJECT | FILE SYSTEM FEATURES IN FLASH MEMORY Boris Lapshin, supervised by Amit Berman...

Preview:

Citation preview

FLASH MEMORY PROJECT | FILE SYSTEM FEATURES IN FLASH MEMORY

Boris Lapshin, supervised by Amit Berman2012-2013, semester A

Mid-semester presentation

FLASH M

EMO

RY PROJECT | ABSTRACT

PROJECT OVERVIEW

Main goals• Create basic memory controller – first steps

• Learn uController design• Understanding the FW basics • Create “hello world” program – test_led• Connect flash memory to controller

Implementation requirements• Memory read/write/erase • Basic FW funtions• init• reset (erase)• write_block• read block• send commands• USB stack

FLASH M

EMO

RY PROJECT | PLATFO

RMArduino and compatibleNIOS 2 on Altera DE2 board

o Powerful boardo Ready to customize-and-useo Enough GPIO pinso Available in Labo Hard to understand

TI Stellaris LaunchPad

….and the winner is: TI!

o Not HW-configurableo Not enough GPIO pinso Easy to learno Not Available in Lab

o Ultra low power (and low-cost) boardo Cortex-M4 core @80MHzo Enough GPIO pinso Video tutorialso USB2.0 stack

FLASH M

EMO

RY PROJECT | ARCH

ITECTURE

HARDWARE ABSTRACTION LAYER

ONFI MLC NANDMicron MT29F64G08CBAAAWP

Stellaris LaunchPad– FW control, and power

PC (IO)via microUSB

PC (Debug and control)via microUSB (debug port)

FLASH M

EMO

RY PROJECT | ARCH

ITECTURE

HW AND SW STRUCTURE

MICRONMT29F64G08CBAAAWP

TI MCU LX4F120H

ONFI

TI StellarisLaunch Pad

LM4F120XLHOST

Power

USB2.0

specs

FLASH M

EMO

RY PROJECT | BO

ARD CO

NECTIO

NS

HW PINOUT

Pinout from NAND chip to Stellaris

FLASH M

EMO

RY PROJECT | SW

ARCHITECTU

RESW ARCHITECTURE

MAIN_SM• Maintain major

machine states and events

TIMINGS

• Definitions and macro to translate SW timings to HA, based on current frequency

INTERRUPTS• Block to handle

interrupt events

USB • Full-Speed USB2.0 Library

…• And there will be

more…

MAIN The main part of the project, initia-lization of memory and control of operations

FLASH M

EMO

RY PROJECT | SCH

EDU

LEApproximate project schedule

Registration took a while, but I hope to cover this gap later

FLASH M

EMO

RY PROJECT | TO

OLS

TOOLS

Subversion system:Assembla SVN

uContriller programming:TI CCS v5

DEMO

Erase block

Program page

Verify page

THE END OF MID PRESENTATION

FLASH M

EMO

RY PROJECT | FIRST PH

OTO

SBONUS

FLASH M

EMO

RY PROJECT | CRU

CIAL FAB VIDEO

BONUS

Recommended