Cypress技术论坛
直播中

张秀云

8年用户 175经验值
私信 关注
[问答]

怎么使用ECC闪存空间来保存用户数据并处理8KB额外闪存

你好,
我想使用ECC闪存空间来保存用户数据并处理8KB额外闪存。要做到这一点,我转到Psoc Creator的系统选项卡,并启用启用错误纠正代码(ECC)的滴答声。
因此,假设现在我有64kb+8kb= 72kb的闪光灯,对吗?
那么,为什么当我编程时,设备出现了绿色字母中的典型信息(下面显示),闪存似乎是64KB而不是72KB?谢谢。
闪存使用:65536字节(3679)中的5.6%个。
SRAM使用:8192个字节中的85个(1%)。

以上来自于百度翻译


     以下为原文
   Hi,
    I want to use the ECC Flash space to save user data and dispose of 8KB extra Flash. To do this, I go to the System tab in Psoc Creator, and dissable the tick of Enable Error Correcting Code (ECC).
    Therefore, It's supposed that now I have 64KB+8KB = 72KB of Flash, am I right?
    Well, why when I program the device appears the typical message in green letters (showed below) and the Flash avaliable seems to be 64KB instead of 72KB? Thanks.
    Flash used: 3679 of 65536 bytes (5.6 %).
     
    SRAM used: 85 of 8192 bytes (1.0 %).

回帖(3)

张秀云

2019-4-16 15:08:36
谢谢你的回应,IIeung。
然后,你的意思是说你可以用功能ofcywriterowconfig存储数据(写入Flash行ECC的部分),例如,但这个数据不能用于程序存储,对吗?所以你仍然拥有64KB的内存程序Flash。

以上来自于百度翻译


     以下为原文
  Thank's for your response IIeung.
    Then, you mean that you can storage data with the functions of CyWriteRowConfig(Writes the ECC portion of a Flash row), for example, but this data can't be used into program memory, right? So you still having 64KB of memory program Flash.
举报

王琳

2019-4-16 15:18:33
我记得看过,ECC可以作为配置数据(只)。没有选择把TEM为ECC(只是一个线下)?
鲍勃

以上来自于百度翻译


     以下为原文
  I remember to have read that the ECC could be used as configuration data (only). Isn't there the choice to put tem into ECC (just one line below)?
     
    Bob
举报

郭雨桐

2019-4-16 15:26:13
你的评论完全正确。在程序空间中获得64K的Flash。另一个8K的闪存要么用作ECC,要么用来存储配置数据。由于种种原因,你没有自由使用它作为正常闪光。

以上来自于百度翻译


     以下为原文
  All your comments are absolutely right. You get 64K of Flash in the program space. The other 8K of Flash is either used as ECC or is used to store configuration data. You do not have the liberty to use it as normal Flash due to various reasons.
举报

更多回帖

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