NVM Corruption mentioned as below

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

NVM Corruption mentioned as below

1,225件の閲覧回数
abdul_rahiman_csg
Contributor II

We are observing NVM corruption in one of the Hardware parts during vehicle operation. Could you please help us understand why this is occurring

abdul_rahiman_csg_0-1751623634143.png

 

 

タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,129件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @abdul_rahiman_csg 

0x1000_0000 - 0x1001_FFFF is data flash memory. Most likely, your application programs double words (i.e. 64bit word) which is not in fully erased state. But this is not allowed:

lukaszadrapa_0-1751974313919.png

If you need to update a double word which is not fully erased, it's necessary to erase whole sector and then program previous data back to that sector. 

Regards,

Lukas

 

0 件の賞賛
返信

1,112件の閲覧回数
abdul_rahiman_csg
Contributor II

Thank you for your response.
Based on our understanding, what you mentioned is correct in the case of direct access to Data Flash memory. However, in our case, we are using Data Flash as NVM, and the FEE module handles erase and write operations using a wear-leveling technique.

We are trying to understand the cause of the memory corruption issue mentioned earlier. To reproduce the problem, we have been continuously writing data into NVM, but so far we have not been able to reproduce the issue.
May be you can correct me if i'm wrong

タグ(1)
0 件の賞賛
返信

1,094件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

If Fee is used, Fee and underneath modules are supposed to recover from brownout. It's described in "Managing Cluster and Block Consistency" section in Fee user manual. What response do you get from FeeInit function? What is the NumberOfSwap (you can get that using Fee_GetRunTimeInfo)? Isn't that caused by wear-out?

0 件の賞賛
返信