Cypress技术论坛
直播中

邹先莹

7年用户 222经验值
私信 关注
[问答]

STORE启用的次数怎么计算

NVSRAM有一个机制来计算“存储”启用的次数吗?如果没有,有什么方法来计算这个?谢谢,弗兰克

以上来自于百度翻译


     以下为原文
          Does the NVSRAM have a mechanism to count the number of times the "STORE" is enabled? If not, is there any way to count this?   
   
Thanks,   
Frank   

回帖(1)

王建华

2019-1-25 10:48:37
嗨,弗兰克,NVSRAM没有任何功能来计算存储的次数。商店可以以三种方式发起:1。自动存储(当电源关闭时自动存储)-当系统VCC低于Vwitter(名义上为5V部分的4.2V)时,整个SRAM阵列将被安全地存储在EEPROM中,最大值为10毫秒,此时NVSRAM不可用。这个操作在NVSRAM被称为AutoSt店。2。软件商店(用户触发)-在软件商店操作的情况下,存储操作是通过依次读取六个地址的特定序列来启动的,没有对其他位置3的中间访问。硬件存储(用户触发)-如果在读取或写入期间断言NVSRAM中的HSB(硬件存储繁忙)PIN,则将分别启动存储操作。这被称为硬件存储操作。此外,为了节省存储周期,如果在先前的召回操作之后没有发生写入,则不触发硬件存储和AutoStore。因此,为了计数存储到非易失性存储器的数目,可以计算上述三个条件中的任何一个的发生。问候,Pavan

以上来自于百度翻译


     以下为原文
          Hi Frank,   
   
The NVSRAM does not have any function for counting the number of times STORE is done. The STORE can be initiated in three ways:   
   
1. AutoStore (Automatic Store when power goes off) - When system Vcc drops below VSWITCH (nominally 4.2V for 5V parts) the entire SRAM array will be stored safely into EEPROM in a maximum of 10 milliseconds, and the NVSRAM is unavailable to the system at this time. This operation is called an AutoStore in NVSRAM.   
   
2. Software STORE (User triggered) - In case of Software STORE operation, STORE operation is initiated by Reading a specific sequence of six addresses in order, with no intervening access to other locations   
   
3. Hardware STORE (User triggered) - If the HSB# (Hardware Store Busy) pin in NVSRAM is asserted during either Read or Write, a STORE operation will be initiated respectively. This is called a Hardware STORE operation.   
   
Further, to save the number of STORE cycles, Hardware STORE and AutoStore are not triggered if no write has happened after previous RECALL operation. Therefore, in order to count the number of STORES to non-volatile memory, the occurrence of any of the above mentioned three conditions may be counted.   
   
   
Regards,   
Pavan   
举报

更多回帖

发帖
×
20
完善资料,
赚取积分