Micro-control unit memory detection method and related device

The embodiment of the invention discloses a micro-control unit memory detection method and a related device, state switching of binary bits of each memory unit of a micro-control unit can be realized,and a test result is more accurate. The method provided by the embodiment of the invention comprises...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUANG SIYOU, LIU SHANGLIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a micro-control unit memory detection method and a related device, state switching of binary bits of each memory unit of a micro-control unit can be realized,and a test result is more accurate. The method provided by the embodiment of the invention comprises the steps that the device comprises a processor, determining a first memory unit in the memory ofthe micro-control unit, writing first data into the first memory unit, reading first write-in data of the first memory unit, judging whether the first write-in data is first data or not; if the firstwrite-in data is the first data; if yes, writing second data into the first memory unit, the second data and the first data are complementary random numbers; reading second write-in data of the firstmemory unit, whether the second write-in data is second data or not is judged, if the second write-in data is the second data, it is determined that the first memory unit is normal, if the second write-in data is not the second