UFS 7 - UAP – SCSI Commands(2)

这篇具有很好参考价值的文章主要介绍了UFS 7 - UAP – SCSI Commands(2)。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

UFS 1-UFS架构简介1
UFS 2 -UFS架构简介2
UFS 3 - UFS RPMB
UFS 4 - UFS Boot
UFS 5 - UFS UIC Layer: MIPI M-PHY
UFS 6 - UAP – SCSI Commands(1)

3.3 MODE SELECT (10) Command

MODE SELECT command provides a means for the application client to specify medium, logical unit, or peripheral device parameters to the device server.
MODE SELECT 命令为应用程序客户端提供了一种向设备服务器指定介质、逻辑单元或外围设备参数的方法。

  • Parameters are managed by means of parameter pages called mode pages
  • 参数通过称为模式页面的参数页面进行管理
    • UFS devices shall support the following mode pages
      • CONTROL, CACHING, READ-WRITE ERROR RECOVERY
    • UFS devices may support vendor specific mode pages
    • See 11.4 for further details.
  • Writes parameters to one or more mode pages in a list
  • 将参数写入列表中的一个或多个模式页面
    • The Application Client can specify a single, multiple or all supported pages in a single command
    • Application Client 可以在单个命令中指定单个、多个或所有支持的页面
  • Complementary command to the MODE SENSE command
  • MODE SENSE 命令的补充命令
    The Command CDB shall be sent in a single COMMAND UPIU
    命令 CDB 应在单个命令 UPIU 中发送
    UFS 7 - UAP – SCSI Commands(2)

3.3.1 Mode Select Command Parameters

UFS 7 - UAP – SCSI Commands(2)

3.3.2 Mode Select Command Data Transfer

The Device Server requests to transfer the mode parameter list from the Application Client data-out buffer by issuing one or more READY TO TRANSFER UPIU’s (RTT).
设备服务器通过发出一个或多个 READY TO TRANSFER UPIU (RTT) 请求从应用程序客户端数据输出缓冲区传输模式参数列表。
The mode parameter list is delivered in one or more segments sending DATA OUT UPIU packets, as indicated in the RTT requests,.
模式参数列表在发送 DATA OUT UPIU 数据包的一个或多个段中传送,如 RTT 请求中所示。
Zero or an incomplete number of segments may be requested, if an error occurs before the entire data transfer is complete.
如果在整个数据传输完成之前发生错误,则可能会请求零个或不完整的段数。
Mode parameters are changed as specified in the received mode parameter list if the command completes succefully.
如果命令成功完成,模式参数将按照接收到的模式参数列表中的指定进行更改。
See 11.4.1.2, Mode parameter list format, for details about the mode parameter list.
有关模式参数列表的详细信息,请参见 11.4.1.2,模式参数列表格式。

3.4 MODE SENSE (10) Command

The MODE SENSE command provides a means for a Device Server to report parameters to an Application Client
MODE SENSE 命令为设备服务器提供了一种向应用程序客户端报告参数的方法

  • Parameters are managed by means of parameter pages called Mode Pages
    • UFS devices shall support the following mode pages
      • CONTROL, READ-WRITE ERROR RECOVERY, CACHING
    • UFS devices may support vendor specific mode pages
    • See 11.4 for further details
  • Reads parameter pages in a list
    • The Application Client may request any one or all of the supported pages from the Device Server
    • If all pages requested, they will be returned in ascending page order
  • Mode Sense returns DEVICE-SPECIFIC PARAMETER in header
    • See paragraph 11.4.1.3, Mode Parameter Header for details.
  • Complementary command to the MODE SELECT command
    The Command CDB shall be sent in a single COMMAND UPIU
    UFS 7 - UAP – SCSI Commands(2)

3.4.1 Mode Sense Command Parameters

UFS 7 - UAP – SCSI Commands(2)

3.4.2 Page Control Function

UFS 7 - UAP – SCSI Commands(2)

3.4.3 Mode Sense Command Data Transfer

The Device Server will transfer up to Allocation Length number of data bytes of Mode Parameter Data to the Application Client.文章来源地址https://www.toymoban.com/news/detail-490080.html

  • Less than Allocation Length will be transferred if Device Server contains less bytes
    The Device Server will transfer the data as indicated by the Mode Parameter Layout
  • Header (8 bytes)
  • Block Descriptor (0 bytes for UFS)
  • Page Data (N bytes, dependent up page requested)
    Data will be transferred from the Device Server to the Application Client via a series of DATA IN UPIU’s
  • The data transferred from the Device Server will be contained within the Data Segment of the DATA IN UPIU
    Zero or an incomplete number of DATA IN UPIU’s will be transferred if an error occurs before the entire data transfer is complete.

3.4.4 Mode Sense Command Status Response

  • STATUS response will be sent in a single RESPONSE UPIU
  • If the requested data is successfully transferred and written, the MODE SENSE command will terminate with a STATUS response of GOOD
  • If the unit is not ready to accept a new command (e.g., still processing previous command) a STATUS response of BUSY will be returned
  • Failure occurs when a requesting a page or subpage that is not supported. A STATUS response of CHECK CONDITION will be returned with a SENSE KEY indicating ILLEGAL REQUEST
  • Failure can occur for numerous reasons. When the MODE SENSE command fails a STATUS response of CHECK CONDITION will be returned along with an appropriate SENSE KEY, such as、
    • ILLEGAL REQUEST (CDB errors)
    • HARDWARE ERROR (hardware failure)
    • UNIT ATTENTION (reset, power-on, etc.)

到了这里,关于UFS 7 - UAP – SCSI Commands(2)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • UFS 14 - UFS RPMB安全读写命令

    UFS 1-UFS架构简介1 UFS 2 -UFS架构简介2 UFS 3 - UFS RPMB UFS 4 - UFS Boot UFS 5 - UFS UIC Layer: MIPI M-PHY UFS 6 - UAP – SCSI Commands(1) UFS 7 - UAP – SCSI Commands(2) UFS 8 - UAP – SCSI Commands(3) UFS 9 - UAP – SCSI Commands(4) UFS 10 - UAP – SCSI Commands(5) UFS 11 - UFS RPMB分区功能验证 UFS 12 - UAP – SCSI C

    2024年02月16日
    浏览(27)
  • TCP高并发服务器简介(select、poll、epoll实现与区别)

    一、创建套接字(socket函数): 二、填充服务器的网络信息结构体: 三、套接字和服务器的网络信息结构体进行绑定(bind函数): 四、套接字设置成被动监听(listen函数): 五、创建要监听的文件描述符集合: 使用select函数后,会将 没有就绪的文件描述符 在集合中 去除

    2024年01月19日
    浏览(38)
  • UFS详细介绍---终章

    UNIVERSAL FLASH STORAGE (UFS),通用闪存存储器。目前最新的标准是UFS4.0;UFS的出现是因为替代eMMC产品的,但是因为价格等,目前没办法做到完全替代。 2020年,JEDEC发布了UFS3.1;2022年,JEDEC发布了UFS4.0,4.0版本主要提升也就是之前提到的,高性能、低功耗、主要面对的也是手机等这

    2024年02月07日
    浏览(28)
  • 黑猫带你学UFS协议第1篇:全网最全UFS协议中文详讲,这份学习框架图,你值得拥有!!!(持续更新中...)

    文/黑猫学长 笔者本人从事于存储芯片行业多年,对eMMC/UFS/SD等芯片有深入研究,协议尤甚。而今看来,UFS协议在整个存储产品中(包括U盘、SPI、SD卡,NM卡、emmc、SSD、flash颗粒等),属于最难梯队。 对于嵌入式存储芯片来说,从最初大家熟悉的SD/TF卡,发展到emmc,再到如今的

    2024年02月06日
    浏览(38)
  • 浅析Linux SCSI子系统:设备管理

    Linux SCSI子系统通过SCSI主机适配器(HBA)接入所有SCSI存储设备,在Linux系统中,可以安装多种主机适配器,SCSI中层会提供主机适配器的统一抽象,这些主机适配器的厂商提供具体的低层驱动实现;主机适配器接入到SCSI子系统后,SCSI会通过扫描或者低层驱动主动上报的方式,

    2024年02月11日
    浏览(28)
  • 【高并发网络通信架构】引入IO多路复用(select,poll,epoll)实现高并发tcp服务端

    目录 一,往期文章 二,基本概念 IO多路复用 select 模型 poll 模型 epoll 模型 select,poll,epoll 三者对比 三,函数清单 1.select 方法 2.fd_set 结构体 3.poll 方法 4.struct pollfd 结构体 5.epoll_create 方法 6.epoll_ctl 方法 7.epoll_wait 方法 8.struct epoll_event 结构体 四,代码实现 select 操作流程 s

    2024年02月12日
    浏览(47)
  • vmware 使用scsi_id 获取ID返回空

    /usr/lib/udev/scsi_id -g -u -d --whitelisted --replace-whitespace --device=/dev/sdb2 结果返回是空的,根本的原因是 虚拟机的设置问题。 修改虚拟机的配置文件,vmx后缀的那个:例如 CentOS 7 64 位.vmx 重启虚拟机,再次执行,就有结果了 /usr/lib/udev/scsi_id -g -u -d --whitelisted --replace-whitespace --device

    2024年02月04日
    浏览(29)
  • 【高并发网络通信架构】3.引入IO多路复用(select,poll,epoll)实现高并发tcp服务端

    目录 一,往期文章 二,基本概念 IO多路复用 select 模型 poll 模型 epoll 模型 select,poll,epoll 三者对比 三,函数清单 1.select 方法 2.fd_set 结构体 3.poll 方法 4.struct pollfd 结构体 5.epoll_create 方法 6.epoll_ctl 方法 7.epoll_wait 方法 8.struct epoll_event 结构体 四,代码实现 select 操作流程 s

    2024年02月14日
    浏览(33)
  • Commands Of Hadoop

    持续整理下常用的命令cuiyaonan2000@163.com 当从多个源拷贝时,如果两个源冲突,distcp会停止拷贝并提示出错信息,. 如果在目的位置发生冲突,会根据选项设置解决。 默认情况会跳过已经存在的目标文件(比如不用源文件做替换操作)。 每次操作结束时 都会报告跳过的文件数

    2024年02月15日
    浏览(19)
  • Excel DDE Commands

    Application : Excel Topic : System : 整个应用。 [sheetname] 指定 worksheet。 我使用的是 .NET 组件 Specshell.NDde 命令大小写不敏感(case insensitivity) 命令可以带括号,也可以不带括号 [paste] = [paste()] Command 说明 Description Application commands [app.activate] 激活应用 activate the application [quit] 关闭应用

    2024年02月08日
    浏览(32)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包