The invention relates to the technical field of microprocessors, and discloses a safety debugging method of an embedded
microprocessor and the embedded
microprocessor, the method comprises the following steps: implanting a random module in the
microprocessor, constructing a resistance network array through random distribution of
silicon substrate
lattice defects to generate a disordered sequence, and if microprocessor
data access is carried out, starting the random module; if physical intrusion is detected, a debugging session is established, three types of physical characteristics are synchronously generated to construct a composite key, a triple dynamic
confusion layer is constructed in the microprocessor, the dynamic
confusion layer and the composite key construct physical logic linkage protection, a probe access instruction logic address is called, if physical intrusion is detected, a probe triggers an invisible
check point, and the probe accesses the invisible
check point. The integrity of an execution environment is verified, if abnormal debugging is detected, a hardware defense mechanism is triggered, an access
attack model is established,
confusion parameters are trained and optimized, and a module
interconnection mode is changed, so that the learning cycle of an attacker is broken, and the risk of attacking a processor in a
machine learning mode is reduced.