Flash memory built-in self-diagnosis with test mode control | IEEE Conference Publication | IEEE Xplore