CN111176733A - 一种加速eMMC初始化速度的方法 - Google Patents

一种加速eMMC初始化速度的方法 Download PDF

Info

Publication number
CN111176733A
CN111176733A CN201911276610.3A CN201911276610A CN111176733A CN 111176733 A CN111176733 A CN 111176733A CN 201911276610 A CN201911276610 A CN 201911276610A CN 111176733 A CN111176733 A CN 111176733A
Authority
CN
China
Prior art keywords
emmc
temperature
value
delay register
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911276610.3A
Other languages
English (en)
Inventor
李睿轩
于永会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingchen Semiconductor Shenzhen Co ltd
Original Assignee
Jingchen Semiconductor Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingchen Semiconductor Shenzhen Co ltd filed Critical Jingchen Semiconductor Shenzhen Co ltd
Priority to CN201911276610.3A priority Critical patent/CN111176733A/zh
Publication of CN111176733A publication Critical patent/CN111176733A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Dram (AREA)

Abstract

本发明提出一种加速eMMC初始化速度的方法,包括如下步骤:S1:在系统正常、稳定运行基础上,以系统温度差别10摄氏度为一个间隔,在每个温度间隔内保存一个delay寄存器的值;S2:将步骤S1获得的多个delay寄存器的值存储在eMMC中;S3:系统启动时,先读取当前系统温度,再读取存储在eMMC中对应温度的delay寄存器的值;本发明提出的加速eMMC初始化速度的方法预先件各个系统温度下delay寄存器的值存储在eMMC中,当系统启动时,先读取当前系统温度,再读取存储在eMMC中对应温度的delay寄存器的值,无需每次启动系统都重新寻找delay寄存器的值,缩短了系统的启动时间。

Description

一种加速eMMC初始化速度的方法
技术领域
本发明涉及eMMC存储器领域,尤其涉及一种加速eMMC初始化速度的方法。
背景技术
Embedded Multi Media Card(eMMC)是MMC协会订立、主要针对手机或平板电脑等产品的内嵌式存储器标准规格。eMMC Controller通过command线对eMMC device发送命令,并接收eMMC device端通过command线反馈的response信号,在eMMC HS400总线模式下对response信号的采样精度要求较高,有的response信号窗口只有不到1.7ns;协议规定eMMC能够正常工作的环境温度范围为-25℃-85℃,并且温度变化引起的窗口偏移范围在-350ps-1550ps内;response信号窗口会随着温度变化移动,不同温度下采样点可能由于response信号窗口的中央移动到边沿而造成采样出错;当eMMC Controller采样从device端返回response信号采样失败,则其发出的命令无法执行,使整个系统陷入瘫痪状态。
业界为了解决这个问题,一般使用特定的寄存器控制command线的发送command信号和接收response信号的时机,该寄存器一般称为delay寄存器,delay寄存器最大值可设为63,当系统初始化时,先从0开始逐步增加delay寄存器的值,delay寄存器的值每增加1,则response信号延迟60ps接收,当采样点位置不变,增加delay寄存器的值使response信号窗口相对于采样点位移,response信号窗口宽度为2.5ns,delay寄存器的值每增加1会使response信号窗口产生位移64*60ps=3.84ns,所以随着delay寄存器值增加,至少会有一个response信号窗口边沿经过采样点,当采样点在response信号窗口的跳变沿附近,由于保持时间和建立时间不满足采样要求,就会返回错误的response信号,由此可以得到有效的response信号窗口对应的delay寄存器的值;初始化完成后将设置合适的delay寄存器的值使得采样点在有效的response信号窗口内;
但是由于温度会影响硬件性能,随着温度变化相同delay寄存器的值对应的response信号窗口会整体偏移,一般随着温度的升高response信号窗口会向左偏移,例如在0℃时delay寄存器为32时,采样点在response信号窗口中央,当温度达到60℃时,采样点位于response信号窗口的右侧边沿,此时很容易发生采样报错的情况,如果出现采样报错,则将delay寄存器的值3个单位再重发命令,直到成功为止;
以上的业界的解决方案存在两个问题:
1.同一平台在相同温度下,delay寄存器的值基本相同,但目前每次系统启动时都需要重新寻找delay寄存器的值,平均需要消耗400ms,延长了系统启动时间;
2.没有充分考虑到温度对delay寄存器的值的影响,出错后(即出现采样报错)统一调整delay寄存器的值3个单位忽略了平台的个体差异,使系统稳定性降低。
发明内容
为了解决上述问题,本发明提出一种加速eMMC初始化速度的方法。
本发明通过以下技术方案实现的:
本发明提出一种加速eMMC初始化速度的方法,所述加速eMMC初始化速度的方法包括如下步骤:
S1:在系统正常、稳定运行基础上,以系统温度差别10摄氏度为一个间隔,在每个温度间隔内保存一个delay寄存器的值;
S2:将步骤S1获得的多个delay寄存器的值存储在eMMC中;
S3:系统启动时,先读取当前系统温度,再读取存储在eMMC中对应温度的delay寄存器的值。
本发明的有益效果:
1.本发明提出的加速eMMC初始化速度的方法预先件各个系统温度下delay寄存器的值存储在eMMC中,当系统启动时,先读取当前系统温度,再读取存储在eMMC中对应温度的delay寄存器的值,无需每次启动系统都重新寻找delay寄存器的值,缩短了系统的启动时间。
2.本发明提出的加速eMMC初始化速度的方法预先件各个系统温度下delay寄存器的值存储在eMMC中,当系统的温度发生变化时,根据当前系统温度直接读取存储在eMMC中对应温度的delay寄存器的值,防止由于delay寄存器的值不对造成系统运行出现错误,提高系统的稳定性。
附图说明
图1为本发明的加速eMMC初始化速度的方法的流程示意图。
具体实施方式
为了更加清楚、完整的说明本发明的技术方案,下面结合附图对本发明作进一步说明。
请参考图1,本发明提出一种加速eMMC初始化速度的方法,所述加速eMMC初始化速度的方法包括如下步骤:
S1:在系统正常、稳定运行基础上,以系统温度差别10摄氏度为一个间隔,在每个温度间隔内保存一个delay寄存器的值;
S2:将步骤S1获得的多个delay寄存器的值存储在eMMC中;
S3:系统启动时,先读取当前系统温度,再读取存储在eMMC中对应温度的delay寄存器的值。
在本实施方式中,在步骤S2中,在eMMC的reserved分区物理地址为0x2880000Byte处为保存delay寄存器的值保留了大小为512Byte的空间,delay寄存器的值全部存储在eMMC中;
在相同平台、相同温度下command线的delay寄存器的值基本相同;在步骤S1中:在系统正常、稳定运行基础上,以系统温度差别10摄氏度为一个间隔,在每个温度间隔内保存一个delay寄存器的值,当系统启动时,先读取当前系统温度,再读取存储在eMMC中对应温度的delay寄存器的值,无需每次启动系统都重新寻找delay寄存器的值,从而缩短了系统的启动时间;
在系统正常、稳定运行基础上,以系统温度差别10摄氏度为一个间隔,系统温度覆盖了日常的使用温度范围,在每个温度间隔内保存一个delay寄存器的值,当系统的温度发生变化时,根据当前系统温度直接读取存储在eMMC中对应温度的delay寄存器的值,防止由于delay寄存器的值不对造成系统运行出现错误,提高系统的稳定性。
当然,本发明还可有其它多种实施方式,基于本实施方式,本领域的普通技术人员在没有做出任何创造性劳动的前提下所获得其他实施方式,都属于本发明所保护的范围。

Claims (1)

1.一种加速eMMC初始化速度的方法,其特征在于,所述加速eMMC初始化速度的方法包括如下步骤:
S1:在系统正常、稳定运行基础上,以系统温度差别10摄氏度为一个间隔,在每个温度间隔内保存一个delay寄存器的值;
S2:将步骤S1获得的多个delay寄存器的值存储在eMMC中;
S3:系统启动时,先读取当前系统温度,再读取存储在eMMC中对应温度的delay寄存器的值。
CN201911276610.3A 2019-12-12 2019-12-12 一种加速eMMC初始化速度的方法 Pending CN111176733A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911276610.3A CN111176733A (zh) 2019-12-12 2019-12-12 一种加速eMMC初始化速度的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911276610.3A CN111176733A (zh) 2019-12-12 2019-12-12 一种加速eMMC初始化速度的方法

Publications (1)

Publication Number Publication Date
CN111176733A true CN111176733A (zh) 2020-05-19

Family

ID=70657253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911276610.3A Pending CN111176733A (zh) 2019-12-12 2019-12-12 一种加速eMMC初始化速度的方法

Country Status (1)

Country Link
CN (1) CN111176733A (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567767A (zh) * 2009-05-19 2009-10-28 华为技术有限公司 一种窗口采样控制方法及装置
CN104932305A (zh) * 2015-05-29 2015-09-23 福州瑞芯微电子有限公司 采样延时调整方法及装置
CN107329923A (zh) * 2017-06-26 2017-11-07 努比亚技术有限公司 一种调整总线时序的方法、存储介质和终端
CN109885513A (zh) * 2019-03-22 2019-06-14 晶晨半导体(深圳)有限公司 一种存储系统的延迟控制方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567767A (zh) * 2009-05-19 2009-10-28 华为技术有限公司 一种窗口采样控制方法及装置
CN104932305A (zh) * 2015-05-29 2015-09-23 福州瑞芯微电子有限公司 采样延时调整方法及装置
CN107329923A (zh) * 2017-06-26 2017-11-07 努比亚技术有限公司 一种调整总线时序的方法、存储介质和终端
CN109885513A (zh) * 2019-03-22 2019-06-14 晶晨半导体(深圳)有限公司 一种存储系统的延迟控制方法

Similar Documents

Publication Publication Date Title
US11430494B2 (en) DQS position adjustment method, controller and network device
US7663966B2 (en) Single-clock, strobeless signaling system
US20160299525A1 (en) Memory system with multiple channel interfaces and method of operating same
US9570130B2 (en) Memory system and memory physical layer interface circuit
CN110495100B (zh) 存储接口、时序控制方法及存储系统
US10347347B1 (en) Link training mechanism by controlling delay in data path
JP2007525766A (ja) マルチポートメモリシステムにおける衝突検出
US10545866B1 (en) Method and system for efficient re-determination of a data valid window
US8185760B2 (en) Memory controller device, control method for memory controller device and data reception device
US20230176751A1 (en) Processor, signal adjustment method and computer system
CN115794722B (zh) 一种AXI outstanding接口转换实现方法
CN110768664B (zh) 数据采样方法和装置
US20190065107A1 (en) Memory devices with programmable latencies and methods for operating the same
US10593374B2 (en) Memory module
CN111176733A (zh) 一种加速eMMC初始化速度的方法
CN110764440B (zh) 一种存储器的信号采样方法
US9774319B2 (en) Phase detection circuit
CN109885513B (zh) 一种存储系统的延迟控制方法
US8375238B2 (en) Memory system
US20150370703A1 (en) Method for processing data and electronic device
US20180260345A1 (en) Memory module and memory system including the same
CN109144818B (zh) 获取数据总线接口稳定性余量的方法及系统
CN117370258B (zh) 一种高速i2c总线的多路低速i2c扩展方法及装置
CN109286535B (zh) 获取存储模块内部延时阶梯时间的方法及系统
CN113163197B (zh) 数据传输方法、电路、装置、设备及存储介质

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination