Diagnosis Methodology For Stt-Mram