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?
Yes, this is a good point from Joey.
"A Flash memory location must be in the erased state before
Have you seen any error in the FSTAT register during writing into the related flash address?