Program debugging method of embedded system and embedded system
The invention provides a program debugging method of an embedded system and the embedded system, belonging to the field of program debugging. The method comprises the steps that: the CPU (central processing unit) of the embedded system receives a higher-level debugging command from a debugging host...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
12.09.2012
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a program debugging method of an embedded system and the embedded system, belonging to the field of program debugging. The method comprises the steps that: the CPU (central processing unit) of the embedded system receives a higher-level debugging command from a debugging host computer by the communication port of the CUP and converts the higher-level debugging command into a bottom-level debugging command; a testing access port controller stores the data corresponding to the bottom-level debugging command to a register of an embedded real-time on-line circuit simulator in advance; the embedded real-time on-line circuit simulator compares the data stored in the register in advance with the data of the CPU at the time of program real-time operation, and enters the program into a debugging mode when the two data are consistent; and then the CPU carries out protocol conversion on the data generated by the program real-time operation and transmits to the debugging host computer by the commun |
---|---|
Bibliography: | Application Number: CN2012181161 |