S32K144 Write Flash Error

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

S32K144 Write Flash Error

983件の閲覧回数
ray_deng1
Contributor III

Dears,

I am developing S32K144 Bootloader, and found after updated application, it cannot work when the 2nd time I update the application. It can work normal the 1st time I update the application. And I read out the flash content,found something different in flash same address, please check as below(left is the failure flash content, right is the normal flash content), can you help to advice?

pastedImage_1.png

BRs,

Ray

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

921件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Ray,

Yes, this is a good point from Joey.

"A Flash memory location must be in the erased state before
being programmed."

Have you seen any error in the FSTAT register during writing into the related flash address?

Best regards,

Diana

0 件の賞賛
返信

921件の閲覧回数
Joey_van_Hummel
Contributor IV

Are you clearing/erasing the flash in between? The all-zeroes suggest to me that flash may not have been cleared between runs.

0 件の賞賛
返信