S32K146 D-flash write error

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

S32K146 D-flash write error

223 Views
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 Kudos
Reply
3 Replies

174 Views
alex-qiu
Contributor II

RTD version is SW32K1_RTD_4.4_1.0.1.

Thanks!

0 Kudos
Reply

118 Views
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 Kudos
Reply

187 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @alex-qiu,

Please specify the version of the drivers.

 

Thank you,

BR, Daniel

0 Kudos
Reply