S32K3 FLS Disable Cache

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

S32K3 FLS Disable Cache

946件の閲覧回数
LHY
Contributor I

Dear NXP:

I saw the below statement in the FLS driver:
Synchronize the memory by invalidating the cache after each flash hardware operation.
The FLS driver needs to maintain the memory coherency using three methods:
1. Disable data cache, or
2. Configure the flash region upon which the driver operates, as non-cacheable, or
3. Enable the FlsSynchronizeCache feature.

Depending on the application configuration, one option may be more beneficial.

When I want to Disable the FLS data cache, can I add the following macro definition to the FEE.c file,

LHY_0-1714378310488.png

As for why I Disable Cache, when I execute data flash and init Fls functions during normal operation of the program, a small probability of HardFault will occur, as shown in the following figure.

LHY_1-1714378604022.png

S32K3 

0 件の賞賛
返信
0 返答(返信)