Explanation of anomalous erase behaviour and the associated device instability in TANOS Flash using a new trap characterization technique