Designing with External Flash Memory on Renesas Platforms

Slides:



Advertisements
Similar presentations
Flash storage memory and Design Trade offs for SSD performance
Advertisements

Chapter 5 Internal Memory
MC68HC11 System Overview. System block diagram (A8 version)
Under Embargo until December 10, 2007 Introducing Cypress West Bridge™Astoria TM.
Lecture Objectives: 1)Explain the limitations of flash memory. 2)Define wear leveling. 3)Define the term IO Transaction 4)Define the terms synchronous.
Avishai Wool lecture Introduction to Systems Programming Lecture 8.3 Non-volatile Memory Flash.
Computer ArchitectureFall 2008 © November 12, 2007 Nael Abu-Ghazaleh Lecture 24 Disk IO.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L02B Introduction to the RX-Arduino (Lab) Anthony.
NS Training Hardware. Memory Interface Support for SDRAM, asynchronous SRAM, ROM, asynchronous flash and Micron synchronous flash Support for 8,
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: CL06B Sensors Fundamentals Dragos Bogdan, MCU Application.
Computer Architecture Part III-A: Memory. A Quote on Memory “With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Instant Connectivity for the “Internet of Things”
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Rapid Development on the Renesas RX63N RDK using.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Introduction to RoweBots’ Ultra Tiny Linux RTOS.
File system support on Multi Level Cell (MLC) flash in open source April 17, 2008 Kyungmin Park Software Laboratories Samsung Electronics.
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
Introduction to Computing: Lecture 4
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
CPU (CENTRAL PROCESSING UNIT): processor chip (computer’s brain) found on the motherboard.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A15C: Application Code Reprogramming Using Different Serial.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 320L: Rapid RX600 System Development Using the RPDL and.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L13B David Hedley, Applications Engineer Advanced.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. RX Family Overview Introduction A.
2010 IEEE ICECS - Athens, Greece, December1 Using Flash memories as SIMO channels for extending the lifetime of Solid-State Drives Maria Varsamou.
File Systems in Real-Time Embedded Applications March 7th Eric Julien Choosing the Right Storage Media 1.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Lecture 16: Storage and I/O EEN 312: Processors: Hardware, Software, and Interfacing Department of Electrical and Computer Engineering Spring 2014, Dr.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Know your Precise Position with RX600 MCU Huangsheng.
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Debugging on RX with IAR Embedded Workbench Micael.
Owner: SKRG Rev *A Tech lead: EWOO 1Mb Quad SPI nvSRAM Quick Presentation 1 Quick Presentation: 1Mb Quad SPI nvSRAM Eliminate Batteries and Reduce.
Renesas Electronics America © 2011 Renesas Electronics Corporation. All rights reserved. V850/Jx4 Series Ultra Low Power 32 bit MCUs March 2012.
I/O Computer Organization II 1 Introduction I/O devices can be characterized by – Behavior: input, output, storage – Partner: human or machine – Data rate:
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Virtual EEPROM and Flash API for.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Implementing Bootloaders on Renesas MCUs.
RL78 Code & Dataflash.
Owner: ABVY (SKRG, OHP, DCN, GHR, DSG, GMRL, JMY) Synchronous SRAM With On-Chip ECC Quick Presentation Rev **Tech Lead: SKRG 1 High-Performance,
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Low Power Design Michael Thomas, Applications Engineer.
“Supporting the Total Product Life Cycle”
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L05I Advanced Debugging on the RX600 Fatih Peksenar.
Quick Presentation: 128Mb to 1Gb Quad SPI FL-S NOR Flash Family FL-S = Cypress’s 3.0-V, 65-nm NOR Flash Memory Family With MirrorBit®1 Technology The.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 5L08I Using the Renesas Graphics API to Create.
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 421L: R8C Segment-LCD API Lab Bob Proctor Staff Engineer.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
“With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Software Building Blocks for Faster.
BUILDING AND IMPLEMENT A EMBEDDED WEB SERVER BASE ON TCP/IP STACK WITH A SoC PLATFORM Professor : CHI-JO WANG Name : Bui Quang Hoa (M982b211)
Chapter 5 Internal Memory
What you should know about Flash Storage
Memory COMPUTER ARCHITECTURE
Read Only Memory July 22, 2018.
Cache Memory Presentation I
Flash EEPROM Emulation Concepts
Cypress Automotive Flash Roadmap (NDA)
Flash Disk Technology Stop the Spin!
William Stallings Computer Organization and Architecture 8th Edition
Introduction to Microprocessors and Microcontrollers
Introduction I/O devices can be characterized by I/O bus connections
Subject Name: Embedded system Design Subject Code: 10EC74
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
2.C Memory GCSE Computing Langley Park School for Boys.
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Designing with External Flash Memory on Renesas Platforms Douglas Crane, Segment Manager Micron Technology CL23A

Douglas Crane Doug is a 27 year veteran in the electronics field. He currently works for Micron Technology as a Sr. Segment Manager driving application strategies, enabling the memory sub-system ecosystem and identifying roadmap requirements for embedded solutions group. Doug has been in the memory business for 16 years, 6 of which is with Micron and 10 with Toshiba in technical marketing roles for memory products. Prior to his memory experience, he spent 11 years involved in systems engineering at McDonnell Douglas and Rockwell. Doug has a BS in Applied Physics from University of California Irvine, MSEE from Cal State Fullerton, and an MBA from the University of Southern California. Doug has been involved in memory standards committee of JEDEC as well as been in the JEDEC board of directors

Renesas Technology & Solution Portfolio The wealth of technology you see here is a direct result of the fact that Renesas Electronics Corporation was formed on April 1, 2010 as a joint venture between Renesas Technology and NEC Electronics — Renesas Technology having been launched seven years ago by Hitachi, Ltd. and Mitsubishi Electric Corporation. There are four major areas where Renesas offers distinct technology advantage. --The Microcontrollers and Microprocessors are the back bone of the new company. Renesas is the undisputed leader in this area with 31% of W/W market share. --We do have a rich portfolio of Analog and power devices. Renesas has the #1 market share in low voltage MOSFET solutions. --We have a rich portfolio of ASIC solution with an advanced 90nm, 65nm, 40nm and 28nm processes. The key solutions are for the Smart Grid, Integrated Power Management and Networking --ASSP: Industry leader for USB 2.0 and USB 3.0. Solutions for the cell phone market -- Memory: #1 in the Networking Memory market

Agenda Market Trends System Considerations Flash Cell Architectures RX62N PCM Demo Flash Memory Choices Summary

2012 Semiconductor Market Forecast Source: Gartner 3Q11

Memory Subsystem Designs/Architecture Execute in Place (XIP) Architecture “Store and Download” (SnD) Architecture Boot Data & Files NAND xRAM Working Static Shadow Code copied and fixed in place at boot NOR MCU Memory/Bus Controller I$ D$ MCU Memory/Bus Controller I$ D$ Code Data Flash xRAM Working Static Flash Flash xRAM xRAM Simple architecture Possible to reduce xRAM density Lower stand-by power Complex but higher performance More xRAM required Higher stand-by power

Platform Memory Mapping Internal Flash External Flash Memory SNOR PNOR Managed NAND x32 RH850 256K-8MB V850 16KB-2MB RX 32K-2MB 128Mb SuperH SH2/2A 16K-2MB SH4/4A X H8SX 128K-1MB X8/ x16 RL78 2KB-512KB 8Mb SoC R Car H1 eMMC R Car M1x

System Cost Reductions and Simplification Software Architecture System Architecture N+1 N NVM RAM Boot Code + OS Shadowed Code High Read N+2 Critical Data N+3 High Write Memory Banks Complimentary I/O CPU Main Memory E2 NOR/NAND BatRAM/nvRAM Understand your usage model xRAM usage models How many CE#/banks do you use Why might you split memory into separate chips Other system SW requirements (file system, data logging, etc) System BOM Can you eliminate or partially eliminate any unnecessary memory? Performance vs. Cost ratio

Larger Data Fetches

Performance Comparison – Small Data

Cell Architectures Floating Gate Technologies PCM Technology Electron Storage PCM Technology

PCM Benefits Bit alterability Scaling Endurance Bit Errors 1 1 1 No erase required 1 90 & 45nm today 5nm future Endurance Bit Errors

Hardware Setup Embedded components: Enter Renesas RX62N development board Embedded components: RX62N microcontroller Micron SPI (P5Q) Additional components Micron SPI (M25P) 128Mb NOR SPI (M25P) Revise picture of the board USB use for power only Computes Electrical outlet Enter 128Mb PCM SPI (P5Q) arrow up button arrow down button enter button

Micron/Renesas Software Comparing NOR vs PCM NOR SPI Industry erase & program PCM SPI PCM specific commands Data outputted Erase time Program time Assumptions: Image size (2-Mbytes) Clock frequency (30-MHz) Single I/O Choosing NOR (M25P) Choosing PCM (P5Q) Program Method Erase time = 16.608 Seconds Program time = 11.750 Seconds Output data

Experiment #1 … “NOR vs. PCM” Product background: Product Frequency Erase Size Program Size Program Command Cycles M25P 50MHz 2Mb 256 Bytes 02h 100,000 P5Q 66MHz 1Mb 64 Bytes 02h 1,000,000 Data collected: SF PMOD (M25P16) “Erase Before Program” SF2 PMOD (P5Q128) “Erase Before Program” Variables Image size, SPI mode & frequency Lessons learned: 3x improvement with minimal software changes

What is “Program on All 1’s” Floating Gate “Program” D1h PCM “Program on ALL 1’s” 10111001 10111001 Erase Block Erase Block 11111111 11111111 Program Data Program Data 01011010 01011010

Experiment #2 “Program on All 1’s” Product background: Product Frequency Erase Size Program Size Program Command Cycles M25P 50MHz 2Mb 256 Bytes 02h 100,000 P5Q 66MHz 1Mb 64 Bytes D1h 1,000,000 Data collected: SF PMOD (M25P16) “Erase Before Program” SF2 PMOD (P5Q128) “Program on All 1’s” Variables Image size, SPI mode & frequency Lessons learned: D1h is a smaller software change than 22h to get 4x improvement In-system program command can be used to improve performance

What is “Bit Alterable Write” Floating Gate Program 22h PCM Bit Alterable Write 10111001 10111001 10111001 YES! X NO! Erase Block Bit Alterable Write 01011010 11111111 01011010 Program Data 01011010 Faster performance Easier data manipulation

Experiment #3 “Bit Alterable Write” Product background: Product Frequency Erase Size Program Size Program Command Cycles M25P 50MHz 2Mb 256 Bytes 02h 100,000 P5Q 66MHz 128Kb 64 Bytes 22h 1,000,000 Data collected: SF PMOD (M25P16) “Erase Before Program” SF2 PMOD (P5Q128) “Bit Alterable” Variables Image size, SPI mode & frequency Lessons learned: PCM Bit alterability improves performance by 10x

Experiment #4 “Test Your Endurance” Product background: *Definition of Cycle: Floating Gate vs. PCM* Product Frequency Erase Size Program Size Program Command Cycles M25P 50MHz 2Mb 256 Bytes 02h 100,000 P5Q 66MHz 128Kb 64 Bytes 02h or 22h 1,000,000 Data collected: SF2 PMOD (P5Q128) “Erase Before Program” or “Bit Alterable” SF PMOD (M25P16) “Erase Before Program” Variables Image size, SPI mode & frequency Lessons learned: PCM offers 10x endurance vs. NOR

Data Summary & Brainstorming 3x Faster 4x Faster 6x Faster What application would PCM go into today

Your Own Development Board Link here to get your board or talk to your Renesas representative

Solutions for Different Requirements NOR vs. NAND Lowest Floor Cost ($) Lowest $/GB Serial NOR Parallel NOR SLC NAND Managed NAND MLC NAND Longer lifecycles Ease of use Diverse products Lower Floor cost Code, Code+Data Shorter lifecycles Focus on cost/GB Expanding markets Mostly Data Focused Customer requirements dictate the solution

NOR Product Attributes Simple command sets Cost effective at low densities Stable architectures Value added features (XiP, security, quality, small data, etc) Serial Low pin counts Easy PCB routing Smallest footprint Synchronous operations Cheapest low density Parallel Basic add/data interface Asynchronous random access Synchronous burst operations Higher throughput Best XiP architecture

NAND Product Attributes Low pin counts Cheapest cost/bit at high densities Frequent conversions/migrations required Fast programming Discrete Some controllers support boot Some standards (ONFI) Common packages Needs SW for error management Demand paging – saves bits Managed Error management onboard Some controllers support boot Higher density reach Easier conversions/migrations Standards (MMC, USB, uSD…)

Flash Architectures – Component Level All architectures have their advantages Trend in the industry moving toward the lower pin count architectures

NAND Technology Challenges How to manage the ECC requirements? NAND controllers with high ECC capability ECC NAND managed solutions on-die ECC, ClearNAND Fully managed solutions eMMC, eUSB, others How to manage lower endurance? Understand the application and usage model How does the file system work? How often are you programming? How big is the data file/s? What is the PLC of your system? Determines PE Cycles and density required Intersecting your project and the memory technology is key to success!

NAND System Solutions for Industry Raw NAND Host Controller I NAND Interface LLD ECC FTL NAND BUS Raw NAND for application “expert” with NAND data management and ready to support ECC needs. ECC NAND Host Controller II NAND Interface LLD FTL NAND BUS ECC ECC NAND for application that do not want to change the ECC with the NAND litho shrink. SPI ECC Host Controller III SPI Interface LLD SPI BUS FTL Serial NAND for application requiring high density with serial protocol. eMMC NAND ECC FTL Host Controller IV eMMC Interface LLD MMC BUS eMMC interface for application that want to offload by any NAND data management with a standard interface. eUSB NAND ECC FTL Host Controller V eUSB Interface LLD USB BUS eUSB interface for application that want to offload by any NAND data management with a standard interface.

Memory Technology Comparison Attributes PCM DRAM NAND NOR EEpROM Bit Alterable Non-volatile Cost Read Speed Write Speed All memory technologies have their advantages Look for ways to differentiate and stay cost effective

Understand memory usage Understand true cost Summary Customer Next Steps Understand memory usage Understand true cost Work with a trustworthy supplier Supplier Identification Provides technology leadership & product longevity Architecture transparency Systems expertise & silicon/solution standards

Questions?

Please Provide Your Feedback… Please utilize the ‘Guidebook’ application to leave feedback or Ask me for the paper feedback form for you to use…