2018-08-20 01:30 AM
2018-08-20 04:31 AM
Supposing this is a custom design, the wrong pins were used or other pins used by the system loader see transitions.
Failure during write/erase, would look at power supply issues, bulk capacitance, and VCAP.
Try to formulate questions properly.