Imprecise Bus Error after Enabling MECC and FlexRAM ECC on RT1176

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Imprecise Bus Error after Enabling MECC and FlexRAM ECC on RT1176

225 Views
AnteoJ
Contributor III

In MCU boot utility i set CFG1 (0x950) to 0x00000001 and 0x840 to 0x00008004 in order to enable MECC and FlexRAM ECC, as well as ROM ECC initialization. After doing this, I can now only run programs via Jlink and MCU Link if the application is linked to ram, otherwise, I see a Imprecise Bus Error. I have set #define ROM_ECC_ENABLE 1 at the top of system_MIMXRT1176_cm7.c

Is there anything obvious I am missing? Do I still need to manually write to all memory regions? How come I only experience problems when booting via the default flash even though I left XECC disabled? (I am using the RT1170 EVKB.)

0 Kudos
Reply
2 Replies

188 Views
Sam_Gao
NXP Employee
NXP Employee

Hi,

Would you please give more details about this question? such as MCUBootutility version, reproduce steps with screenshots or logs.

Note:

 

 

0 Kudos
Reply

213 Views
AnteoJ
Contributor III
After finding https://www.cnblogs.com/henjay724/p/12673731.html , I am wondering if it is possible to boot using just the CM7 core, or if the CM4 core is required to boot, init, then handoff to the CM7 core, as seen here in JayHeng's example?
0 Kudos
Reply