S32K146 D-flash write error

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

S32K146 D-flash write error

225件の閲覧回数
alex-qiu
Contributor II

Hi NXP Teams,

My customers have had several cases of D-FLASH not writing properly when using K146,FlexNVM is fully configured as D-flash.

By directly calling the library function in EB tresos to implement the write instruction to DFlash, it is found that the returned state is always in Pending mode.

After the D-Flash is completely erased by updating the firmware, the D-Flash recovers and can write data.

What is the cause of D-FLASH in the process of use, suddenly can not write normally.Are there any registers to view D-FLASH exception flags.

Thanks!

 

 

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

176件の閲覧回数
alex-qiu
Contributor II

RTD version is SW32K1_RTD_4.4_1.0.1.

Thanks!

0 件の賞賛
返信

120件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @alex-qiu,

I'm sorry for the delay.

Answer from the RTD team:

"Below is the description of Fee_Write API.

Before we call the function "Fee_Write" call the function "Fee_EraseImmediateBlock"

danielmartynek_0-1714465476729.png

What could be the reason of the pending state?

It is implemented by the code of the Fee module.

For specific details, you can view the code of module.

 

Regards,

Daniel

0 件の賞賛
返信

189件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @alex-qiu,

Please specify the version of the drivers.

 

Thank you,

BR, Daniel

0 件の賞賛
返信