打印
[STM32H7]

ST32H743的内部RAM是否均有ECC?

[复制链接]
501|8
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
zchong|  楼主 | 2021-2-10 16:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
看技术手册关于RAM的ECC讲的也比较少,但似乎也没提只是部分RAM有ECC。但是AN5342里明确指出来了,STM32H7x3是只有紧耦合RAM和CACHE才有ECC的,谁能确认一下到底是什么情况?

使用特权

评论回复
沙发
zchong|  楼主 | 2021-2-25 07:33 | 只看该作者
都不了解吗?@香水城  老哥在吗?

使用特权

评论回复
板凳
香水城| | 2021-2-25 23:28 | 只看该作者
it's described in H7 reference manual as below:

Error code correction (ECC)
Over the product lifetime, and/or due to external events such as radiations, invalid bits in
memories may occur. They can be detected and corrected by ECC. This is an expected
behavior that has to be managed at final-application software level in order to ensure data
integrity through ECC algorithms implementation.
SRAM data are protected by ECC:
• 7 ECC bits are added per 32-bit word.
• 8 ECC bits are added per 64-bit word for AXI-SRAM and ITCM-RAM.
The ECC mechanism is based on the SECDED algorithm. It supports single-error correction
and double-error detection.

使用特权

评论回复
地板
zchong|  楼主 | 2021-2-26 07:39 | 只看该作者
香水城 发表于 2021-2-25 23:28
it's described in H7 reference manual as below:

Error code correction (ECC)

看最新版本手册,字里行间的意思是RAM都有ECC。

使用特权

评论回复
5
keaibukelian| | 2021-3-2 23:45 | 只看该作者
ecc代表什么的啊

使用特权

评论回复
6
wakayi| | 2021-3-2 23:46 | 只看该作者
还没有用过这个系列的呢

使用特权

评论回复
7
labasi| | 2021-3-2 23:48 | 只看该作者
新版本手册 好像是说有的

使用特权

评论回复
8
paotangsan| | 2021-3-2 23:49 | 只看该作者
它的作用是什么啊

使用特权

评论回复
9
zchong|  楼主 | 2021-5-5 07:31 | 只看该作者
paotangsan 发表于 2021-3-2 23:49
它的作用是什么啊

内存或者flash有概率发生位翻转,有了ECC之后,某些宽度范围内的数据发生1bit翻转可以纠正过来,发生2bit可以提示告警,软件进一步处理。是提高程序安全性的一种硬件实现方法。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

50

主题

1716

帖子

4

粉丝