RT1176 SDK v2.12.1 bug: FlexRAM ECC support

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RT1176 SDK v2.12.1 bug: FlexRAM ECC support

跳至解决方案
1,278 次查看
raddeh
Contributor III

Upgrading to SDK v2.12.1 for the RT1176, i've discovered that similar bugs as reported for v2.12.0 in a previous ticket still exist:

  1. In file MIMXRT1176_cm7_features.h line 430: The define FSL_FEATURE_FLEXRAM_HAS_ECC should be set to 1, not 0. The RT1176 FlexRAM does support ECC. Having the define set to 0 does break previous code that uses the ECC support, as the corresponding access functions in fsl_flexram.c won't be compiled..
  2. When fixing 1. (setting FSL_FEATURE_FLEXRAM_HAS_ECC to 1) the compilation of fsl_flexram.c does fail. The defines used in function FLEXRAM_ErrorInjection() do not exist. The function also tries to access a register, that according to the i.MX RT1170 Processor Reference Manual Rev.1 does not exist on that processor.

 

This is a major bug, that was already reported for v2.12.0 of the SDK. The workaround is to set the define FSL_FEATURE_FLEXRAM_HAS_ECC manually to 1 and to remove the function FLEXRAM_ErrorInjection() from fsl_flexram.c.

标记 (2)
0 项奖励
回复
1 解答
1,266 次查看
jay_heng
NXP Employee
NXP Employee

I have created internal ticket for it. It should be fixed in SDK 2.12.2

https://jira.sw.nxp.com/browse/MCUX-54294

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,267 次查看
jay_heng
NXP Employee
NXP Employee

I have created internal ticket for it. It should be fixed in SDK 2.12.2

https://jira.sw.nxp.com/browse/MCUX-54294

0 项奖励
回复
1,146 次查看
raddeh
Contributor III

@jay_heng This bug persists to be present in the latest SDK version 2.13.1

 

  • In file SDK_2_13_1_MIMXRT1170-EVK/devices/MIMXRT1176/MIMXRT1176_cm7_features.h the define FSL_FEATURE_FLEXRAM_HAS_ECC should be 1
  • In File SDK_2_13_1_MIMXRT1170-EVK/devices/MIMXRT1176/drivers/fsl_flexram.c the function FLEXRAM_ErrorInjection() should not exist or should not be compiled for the RT1176
0 项奖励
回复
1,122 次查看
jay_heng
NXP Employee
NXP Employee

Yes, it was not fixed yet, as the ticket is still open

0 项奖励
回复