UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So,...

59
CONFIDENTIAL Aug. 21, 2015 Mobile AE UFS Overview

Transcript of UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So,...

Page 1: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

CONFIDENTIAL

Aug. 21, 2015

Mobile AE

UFS Overview

Page 2: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

2

’15.08.21~ ’18.08.20

Confidential

What is UFS?

Page 3: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

3

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

UFS ???

• Universal Flash Storage (UFS) is a common flash storage specificationfor digital cameras, mobile phones and consumer electronic devices. Thiscould bring higher data transfer speed and increased reliability in flashmemory storage

SCSI Standardization

SATA High Speed

eMMCLow Power

UFS

• High performance

• Serial interface

• Command queuing

• Mobile usages friendly

• Flash memory oriented

• Low power

Page 4: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

4

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

UFS ???

JEDEC defines UFS as the next generation mobile storage spec

Page 5: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

5

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

UFS vs eMMC

Enhanced/Extended

MultiplePartitions

WriteProtection

Reliable Write

Erase(Purge)

Boot/ RPMB

Sleep &Reset

DynamicCapacity

BKOPs

Context ID & Data Tag

Universal Flash Storage[UFS]

Low-Power Serial Interface

Multi-Task,

Async & Queuing

Command Prioritization,

Out-of-order execution

Good Features, But

e.MMC today

command-response

based architecture is

limiting

- Designed for Single-

thread computing model

- Increasing bus

frequency will not

further improve BW

SCSI architecture

model[SAM], a Multi-

threaded computing

operation model

Re-Use Standard SCSI

commands

Sync

ParallelInterface

StateTransition

Cache

Packed

Async& Queue

SerialInterface

Stateless

PON

HS200

SDR/DDR

Page 6: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

6

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

UFS vs eMMC

Enhanced/Extended

MultiplePartitions

WriteProtection

Reliable Write

Erase(Purge)

Boot/ RPMB

Sleep &Reset

DynamicCapacity

BKOPs

Context ID & Data Tag

Universal Flash Storage[UFS]

Low-Power Serial

Interface

Multi-Task,

Async & Queuing

Command Prioritization,

Out-of-order execution

SCSI architecture

model[SAM],

a Multi-threaded

computing operation model,

Re-Use Standard SCSI

commands

Cache

PON

eMMC functions SCSI SAM-5 & UPIU Format

Layered Protocol(UniPro) + Serial interface(M-PHY)

Value-added Point

주) SCSI : layered communication architecture. Client-server model

Page 7: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

7

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

UFS Merits

* CMD queuing is supported from eMMC5.1

Page 8: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

8

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

Serial Interface

• the demand for speed and cost has led to parallel communication links becoming deprecated in favor of serial links.

• Speed: – Clock skew reduces the speed of every link.

– Crosstalk creates interference between the parallel lines,

• Cost: The decreasing cost of integrated circuits

Page 9: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

9

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

Async Command & Command Queuing

Set it and forget it

Optimal for multi processing

Support multiple CMD queuing Maximize parallel programming

Better throughput through better NAND utilization

Page 10: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

10

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

Async Command & Command Queuing

Re-Ordering.

- Command queue execution sequence can be changed by considering NAND interleaving

- Number of active NAND chips per time is improved.

- Suitable for UFS because UFS protocol is a multi-thread, asynchronous protocol

Page 11: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

11

’15.08.21~ ’18.08.20

ConfidentialWhat is UFS?

eMMC vs UFS

• UFS has better features than eMMC

Items eMMC UFS

Transfer scheme Sync Async

Command Queue No(Yes for eMMC5.1)Packed Commands

Yes32-Queue Depths

State State Transition Stateless

Interface Parallel/Half-Duplex Serial / Full-Duplex

Priority No SCSI Command PriorityHigher-Priority LU

Abort Scheme HPI Task Management Scheme

Features Legacy eMMC Functions Same with eMMC

Command Set Legacy eMMC Commands SCSI Commands

Partitions Boot/RPMB/User Area 8-LU(including Boot)/ RPMB

Page 12: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

12

’15.08.21~ ’18.08.20

Confidential

UFS Specification

Page 13: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

13

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

UFS Architecture

Page 14: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

14

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

UFS Protocol Layer

Page 15: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

15

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

UFS Architecture

Page 16: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

16

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

M-PHY

LAN

E M

AN

AGEM

EN

T

M-TX M-RX

LANE

M-RX M-TX

LANE

M-TX M-RX

LANE

M-PHY Lane In UFS

Down stream

Up stream

Each 1LANE

PWM-G0 ~ PWM-G7 ( Normal Speed ) HS-G1 ~ HS-G3( High Speed )

PWM G1 : 3 ~ 9Mbps

HS-G1 : (1.25Gbps or 1.45Gbps)

optional : HS-G2(2.5Gbps or 2.9Gbps) HG-G3(5Gbps or 5.8Gbps)

HS-Mode : A/B for EMI Mitigation

TYPE I : PWM Signaling in UFS 1.0

TYPE II : system Clock Reference(NRZ Signaling)

2.9Gbps(HS-G2) & 1.45Gbps(HS-G1) In UFS 1.0(currently)

M-RX M-TX

LANE

2-Pair

n-Pair

1-Pair

Extensible by lane increase in pairs

Each lane’s speed is 2.9Gbps(HS-G2). So, ideal bi-directional speed is double of this.

Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference.

Page 17: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

17

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

UNIPRO

UniPro = Unified Protocol

Optimized For mobile use cases & multiple applications Low power & small battery-powered systems

Enables minimized/extendable implementations

Reliability with error detection and correction via retransmission simplifies protocol design

Optimally uses MIPI’s PHY technologies Allows aggressive power optimization Allows for bandwidth scaling options

Formal UniPro SDL model available UniPro testing specification available

Page 18: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

18

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

UTP

highest HW Layer

SLOT : HW Resource for Command Acceptance

32 CMD Slots, 8 Task Slot, 1 Query Slot Each Slot has it’s own DESC.(Description of operation)

Page 19: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

19

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Hardware vs. Software

Page 20: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

20

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Standardization

UFS Port (Cport, UPIU)

Task Router

Device Manager

Device ManagerDevice Manager

Device Server

Task Manager

Task Queue

DescriptorFlag

Attributes

Storage unit

LU #

SCSI CMD

UFS SPEC

SAM SPEC

Similar

functional

features

as eMMC

Protocol Layer& FTL

SCSI CDB

UNIPRO

M-PHY

Page 21: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

21

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

- UFS HCI Version 2.0

- UFS Device Version 2.0

Normative Reference

Page 22: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

22

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

UFS UPIU

Basic Head format

Different information included depend on “Transaction Type”

Page 23: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

23

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Device Server

Task Manager

Device Manager

Page 24: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

24

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

UFS UPIU Transaction Type

Page 25: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

25

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Command Flow

Page 26: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

26

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Command Flow

100~ 104 Sector Read

Page 27: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

27

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Command Flow

100~ 104 Sector Read

100

5

Page 28: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

28

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Command Flow

100~ 104 Sector Read

1 1

0h

0h 0h

0h

0x40h

100

5

Page 29: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

29

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Read Operation Flow

Page 30: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

30

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Write Operation Flow

Page 31: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

31

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Device Server

Task Manager

Task Queue

LU0

Device Server

Task Manager

Task Queue

LU1

Device Server

Task Manager

Task Queue

LU7

UFS Port (Cport, UPIU)

Task Router/ Device manager UPIU

Data Segment

1

UPIU

Data Segment

2

UPIU

Data Segment

3

Data Segment

1

Data Segment

2

Data Segment

3

Time

Total Data Segment

UPIU

Write CDB

Write CDB

Empty

Empty

Empty

Same Tag#

UPIU

Resp

Time

Page 32: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

32

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

SCSI Command Scsi Command Set supported by UFS is based on UFS native commands and Scsi primary commands spec(SPC-4/SBC-3).

Commands (CDB Size) Description DATA IN UPIU DATA OUT UPIU

TEST UNIT READ(6) Test if device is ready (not for a self-test) X X

Inquiry(6) Report device information - type, manufacture, etc a single Data In UPIU(36byte) X

Request Sense(6) Report sense data - current status of device a single Data In UPIU(18byte) X

Read Capacity(10)Report medium capacity and block size

can be issued per Logical Unita single Data in UPIU(8byte) X

Start Stop Unit(6) Change power condition or load or eject medium X X

Read(10) Transfer data from medium to host a series of Data In UPIU's X

Write(10) Transfer data from host to medium Ready To Transfer UPIU a Data OUT UPIU per RTT

Read Buffer(10) Read microcode and other data and tunneling a series of Data In UPIU's X

Write Buffer(10) Transfer microcode and other data and tunnelling Ready To Transfer UPIU a Data OUT UPIU per RTT

Mode Select(10) Set parameter , modes, etc Ready To Transfer UPIU a Data OUT UPIU per RTT

Mode Sense(10)Report parameters and other device Information

- geometry, othera series of Data In UPIU's X

Report LUNS(12) Report the accessible logical unit inventoryone or more Data IN UPIU's

(Most likely one data in UPIU)(8byte+8*n) (n = LUN)

X

Verify(10)Verify medium data is same as transferred dataTo determine if specific LBA's are accessible

X X

Format Unit(6)Format medium into logical blocks, manage medium and

defectsReady To Transfer UPIU

a Data Out UPIU containing the unmber of bytes

Send Diagnostic(6) Perform diagnostic operations on LU or device Ready To Transfer UPIUa Data Out UPIU containing

the unmber of bytes

Synchronize Cache(10) Recording most recent device data to medium X X

Page 33: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

33

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

SCSI Command & Operation Scsi commands operation by Command Flag Type

• No Data (Test Unit Ready, Start Stop Unit, Verify)• Data from Device (Inquiry, Read6, Request Sense, Read Capacity, Mode Sense, Report LUN)

• Data to Device (Write6, Mode Select, Unmap, Format Unit)

HOST Device

Response : target successs, fail,

vandor specific

SCSI Status : GOOD, CHECK CONDITION BUSY Etc…

Page 34: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

34

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

SCSI Command & Operation (TUR)

Page 35: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

35

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

SCSI Command & Operation Scsi commands operation by Command Flag Type• No Data (Test Unit Ready, Start Stop Unit, Verify)

• Data from Device (Inquiry, Read6, Request Sense, Read Capacity, Mode Sense, Report LUN)• Data to Device (Write6, Mode Select, Unmap, Format Unit)

HOST Device

Data IN UPIU

Status Response

FUA : 1 – cache on , 0 – cache off

LBA : Start block

Transfer Length : Size

Page 36: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

36

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

SCSI Command & Operation Scsi commands operation by Command Flag Type• No Data (Test Unit Ready, Start Stop Unit, Verify)

• Data from Device (Inquiry, Read6, Request Sense, Read Capacity, Mode Sense, Report LUN)

• Data to Device (Write6, Mode Select, Unmap, Format Unit)

HOST Device

Data OUT UPIU

Status Response LBA : Start block

Transfer Length: Size

Page 37: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

37

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Descriptor & Attribute

Descriptor : General Configuration for Device-level

Attribute : Frequently Configurable Range Value

Flag : Frequently Configurable BOOL Value

Page 38: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

38

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Descriptor

Page 39: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

39

’15.08.21~ ’18.08.20

ConfidentialUFS Specification

Attribute & Flag

Page 40: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

40

’15.08.21~ ’18.08.20

Confidential

UFS HCI

Page 41: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

41

’15.08.21~ ’18.08.20

ConfidentialUFS HCI

HOST Controller Interface

Page 42: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

42

’15.08.21~ ’18.08.20

ConfidentialUFS HCI

HCI Register

Page 43: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

43

’15.08.21~ ’18.08.20

ConfidentialUFS HCI

UTP Transfer Request

Page 44: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

44

’15.08.21~ ’18.08.20

ConfidentialUFS HCI

UTP Transfer Request Completion

If Counter is 0, IA Timer is running

Four conditions which make IS.UTRCS is set

When Counter reach Interrupt threshold(IACTH) value

Timeout occurs (IATOVAL)

When OCS value is not SUCCESS

If IE.UTRCE is set, Interrupt is disabled

Page 45: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

45

’15.08.21~ ’18.08.20

ConfidentialUFS HCI

Host Controller link startup

Page 46: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

46

’15.08.21~ ’18.08.20

ConfidentialUFS HCI

Host Power Mode Change

Page 47: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

47

’15.08.21~ ’18.08.20

ConfidentialUFS HCI

UFS Host & Device System

Page 48: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

48

’15.08.21~ ’18.08.20

ConfidentialUFS HCI

TEST Implementation

Device driver and AUTO TEST application have been developed on PC based HOST environment HOST(AP) / device firmware implemented Technical understanding of AP side will be helpful for co-work with AP vendors Simplicity and easy debugging are most important factor of AUTO TEST application

Page 49: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

49

’15.08.21~ ’18.08.20

Confidential

UFS Device

Page 50: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

50

’15.08.21~ ’18.08.20

ConfidentialUFS Device

HOST & Device E2E Interface

Page 51: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

51

’15.08.21~ ’18.08.20

ConfidentialUFS Device

Logical Unit

• LU : Externally addressable, independent, processing entity.

• Device contains 1 or Max 8 Normal logical units & 4 Well-known LU

• A Logical unit contains – DEVICE SERVER : Processing SCSI Commands

– TASK MANAGER : Performs Task management Functions

– TASK SET : A Conceptual Group of Commands

Page 52: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

52

’15.08.21~ ’18.08.20

ConfidentialUFS Device

LU Configuration

Page 53: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

53

’15.08.21~ ’18.08.20

ConfidentialUFS Device

LU Configuration

Page 54: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

54

’15.08.21~ ’18.08.20

ConfidentialUFS Device

Higher Priority LU

Page 55: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

55

’15.08.21~ ’18.08.20

ConfidentialUFS Device

Boot Sequence

• UFS CMDs and Modes required by boot sequence

We expect that Host send only one NOP OUT UPIU, but, multi-NOPs are OK.The Host can change bRefClkFreq value of descriptor after UTP layer initialization phase.

UNIT ATTENTION CONDITION will be cleared after sending RESP

After Link Startup, By Default, M-PHY Speed is PWM G1 Mode

Page 56: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

56

’15.08.21~ ’18.08.20

ConfidentialUFS Device

SCSI Command & Operation (Unmap)

Erase operation Type

Descriptor of regarding Erase operation

Erase or Discard

- Erase in the multiple of dEraseBlockSize unit (bigger size than logical blocks)

One time programmable value during LU ConfigurationErase or Discard is determined by ReadCapacity16 for TPRZ field value

Page 57: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

57

’15.08.21~ ’18.08.20

ConfidentialUFS Device

Write Protection

Page 58: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

58

’15.08.21~ ’18.08.20

ConfidentialQ & A

Page 59: UFS Overview - GitHub Pages · Interface of card type UFS is same as M-PHY of embedded UFS. So, host side implementations (HW, SW) have no difference. 17 ’15.08.21~ ’18.08.20

59

’15.08.21~ ’18.08.20

Confidential

Thanks!!!