SATA翻译笔记

更新时间:2023-06-30 09:18:14 阅读: 评论:0

SATA翻译笔记
8 OOB and phy power states
8.4 power-on quence state machine
绯闻女孩最后结局
8.4.3 Speed Negotiation
In state HP6:HR_AwaitAlign,Host正在等待的时候,就有可能为Host以不同的速率接受信号。⼀些恢复电路有可能恢复⼀些不可预知的数据,当输⼊的信号⾼于⽀持的最⼤的速度的时候。相反的,当接受信号的速率低于预期速率的时候,信号的混淆效应会影响到解码信号的准确性。因为恢复的数据可能是⽆效的,要准备恢复,就要确保ALIGNp 原语在anastacia
HP6:HR_AwaitAlign,Host状态下被准确的解码,根据数据恢复的可能性,在这种状态下,和主机预期不同的速度就会导致错误的解码。
为了减⼩ALIGNp检测和握⼿的错误,接收端应完全限定接受到的ALIGN序列,⽽不是只是依靠它的⼀部分。额外的⼿段来确保HP6:HR_AwaitAlign是准确的转变并且没有从恢复电路恢复出虚假的信号确保ALIGNp被成功的解码。
设计的责任是确保与Phy初始化状态机相关的条件和状态是准确的执⾏并且没有受到由于当前选择的速度和不⽀持的速度接收信号导致错误的解码和转换的执⾏的影响。
10.3 FIS Types
10.3.1 FIS Type values
2017高考英语
10.3.1.1 Unrecognized FIS Types
⼀个FIS的接收器确定是否要处理未定义或保留为“⽆法识别”⼀个FIS类型。⽆论接收机接收未定义或⼀个特定的FIS类
型,host和device在使⽤之前发送FIS,都应该确认FIS的类型是未定义或保留为⼀个特定的FIS类型。
10.3.2 CRC Errors on Data FISes
在DATA FIS中CRC错误。如果device发送⼀个Device到host的FIS,那么需要对状态字段(status field)的ERR位置1,BSY 和DRQ位清零。Error field段的ABRT 置1 。
没有device到host FIS的传输,在CRC错误之后(last data fis)
9.6 Link Layer State Machine
9.6.1 Terms Ud in Link Layer Transition Tables
1. LERSET:Link layer COMRESET or COMINIT signal
2. PHYRDYn:PHYRDY signal取反(negation)
3.PHYRDY: defined in tion 7.1.2.
4. Decerr:32位Dword的错误解码从Phy到Link
●⽆效的 10b模式
●Disparity error
●Primitive with a control character in the first byte but not an
allowed control character
●Any control character in other than the first byte of the Dword
5. DatDword: A 32 bit pattern that is formed correctly, but does not
have the primitive leading 10b pattern (K28.5 or K28.3).
6. COMWAKE: Signal from the OOB detector in the Phy indicating that the
COMWAKE OOB signal is being detected.
7. AnyDword: A 32 bit pattern of any type - even one with DecErr received
from Phy
uqc
11 device command layer protocol
如果主机发送COMRESET之前设备已经完成执⾏命令层协议,则该设备应从头开始执⾏COMRESET协议。如果device 收到⼀个register ,,在device执⾏完command layer protocol,host到device的fis 的C位清0,srst位置1,然后device从头开始执⾏软件复位protocol(协议)。
SYNC Escape通过host or device带回的link回到已知状态,在向device 发送下⼀条command之前,
需要软件复位。
11.1 power on and comret protocol
如果主机发送⼀个 hardware ret(power-on or comret),那么device 就会忽略掉power management或者当前device命令状态,device开始执⾏hardware ret。
DHR0: Hardware_ret_asrted:当硬件复位后,开始进⼊状态机。
当在这个状态,当device等待到hardware ret否定信号,然后从DP1:DR_Ret状态退出进⼊到phy state machine。
Transition DHR0:1当传输层表明硬件复位被否定的时候,device应当过渡到DHR1: Execute_diagnostics状态。
DHR1: Execute_diagnostics:进⼊这种状态时,transport layer 表明COMRESET信号被否定。
在这个状态的时候,device初始化device hardware并且执⾏上电测试。Transition DHR1:1 device hardware初始化和上电测试成功,device进⼊到DHR2,:Send_good_status state.
Transition DHR1:2device hardware 初始化和上电测试失败,device 进⼊到DHR3:nd_bad_status state.
DHR2: Send_good_status:这个状态表明devicehardware 初始化和上电测试成功。
device 要求transport layer 发送⼀个FIS给host。如果device没有实
现PACKET命令功能,就对寄存器进⾏如下设置。
如果device实现了PACKET command功能,则对寄存器如下设置
ladyandgentleman
Transition DHR2:1当transport layer表明FIS已经发送完成,device进⼊到DI0:Device_Idle state.
DHR3: Send_bad_status:进⼊此状态时,device 硬件已经初始化并且上电测试失败。
当在这个状态,device 要求transport layer 发送⼀个FIS给host。
如果device没有完成PACKET command功能,对寄存器如下设置。
英语四级作文必背范文
如果device 完成了PACKETcommand命令功能,则对寄存器如下设置
Transition DHR3:1当transport layer 表明FIS传输完成,device 进⼊转换到DI0:device_idle state.
11.2 Device Idle protocol
DI0:device idle 过程//P432 wait
DI1:check_FIS // P432 Check_FIS type and C bit.
DI2:Check_command // P433
生日快乐的英文
DI3:No_command
DI4:Set_rvice
DI5:Servicr_test
*DI6:Service_nd_tag
人山人海英语
*DI7:Service_decode
DI0:Device_Idle:这个状态表明device已经完成了⼀个command protocol,comret protocol,software ret protocol或释放⼀个排队命令。
当进⼊这个状态,device等待⼀个命令来处理,如果⽀持queuing(排队),device就会acquire data(捕获数据)或者establish buffer space来完成命令的queued。
Transition DI0:1:当device 从Transsport layer接收到⼀FIS,device就会切换到DI1:Check_FIS state
*Transition DI0:2:当devic准备完成数据传输排队命令,device就转换到DI4:Set_rvice state.
*Transition DI0:3:当device准备从WRITE FPDMA QUEUED command接收数据,devic就转换到
DFPDMAQ4:DataPhaPreWriteSetup state。这种情况适⽤于⾮零缓冲偏移量被⽤于完成先前部分数据传输。
*Transition DI0:4:当device准备为READ FPDMA QUEUED command传送数据,device就转换到
DFPDMAQ3:DataPhaPreReadSetup state。这种情况适⽤于⾮零缓冲偏移量被⽤于完成先前部分数据传输。
*Transition DI0:5:当device成功完成了FPDMA QUEUED 或者NCQ QUEUE MANAGEMENT command。那么device就转换到DFPDMAQ10:SendStatus state。
*Transition DI0:6:当device在FPDMA QUEUED or a NCQ QUEUE MANAGEMENT command遇到了错误,那么device就转换到DFPDMAQ11:ERROR state。Transition DI0:7:如果启⽤了异步通知(Asynchronous Notification)且NotifyPending变量清零FIS没有表⽰,那么device就转换到Notify_host state.
DI1:Check_Fis state: 当device从Transport layer接收到FIS就进⼊这个状态。在这个状态,device需要检测FIS 类型。Transition DI1:1: 如果FIS是⼀个Register FIS,那么FIS的C为清零,SRST 位置1.device就转换到DSR0:
pearl是什么意思Software_ret_asrted state。
Transition DI1:2: 如果FIS是⼀个Register FIS,那么FIS的C位和SRST位都清零。Device转换到DI0:Device_idle state。Transition DI1:3: 如果FIS是⼀个Register FIS并且C位置1,那么device 就转换到DI2:Check_command state.
Transition DI1:4: 如果FIS的类型是First Party DMA Setup,device就通知
Transport layer接收First Party DMA Setup,并且转换到DI0:Device_idle state.
Transition DI1:5: 对于其他类型的FIS,device应该转换到DI0:Device_idle sate.
DI2: Check_command state:当device发现接收到Register FIS包含⼀个new command就进⼊到此状态。NOTE:这个状态显⽰转换所有命令。如果device 没有完成任⼀部分command,然后从DI2:11过渡到D13: No command shall be made.
当进⼊到这个状态,如果⽀持异步通知,device就要通过接收到的命令并且对NotifyPending位清零来检测command protol。对NotifyPending位清零允许对host发送异步通知(asynchronous notification)消息。成都外国语专业学校
Transition DI2:1: 当接收到的command是⼀个⾮数据(non-data)出传输command,device就转换到DPIOI0:PI0_in state Transition DI2:2:当接收到的command是⼀个PIO data-in command,device 就转换到DPIOI0:PIO_in state。
Transition DI2:3: 当接收到的command是⼀个PIO data-out command,device 就转换到DPIOO0:PIO_out state。Transition DI2:4:当接收到的command是⼀个READ DMA command,device就转换
到DDMAIO:DMA_in state.
Transition DI2:5:当接收到的command是⼀个WRITE DMA command,device就转换到DDMAO0: DMA_out state. Transition DI2:6:当接收到的command是⼀个PACKET command,device就转换到 DPKT0:PACKET state.
*Transition DI2:7:当接收到的command是⼀个 READ DMA QUEUED command,device就转换到
DDMAQI0:DMA_queued_in state.
*Transition DI2:8:当接收到的command是⼀个WRITE DMA QUEUED command, Device就转换到
DDMAQO0:DMA_queued_out state.
Transition DI2:9:当接收到的command是⼀个EXECUTE DEVICE DIAGNOSTICS command ,device 就转换到DEDD0:Execute_device_diag state.
Transition DI2:10:当接收到的command是⼀个RESET DEVICE command,device 就转换到DDR0:DEVICE_ret state。Transition DI2:11:当接收到的command不能通过device执⾏,device就转换到DI3:No_command state
*Transition DI2:12:当接收到的command是⼀个SERVICE command,device就转换到DI5:Service_test state
*Transition DI2:13:当接收到的command是⼀个READ FPDMA QUEUED command protocol,device就转换到DFPDMAQ1:AddCommandToQueue state.
*Transition DI2:14:当接收到的command是⼀个WEITE FPDMA QUEUED command protocol, device就转换到DFPDMAQ1:AddCommandToQueue state
*Transition DI2:15:当接收到的command是⼀个NCQ QUEUE MANAGEMENT command protocol,device就转换到DFPDMAQ1:AddCommandToQueue state.
*Transition DI2:16:当接收到的command不是READ FPDMA QUEUED; and not a WRITE FPDMA QUEUED; and not a NCQ QUEUE MANAGEMENT; and not a DEVICE RESET;并且是⼀个明显的native queued command,就会出现错误,并且device就转换到DFPDMAQ12:BrokenHost_ClearBusy state.
DI3: No_command state:当device发现device不能执⾏接收到的command就进⼊此状态。
在这种状态的时候,device要求Transport layer发送⼀个register FIS,register content as described i
n the command description in the ATA8-ACS standard,并且interrupt bit置1.
Transition DI2:1:当Transport layer传输完成Register FIS,device应该转换到DI0:Device_idle state.
* DI4: Set_rvice state:这种状态是准备完成数据传输排队命(queued command)。
当在这种状态的时候,device应该要求Transport layer 发送⼀个
11.1 READ DMA QUEUED command protocol
执⾏这类命令,包括⼀个或多个从的device到host数据块的转移。这个命令所有数据的转移不需要总线的释放在命令的接收和数据的传送之间。这个命令释放数据总线是在数据传送之前。Host应在数据传送之前对DMA控制器进⾏初始化。当数据传送开始,所有的数据为请求数据转移⽆需释放总线。DDMAQI0: DMA_queued_in State:当device接收到READ DMA QUEUED 命令的时候进⼊此状态。
当进⼊该状态,device应该确认向host发送的数据是否已经准备好。Transition DDMAQI0:1:当设备请求的数据装备好⽴即发送FIS数据,device就转进⼊到DDMAQI1:Send_data 状态。
Transition DDMAQI0:2:当device遇到了⼀个错误,导致该命令在完成请求的数据在传输之前终⽌,
那么device就进⼊到DDMAQI3:Send_status状态。Transition DDMAQI0:3:当device没有不具有所请求的数据准备⽴即传送⼀个FIS数据,device 就进⼊到DDMAQI4:relea 状态。———————————————————————

本文发布于:2023-06-30 09:18:14,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/78/1069931.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:数据   命令   状态   完成   信号
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图