ERR050310: CM7 Icache/Dcache are not operational on i.MX8 Nano SoC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ERR050310: CM7 Icache/Dcache are not operational on i.MX8 Nano SoC

1,017件の閲覧回数
jpsk
Contributor II

Hi,

Based on the errata sheet and Ref Manual 4.2.2.2, we must NOT enable the caches on the CM7 core.  If the code size is below 256K, run from TCM.  My questions are:

1. How do I make sure the caches are disabled in CM7 core?

2. Since my code size is bigger than 256K and I have to run the code from DDR, is there any data to show what the performance impact is with the caches DISABLED?

Thanks!

0 件の賞賛
返信
1 返信

1,012件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you can SCB_DisableDCache (void), SCB_DisableICache (void) and SCB_EnableDCache (void), SCB_EnableICache (void) in the CMISI of SDK, pls refer to the link as below:

"https://siliconlabs.github.io/Gecko_SDK_Doc/CMSIS/Core/html/group___dcache__functions__m7.html"

refer to the reference manual, If the I-cache is enabled, there will be a slight performance degradation (based on not cache-enabled), with no other system implications

0 件の賞賛
返信