Method for detecting program code operation position and embedded system



The invention discloses a method for detecting program code operation position and an embedded system. The method comprises: operating a program code inserted with a preset output order, wherein, thepreset output order comprises the position information of the preset output order in a program code; when operating to the preset output order, outputting the position information to an external interface, controlling the position information to display the position of the preset output order in the program code on LED on the external interface by the external interface. The method and the systemof the invention can solve the problem that the last position of a running program before system halt can not be obtained after system is halted due to faults in the prior art.




Download Full PDF Version (Non-Commercial Use)

Patent Citations (0)

    Publication numberPublication dateAssigneeTitle

NO-Patent Citations (0)


Cited By (2)

    Publication numberPublication dateAssigneeTitle
    US-8977905-B2March 10, 2015Zte CorporationMethod and system for detecting abnormality of network processor
    WO-2012055303-A1May 03, 2012中兴通讯股份有限公司Method and system for detecting anomaly of network processor