We are using S12ZVMC128 chip for our motor application.
We are facing a strange issue with the flash getting corrupted. The chip is okay and we do not have any boot loader. We flash the chip using PEMicro multilink programmer.
Further we do not have any FLASH being written to after programming within the application code either.
This is very frustrating because after re-flashing such a chip it works fine, until this issue re occurs. Meaning there is nothing physically wrong with the flash.
Flash is both "Secured" and "Protected" and there is no BackDoor key nor boot loader.
What could cause this issue?