S32K144 Write Flash Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K144 Write Flash Error

984 次查看
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 回复数

922 次查看
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 项奖励
回复

922 次查看
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 项奖励
回复