S32K144 Write Flash Error

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K144 Write Flash Error

110 Views
Contributor II

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

Tags (2)
0 Kudos
2 Replies

48 Views
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 Kudos

48 Views
Contributor III

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

0 Kudos