当前位置:网站首页>黑猫带你学eMMC协议第24篇:eMMC的总线测试程序详解(CMD19 & CMD14)
黑猫带你学eMMC协议第24篇:eMMC的总线测试程序详解(CMD19 & CMD14)
2022-07-28 11:53:00 【黑猫学长呀】
本文依据eMMC JEDEC5.1及个人工作经验整理而成,如有错误请留言。
文章为个人辛苦整理,付费内容,禁止私自转载。
文章所在专栏:《黑猫带你学:eMMC协议详解》
1 概述
目的
通过在SDR速率模式下发出命令CMD19和CMD14,主机可以检测到device中哪些data线可以正常工作。比如检测到emmc的8根data线都能正常工作,那么之后host就可以按照自己的需要设置与emmc通信的数据线宽。
1、host发送cmd19给device,携带指定pattern的数据在每个被选中的数据线中。
2、host发送cmd14给device,device回传相反pattern的数据。
通过上述步骤一来一回,总线上的功能引脚就能被检测到。
规则
该设备将忽略除数据模式的前两位之外的所有数据位。因此,设备中buffer的大小并不限制数据模式的最大长度。虽然不限制发送data pattern长度最长为多少,但是对于发送的data pattern最小长度有规定,至少为2 Byte。其中每个数据线的前两位由设备反向发送给host。host发送给device的data pattern可以选择包含CRC16 checksum,也可以不包含,反正device都是会忽略掉的。
边栏推荐
- [graduation design] heart rate detection system based on single chip microcomputer - STM32 embedded Internet of things
- 区块反转(暑假每日一题 7)
- Leetcode394 string decoding
- Databinding+LiveData轻松实现无重启换肤
- 04 pyechars 地理图表(示例代码+效果图)
- Multiple items on a computer share a public-private key pair to pull the Gerrit server code
- Merge sort
- 05 pyechars 基本图表(示例代码+效果图)
- 机器学习实战-决策树-22
- 01 introduction to pyechars features, version and installation
猜你喜欢
![[graduation design] heart rate detection system based on single chip microcomputer - STM32 embedded Internet of things](/img/b4/06c822c52f5bb0045698b7107efb26.png)
[graduation design] heart rate detection system based on single chip microcomputer - STM32 embedded Internet of things

01 pyechars 特性、版本、安装介绍

Kotlin是如何帮助你避免内存泄漏的?

Ccf201912-2 recycling station site selection

03 pyechars rectangular coordinate system chart (example code + effect drawing)

Monotonic stack

Brother bird talks about cloud native security best practices

试用copilot过程中问题解决

Fundamentals of machine learning - principal component analysis pca-16

单调栈Monotonic Stack
随机推荐
LeetCode 42.接雨水
Introduction to border border attribute
非标自动化设备企业如何借助ERP系统,做好产品质量管理?
Zurich Federal Institute of technology | reference based image super resolution with deformable attention transformer (eccv2022))
VS1003 debugging routine
机器学习基础-决策树-12
Can molecular modeling solve the data dilemma of AI pharmacy?
黑猫带你学UFS协议第2篇:UFS相关名词释义
Pits encountered in MSP430 development (to be continued)
JSP自定义标签之自定义分页标签02
Uncover why devaxpress WinForms, an interface control, discards the popular maskbox property
Fundamentals of machine learning - support vector machine svm-17
Leetcode 1518. wine change
LeetCode84 柱状图中最大的矩形
Jetpack 全家桶之 LiveData 使用及源码篇
Block reversal (summer vacation daily question 7)
区块反转(暑假每日一题 7)
Review the IO stream again, and have an in-depth understanding of serialization and deserialization
Change the document type in endnode and import it in word
Leetcode: array