完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
大家好,
我正在使用SPC560B54L5板和SPC studio V5.2.1。 我想为RAM和闪存区启用ECC来检查内存损坏。我在ECR寄存器中启用了1位和2位ECC的相应位,但是我无法启用相应的中断回调函数。我提到了SPC560Bxx_RLA测试应用程序,以及'@如何在SPC MCU中找到内存(FLASH)损坏问题?'(来自社区)。但我无法调用相应的中断回调。 请指导我为Flash和RAM启用ECC中断。请分享示例测试应用程序,以启用闪存和RAM内存的ECC。 提前致谢, 问候, R.Santhamurthy #spc5#spc5studio 以上来自于谷歌翻译 以下为原文 Hello All, I am using SPC560B54L5 board along with SPC studio V5.2.1. I want to enable ECC for RAM and Flash memory area for checking the memory corruption. I enabled the corresponding bits for 1-bit and 2-bit ECC in ECR register but I am unable to enable the corresponding interrupt callback function. I referred to the SPC560Bxx_RLA Test application, and '@How to Find the memory(FLASH) corruption issues in SPC MCUs?'.(from community). But I am unable to call the corresponding interrupt callbacks. Kindly guide me in enabling the ECC interrupts for Flash and RAM. Please share the example test application for enabling ECC for flash and RAM memory. Thanks in Advance, Regards, R.Santhamurthy #spc5 #spc5studio |
|
相关推荐
1个回答
|
|
|
你好 ,
我们在ECC上没有一些示例应用程序。 我们有一个更改请求,要求在应用程序向导中集成ECC测试示例 你可以去ECSM章节(第36章) 我认为你应该使用vetcor35,vector36 配置ECSM并启用中断后, 您可以使用 ECC错误生成寄存器(EEGR) ECC错误生成寄存器是一个16位控制寄存器,用于强制生成 ECC存储器中的单位和双位数据反转,最值得注意的是SRAM。 此功能有两个用途: ?它提供了一个用于?注入的软件控制机制?错误进入记忆 在数据写入期间验证ECC逻辑的完整性。 ?它提供了一种机制,允许测试相关的软件服务程序 记录错误记录。最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello , we have not some examples applications on ECC. we have a change request to integrate ECC test example on the application wizard you can go to the ECSM chapter (chapter 36) i think that you should use vetcor35,vector36 After configuring your ECSM and enable the interrupts, you can use ECC Error Generation Register (EEGR) The ECC Error Generation Register is a 16-bit control register used to force the generation of single- and double-bit data inversions in the memories with ECC, most notably the SRAM. This capability is provided for two purposes: ? It provides a software-controlled mechanism for ?injecting? errors into the memories during data writes to verify the integrity of the ECC logic. ? It provides a mechanism to allow testing of the software service routines associated with memory error logging. Best regards Erwan |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1476 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1531 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3678 浏览 1 评论
3871 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2485 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
757浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
688浏览 5评论
732浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
986浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
788浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-17 20:51 , Processed in 0.633591 second(s), Total 44, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3040